######################################################
# Federal Republic of Germany Focus Tree
# Made by John Titor, IAMVERYLUCKY, and PrivateHazard
# Contributed to by Threepointone and Littlebuddy
######################################################
### search_filters = {FOCUS_FILTER_NATO_LEADERSHIP}
### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_INTERNATIONAL_TRADE}
### search_filters = {FOCUS_FILTER_ARMY_XP}
### search_filters = {FOCUS_FILTER_NAVY_XP}
### search_filters = {FOCUS_FILTER_AIR_XP}
### search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER}
### search_filters = {FOCUS_FILTER_MILITARY_CHARACTER}
### search_filters = {FOCUS_FILTER_INTERNAL_AFFAIRS}
### search_filters = {FOCUS_FILTER_PROPAGANDA}
### search_filters = {FOCUS_FILTER_BALANCE_OF_POWER}
### search_filters = {FOCUS_FILTER_USA_CONGRESS}
focus_tree = {
	id = HUN_tree_initial
	country = {
		factor = 0
		modifier = {
			add = 30
			original_tag = HUN
		}
	}
	#Politics
	focus = {
		id = HUN_state_parliament
		icon = GFX_focus_HUN_state_of_the_parliament
		x = 0
		y = 0
		cost = 5
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_political_power = 150
			
		}
	}
	focus = {
		id = HUN_covid_i
		icon = GFX_focus_HUN_enforce_lockdowns
		relative_position_id = HUN_state_parliament
		x = -0
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_state_parliament
		}
		ai_will_do = {
			base = 75
		}
		available = {
			has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			swap_ideas = {
				add_idea = HUN_Corona_Virus_slight
				remove_idea = HUN_Corona_Virus
			}
		}
	}
	focus = {
		id = HUN_covid_ii
		icon = GFX_focus_HUN_enforce_mask_usage
		relative_position_id = HUN_covid_i
		x = 1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_covid_i
		}
		ai_will_do = {
			base = 55
		}
		available = {
		}
		completion_reward = {
			IF = {
				limit = { has_idea = HUN_Corona_Virus_slight } 
				swap_ideas = {
					add_idea = HUN_Corona_Virus_slightly
					remove_idea = HUN_Corona_Virus_slight
				}
			}
			ELSE = {
				limit = { has_idea = HUN_Corona_Virus_slightly } 
				swap_ideas = {
					add_idea = HUN_Corona_Virus_weaker
					remove_idea = HUN_Corona_Virus_slightly
				}
			}
		}
	}
	focus = {
		id = HUN_Construct_Temporary_Hospitals
		icon = GFX_focus_HUN_construct_temporary_hospitals
		relative_position_id = HUN_covid_i
		x = -1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_covid_i
		}
		ai_will_do = {
			base = 55
		}
		available = {
		}
		completion_reward = {
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.05
			}
			add_industrial_development = yes
			
			IF = {
				limit = { has_idea = HUN_Corona_Virus_slight } 
				swap_ideas = {
					add_idea = HUN_Corona_Virus_slightly
					remove_idea = HUN_Corona_Virus_slight
				}
			}
			ELSE = {
				limit = { has_idea = HUN_Corona_Virus_slightly } 
				swap_ideas = {
					add_idea = HUN_Corona_Virus_weaker
					remove_idea = HUN_Corona_Virus_slightly
				}
			}
		}
	}
	focus = {
		id = HUN_Buy_the_Vaccine
		icon = GFX_focus_HUN_purchase_vaccine_package
		relative_position_id = HUN_Construct_Temporary_Hospitals
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_Construct_Temporary_Hospitals
		}
		prerequisite = {
			focus = HUN_covid_ii
		}
		ai_will_do = {
			base = 60
		}
		available = {
			has_global_flag = vaccine_released
		}
		completion_reward = {
			swap_ideas = {
				add_idea = HUN_Corona_Virus_weaker_2
				remove_idea = HUN_Corona_Virus_weaker
			}
			hidden_effect = { 
				country_event = {
					id = Hungary.19
					days = 140
				}
			}
		}
	}
	focus = {
		id = HUN_reopen_the_borders
		icon = GFX_focus_HUN_borders
		relative_position_id = HUN_Buy_the_Vaccine
		x = 0
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_Buy_the_Vaccine
		}
		ai_will_do = {
			base = 60
		}
		available = {
			has_global_flag = HUN_covid_has_been_stabilised
		}
		completion_reward = {
			IF = {
				limit = { date < 2022.1.1 }
				swap_ideas = {
					add_idea = HUN_Legacy_of_Corona_Success
					remove_idea = HUN_Corona_Virus_weaker_2
				}
			}
			IF = {
				limit = { date > 2022.1.1 }
				swap_ideas = {
					add_idea = HUN_Legacy_of_Corona_Failure
					remove_idea = HUN_Corona_Virus_weaker_2
				}
			}
		}
	}
	focus = {
		id = HUN_opposition
		icon = GFX_focus_HUN_the_opposition
		relative_position_id = HUN_state_parliament
		x = -7
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_state_parliament
		}
		ai_will_do = {
			base = 50
		}
		available = {
		}
		completion_reward = {
			add_stability = 0.03
			
			add_popularity = { ideology = conservative popularity = 0.01 }
			
			add_popularity = { ideology = market_liberal popularity = 0.01 }
			
			add_popularity = { ideology = social_liberal popularity = 0.01 }
			
			add_popularity = { ideology = social_democrat popularity = 0.01 }
		}
	}
	focus = {
		id = HUN_elte
		icon = GFX_focus_HUN_expand_elte
		relative_position_id = HUN_opposition
		x = 0
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_opposition
		}
		ai_will_do = {
			base = 50
		}
		available = {
		}
		completion_reward = {
			add_research_slot = 1
			
			
		}
	}
	focus = {
		id = HUN_gov_corrupt
		icon = GFX_focus_HUN_criticise_government_corruption
		relative_position_id = HUN_opposition
		x = 3
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_opposition
		}
		ai_will_do = {
			base = 50
		}
		available = {
		}
		completion_reward = {
			add_popularity = { ideology = authoritarian_democrat popularity = -0.05 }
			
			
		}
	}
	focus = {
		id = HUN_green_politics
		icon = GFX_focus_HUN_green_politics
		relative_position_id = HUN_opposition
		x = -3
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_opposition
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.05
			}
			add_industrial_development = yes
			add_popularity = { ideology = social_liberal popularity = 0.03 }
			
			
		}
	}
	focus = {
		id = HUN_green_solution
		icon = GFX_focus_HUN_the_green_solution
		relative_position_id = HUN_green_politics
		x = 0
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_green_politics
		}
		ai_will_do = {
			base = 30
		}
		available = {
		}
		completion_reward = {
			add_popularity = { ideology = social_liberal popularity = 0.025 }
			add_ideas = HUN_green_solution
			
		}
	}
	focus = {
		id = HUN_develop_rakosrendezo
		icon = GFX_focus_USA_hearts_of_industry
		relative_position_id = HUN_green_solution
		x = 0
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_green_solution
		}
		ai_will_do = {
			base = 30
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = Hun_parbeszed_ruling
				has_government = social_liberal
				has_country_leader = { ruling_only = no name = "Gergely Karácsony" }
			}
		}
		allow_branch = {
			has_country_flag = karigeri_mszp_p
		}
		completion_reward = {
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.15
			}
			add_industrial_development = yes
			random_owned_controlled_state = {
				prioritize = {
					854
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
			
		}
	}
	focus = {
		id = HUN_fuel_alt
		text = GER_fuel_alternative_future
		icon = GFX_focus_GER_fuel_alternative_future
		relative_position_id = HUN_develop_rakosrendezo
		x = -1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_develop_rakosrendezo
		}
		ai_will_do = {
			base = 30
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = Hun_parbeszed_ruling
				has_government = social_liberal
				has_country_leader = { ruling_only = no name = "Gergely Karácsony" }
			}
		}
		completion_reward = {
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.1
			}
			add_industrial_development = yes
			increase_industry = yes
			
			
		}
	}
	focus = {
		id = HUN_agriculture_modernisation
		icon = GFX_focus_GER_Common_Agroculture_Policy
		relative_position_id = HUN_develop_rakosrendezo
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_develop_rakosrendezo
		}
		ai_will_do = {
			base = 30
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = Hun_parbeszed_ruling
				has_government = social_liberal
				has_country_leader = { ruling_only = no name = "Gergely Karácsony" }
			}
		}
		completion_reward = {
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.05
			}
			add_industrial_development = yes
			increase_farming = yes
			
			
		}
	}
	focus = {
		id = HUN_green_hungary
		icon = GFX_focus_HUN_zold2
		relative_position_id = HUN_fuel_alt
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_fuel_alt
		}
		prerequisite = {
			focus = HUN_agriculture_modernisation
		}
		ai_will_do = {
			base = 30
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = Hun_parbeszed_ruling
				has_government = social_liberal
				has_country_leader = { ruling_only = no name = "Gergely Karácsony" }
			}
		}
		completion_reward = {
			add_political_power = 150
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.05
			}
			add_industrial_development = yes
			
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.05
			}
			add_society_development = yes
			
			
			set_temp_variable = {
				var = academic_development_var_temp
				value = 0.05
			}
			add_academic_development = yes
			
			
			
		}
	}
	focus = {
		id = HUN_small_business
		icon = GFX_focus_HUN_focus_on_small_businesses
		relative_position_id = HUN_gov_corrupt
		x = -1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_gov_corrupt
		}
		ai_will_do = {
			base = 20
		}
		available = {
		}
		completion_reward = {
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.1
			}
			add_industrial_development = yes
			set_temp_variable = {
				var = income_var_temp
				value = -25
			}
			add_income_with_inflation = yes
			random_owned_controlled_state = {
				prioritize = {
					888
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = HUN_criticise_the_gov
		icon = GFX_focus_HUN_anti_fidesz_campaign
		relative_position_id = HUN_gov_corrupt
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_gov_corrupt
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_stability = 0.01
			add_popularity = { ideology = authoritarian_democrat popularity = -0.05 }
		}
	}
	focus = {
		id = HUN_united_for_hungary
		icon = GFX_focus_HUN_united_for_hungary
		relative_position_id = HUN_criticise_the_gov
		x = -4
		y = 3
		cost = 5
		prerequisite = {
			focus = HUN_criticise_the_gov
			focus = HUN_small_business
			focus = HUN_green_solution
		}
		ai_will_do = {
			base = 40
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = Hun_unitedforhungarycheck
				or = {
					has_country_flag = HUN_Ind_Opp_flag
					has_country_flag = HUN_Soc_Lib_flag
					has_country_flag = HUN_Soc_Labour_flag
					has_country_flag = HUN_Jobbik_flag
					has_country_flag = HUN_Momentum_flag
				}
			}
		}
		completion_reward = {
			add_stability = 0.025
			add_popularity = { ideology = social_democrat popularity = 0.01 }
			add_popularity = { ideology = social_liberal popularity = 0.01 }
			add_popularity = { ideology = conservative popularity = 0.01 }
			add_popularity = { ideology = market_liberal popularity = 0.01 }
		}
	}
	focus = {
		id = HUN_prep_election
		icon = GFX_focus_HUN_prepare_for_the_elections
		relative_position_id = HUN_strenghten_orban
		x = -7
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_united_for_hungary
			focus = HUN_strenghten_orban
		}
		ai_will_do = {
			base = 40
		}
		available = {
			date > 2022.1.1
		}
		completion_reward = {
			add_political_power = 120
			
		}
	}
	
	focus = {
		id = HUN_government
		icon = GFX_focus_HUN_the_government
		relative_position_id = HUN_state_parliament
		x = 7
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_state_parliament
		}
		ai_will_do = {
			base = 15
		}
		available = {
		}
		search_filters = {
		}
		completion_reward = {
			add_political_power = 50
		}
	}
	focus = {
		id = HUN_radicalisation
		icon = GFX_focus_HUN_continue_the_radicalisation
		relative_position_id = HUN_government
		x = 0
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_government
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 50
		}
		available = {
		}
		completion_reward = {
			add_stability = -0.01
			
			add_popularity = { ideology = authoritarian_democrat popularity = 0.05 }
			
		}
	}
	focus = {
		id = HUN_Trump_of_the_Balkans
		icon = GFX_focus_HUN_trump_of_the_balkans
		relative_position_id = HUN_radicalisation
		x = 3
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_radicalisation
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 50
		}
		available = {
			
			has_country_leader = { ruling_only = no character = HUN_Viktor_Orban_char } 
		}
		completion_reward = {
			add_war_support = 0.05
			add_stability = -0.05
			add_popularity = { ideology = authoritarian_democrat popularity = 0.05 }
		}
	}
	focus = {
		id = HUN_Emulate_Putinist_Policies
		icon = GFX_focus_HUN_emulate_putinist_policies
		relative_position_id = HUN_Trump_of_the_Balkans
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_Trump_of_the_Balkans
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 33
		}
		available = {
			
		}
		completion_reward = {
			add_stability = -0.025
			add_popularity = { ideology = authoritarian_democrat popularity = 0.02 }
			
		}
	}
	focus = {
		id = HUN_The_Visegrad_Project
		icon = GFX_focus_HUN_Loyalty_to_Visegrad
		relative_position_id = HUN_Trump_of_the_Balkans
		x = -1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_Trump_of_the_Balkans
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 50
			GER = {
				set_temp_variable = {
					var = eu_visregard_sepratism_var_temp
					value = 0.1
				}
				GER_add_eu_visregard_sepratism = yes
			}
			
		}
	}
	focus = {
		id = HUN_Boast_Visegrad_Unity
		icon = GFX_focus_HUN_Visegrad_2020
		relative_position_id = HUN_The_Visegrad_Project
		x = -0
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_The_Visegrad_Project
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 20
		}
		available = {
			
		}
		completion_reward = {
			GER = {
				set_temp_variable = {
					var = eu_visregard_sepratism_var_temp
					value = 0.05
				}
				GER_add_eu_visregard_sepratism = yes
			}
			
			set_temp_variable = {
				var = debt_var_temp
				value = -25
			}
			add_debt = yes
		}
	}
	focus = {
		id = HUN_Fund_Nationalist_Diaspora_Movements
		icon = GFX_focus_HUN_fund_Nationalist_Diaspora
		relative_position_id = HUN_Emulate_Putinist_Policies
		x = -0
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_Emulate_Putinist_Policies
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 1
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = income_var_temp
				value = -15
			}
			add_income_with_inflation = yes
			
			ROM = { add_ideas = HUN_hungarian_minority }
			SLO = { add_ideas = HUN_hungarian_minority }
			SER = { add_ideas = HUN_hungarian_minority }
		}
	}
	focus = {
		id = HUN_denounce_left
		icon = GFX_focus_HUN_denounce_the_left
		relative_position_id = HUN_radicalisation
		x = -3
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_radicalisation
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 45
		}
		available = {
			
		}
		completion_reward = {
			
			add_popularity = { ideology = social_democrat popularity = -0.02 }
			add_popularity = { ideology = social_liberal popularity = -0.02 }
		}
	}
	focus = {
		id = HUN_corruption
		icon = GFX_focus_HUN_government_corruption
		relative_position_id = HUN_denounce_left
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_denounce_left
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 50
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = income_var_temp
				value = 50
			}
			add_income_with_inflation = yes
			add_stability = -0.015
		}
	}
	focus = {
		id = HUN_censorship
		icon = GFX_focus_HUN_censorship
		relative_position_id = HUN_denounce_left
		x = -1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_denounce_left
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 50
		}
		available = {
			
		}
		completion_reward = {
			add_popularity = { ideology = authoritarian_democrat popularity = 0.05 }
		}
	}
	focus = {
		id = HUN_control_newspaper
		icon = GFX_focus_HUN_control_newspapers
		relative_position_id = HUN_censorship
		x = -1
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_censorship
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 50
		}
		available = {
			
		}
		completion_reward = {
			
			add_popularity = { ideology = authoritarian_democrat popularity = 0.02 }
			add_popularity = { ideology = social_democrat popularity = -0.005 }
			add_popularity = { ideology = social_liberal popularity = -0.005 }
		}
	}
	focus = {
		id = HUN_Increase_River_Tariffs
		icon = GFX_focus_HUN_increase_river_tariffs
		relative_position_id = HUN_censorship
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_censorship
			focus = HUN_corruption
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 50
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = medium_taxes
			set_temp_variable = {
				var = income_var_temp
				value = 35
			}
			add_income_with_inflation = yes
			add_stability = -0.005
		}
	}
	focus = {
		id = HUN_industry_1
		icon = GFX_focus_HUN_national_economic_development_plan
		relative_position_id = HUN_corruption
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_corruption
		}
		prerequisite = {
		}
		ai_will_do = {
			base = 50
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = income_var_temp
				value = -25
			}
			add_income_with_inflation = yes
			random_owned_controlled_state = {
				prioritize = {
					888
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				increase_state_category = yes
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = HUN_strenghten_orban
		icon = GFX_focus_HUN_strengthen_orbans_rule
		relative_position_id = HUN_industry_1
		x = 1
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_industry_1
			focus = HUN_Increase_River_Tariffs
			focus = HUN_control_newspaper
			focus = HUN_Boast_Visegrad_Unity
			focus = HUN_Fund_Nationalist_Diaspora_Movements
		}
		ai_will_do = {
			base = 60
		}
		available = {
		}
		completion_reward = {
			add_stability = 0.05
			add_popularity = { ideology = authoritarian_democrat popularity = 0.1 }
		}
	}
	
###### FIDESZ-KDNP
	
	focus = {
		id = HUN_fifth_orban_gov
		icon = GFX_focus_HUN_the_fifth_orban_government
		relative_position_id = HUN_prep_election
		x = -0
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_prep_election
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}

		allow_branch = {
			has_country_flag = FIDESZWIN2022
		}
		completion_reward = {
			add_political_power = 150
			add_popularity = { ideology = authoritarian_democrat popularity = 0.05 }
			
			#hidden_effect = { country_event = { id = Hungary.20 days = 650 } }
			hidden_effect = { add_stability = -0.1 }
			
		}
	}
	
	focus = {
		id = HUN_trump_focus
		text = HUN_Recognize_Trump_Legitimacy
		icon = GFX_focus_HUN_recognize_the_true_president
		relative_position_id = HUN_fifth_orban_gov
		x = -0
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_fifth_orban_gov
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 25
			every_country = {
				limit = { has_country_leader = { ruling_only = yes character = USA_donald_trump_char } }
				reverse_add_opinion_modifier = { target = PREV modifier = recognition }
			}
		}
	}
	
	focus = {
		id = HUN_Send_Aid_to_America
		icon = GFX_focus_HUN_send_aid_to_america
		relative_position_id = HUN_trump_focus
		x = -0
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_trump_focus
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			
			set_temp_variable = {
				var = debt_var_temp
				value = 25
			}
			add_debt = yes
			every_country = {
				limit = { has_country_leader = { ruling_only = yes character = USA_donald_trump_char } }
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 1000
					producer = HUN
				}
			}
		}
	}
	
	focus = {
		id = HUN_oligarchs_focus
		text = HUN_Fill_the_Pockets_of_Oligarchs
		icon = GFX_focus_HUN_encourage_backroom_deals
		relative_position_id = HUN_fifth_orban_gov
		x = -3
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_fifth_orban_gov
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = debt_var_temp
				value = 30
			}
			add_debt = yes
			random_owned_controlled_state = {
				prioritize = {
					#854
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = HUN_border
		text = HUN_Tighten_Border_Regulations
		icon = GFX_focus_HUN_strangle_the_migrant_problems
		relative_position_id = HUN_oligarchs_focus
		x = -1
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_oligarchs_focus
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = low_immigration
		}
	}
	
	focus = {
		id = HUN_oligarch_2
		text = HUN_Attract_Russian_Oligarchs
		icon = GFX_focus_HUN_attract_russian_oligarchs
		relative_position_id = HUN_oligarchs_focus
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_oligarchs_focus
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = debt_var_temp
				value = 30
			}
			add_debt = yes
			add_ideas = HUN_Russian_Funding
			random_owned_controlled_state = {
				prioritize = {
					#854
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = HUN_Attack_Global_Elites
		icon = GFX_focus_HUN_attack_the_global_elites
		relative_position_id = HUN_oligarch_2
		x = 1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_oligarch_2
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			
			set_temp_variable = {
				var = academic_development_var_temp
				value = 0.1
			}
			add_academic_development = yes
			add_ideas = medium_trade
		}
	}
	
	
	
	focus = {
		id = HUN_family_friendly
		icon = GFX_focus_HUN_the_protectors_of_christian_families
		relative_position_id = HUN_border
		x = -1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_border
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = HUN_family_friendly
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.05
			}
			add_society_development = yes
		}
	}
	
	focus = {
		id = HUN_church_i
		text = HUN_Renovate_Local_Cathedrals
		icon = GFX_focus_HUN_renovate_local_cathedrals
		relative_position_id = HUN_border
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_oligarch_2
		}
		prerequisite = {
			focus = HUN_border
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_popularity = { ideology = authoritarian_democrat popularity = 0.015 }
			add_stability = 0.05
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.05
			}
			add_society_development = yes
		}
	}
	
	focus = {
		id = HUN_church_ii
		text = HUN_Redesignate_Catholic_Churches
		icon = GFX_focus_HUN_redesignate_catholic_churches
		relative_position_id = HUN_church_i
		x = 1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_church_i
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_Redesignate_Catholic_Churches days = 690 }
			
			
			set_temp_variable = {
				var = academic_development_var_temp
				value = 0.05
			}
			add_academic_development = yes
		}
	}
	
	focus = {
		id = HUN_church_iii
		text = HUN_Appeal_to_Christian_Fundamentalists_Worldwide
		icon = GFX_focus_HUN_promote_christian_values
		relative_position_id = HUN_church_i
		x = -1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_church_i
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.05
			}
			add_society_development = yes
		}
	}
	
	focus = {
		id = HUN_fidesz_authority
		icon = GFX_focus_HUN_strengthen_executive_authority
		relative_position_id = HUN_fifth_orban_gov
		x = 3
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_fifth_orban_gov
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_popularity = { ideology = authoritarian_democrat popularity = 0.015 }
			swap_ideas = {
				add_idea = HUN_Orbans_Playground
				remove_idea = HUN_faux_democracy
			}
		}
	}
	
	focus = {
		id = HUN_Obliterate_Foreign_Influence
		icon = GFX_focus_HUN_obliterate_foreign_influence
		relative_position_id = HUN_fidesz_authority
		x = -1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_fidesz_authority
		}
		mutually_exclusive = {
			focus = HUN_Prepare_for_Russian_Alignment
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 100
			add_stability = 0.25
		}
	}
	
	focus = {
		id = HUN_Prepare_for_Russian_Alignment
		icon = GFX_focus_HUN_prepare_for_russian_alignment
		relative_position_id = HUN_fidesz_authority
		x = 1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_fidesz_authority
		}
		mutually_exclusive = {
			focus = HUN_Obliterate_Foreign_Influence
		}
		ai_will_do = {
			base = 6
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 100
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			leave_faction = yes
			
			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = HUN_Request_CSTO_Observer_Membership
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = { 
					SOV = {
						OR = { 
							has_government = communist
							has_government = totalitarian_socialist
						}
					}
				}
				add_timed_idea = { idea = HUN_CPRF_Influence days = 730 }
			}
			IF = {
				limit = { 
					SOV = {
						OR = { 
							has_government = authoritarian_democrat
							has_government = conservative
						}
					}
				}
				add_timed_idea = { idea = HUN_Medvedev_Influence days = 730 }
			}
			IF = {
				limit = { 
					SOV = {
						OR = { 
							has_government = fascist
							has_government = nationalist
						}
					}
				}
				add_idea = HUN_LDPR_Influence
			}
		}
	}
		
		
	focus = {
		id = HUN_Unity_Against_European_Liberalism
		icon = GFX_focus_HUN_crusade_against_european_liberalism
		relative_position_id = HUN_Obliterate_Foreign_Influence
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_Prepare_for_Russian_Alignment
			focus = HUN_Obliterate_Foreign_Influence
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_Unity_Against_European_Liberalism days = 730 }
		}
	}
		
	focus = {
		id = HUN_leave_eu
		icon = GFX_focus_HUN_leave_the_eu
		relative_position_id = HUN_Unity_Against_European_Liberalism
		x = 3
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_Unity_Against_European_Liberalism
		}
		mutually_exclusive = {
			focus = HUN_criticise_eu
		}
		ai_will_do = {
			base = 10
		}
		available = {
			
		}
		completion_reward = {
			country_event = Hungary.5
		}
	}
		
	focus = {
		id = HUN_criticise_eu
		icon = GFX_focus_HUN_critcise_the_eu
		relative_position_id = HUN_Unity_Against_European_Liberalism
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_Unity_Against_European_Liberalism
		}
		mutually_exclusive = {
			focus = HUN_leave_eu
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 75
			add_popularity = { ideology = authoritarian_democrat popularity = 0.03 }
			
		}
	}
		
	focus = {
		id = HUN_electoral_system_change
		text = HUN_National_Kleptocracy
		icon = GFX_focus_HUN_national_kleptocracy
		relative_position_id = HUN_Unity_Against_European_Liberalism
		x = -3
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_Unity_Against_European_Liberalism
		}
		mutually_exclusive = {
			focus = HUN_Ditch_the_Democracy_Label
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 50
			add_ideas = HUN_Kleptocratic_State
		}
	}
		
	focus = {
		id = HUN_Ditch_the_Democracy_Label
		icon = GFX_focus_HUN_ditch_the_fauxmocracy
		relative_position_id = HUN_Unity_Against_European_Liberalism
		x = -1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_Unity_Against_European_Liberalism
		}
		mutually_exclusive = {
			focus = HUN_electoral_system_change
		}
		ai_will_do = {
			base = 30
		}
		available = {
			
		}
		completion_reward = {
			add_stability = -0.15
			add_popularity = { ideology = nationalist popularity = 0.4 }
			custom_effect_tooltip = FIDESZ_despotism
			hidden_effect = {
			add_popularity = { ideology = authoritarian_democrat popularity = -0.15 }
			
			set_party_name = {
    			ideology = authoritarian_democrat
    			long_name = HUN_kdnp_long
    			name = HUN_kdnp
			}
			set_party_name = {
    			ideology = nationalist
    			long_name = HUN_Fidesz_Despot_long
    			name = HUN_Fidesz_Despot
			}
			set_politics = {
				ruling_party = nationalist
				last_election = "2022.04.08"
				election_frequency = 48
				elections_allowed = no
			}
			retire_country_leader = yes
			add_country_leader_role = {
				character = HUN_Viktor_Orban_char
				promote_leader = yes
				country_leader = {
					ideology = autocrat
					traits = {
					
					}
				}
			}
			swap_ideas = {
				add_idea = HUN_Orbans_Playground_n
				remove_idea = HUN_Orbans_Playground
			}
			}
		}
	}
		
	focus = {
		id = HUN_gyulekezesi_torveny
		icon = GFX_focus_generic_pro_minority_segregation
		relative_position_id = HUN_criticise_eu
		x = -1
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_criticise_eu
			focus = HUN_electoral_system_change
			focus = HUN_Ditch_the_Democracy_Label
			focus = HUN_leave_eu
		}
		ai_will_do = {
			base = 30
		}
		available = {
			
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_gyulekezesi_torveny days = 70 }
		}
	}
		
	focus = {
		id = HUN_ban_pride
		icon = GFX_focus_generic_lgbt_flag
		relative_position_id = HUN_gyulekezesi_torveny
		x = -0
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_gyulekezesi_torveny
		}
		ai_will_do = {
			base = 30
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 75
			add_stability = -0.08
			add_popularity = { ideology = authoritarian_democrat popularity = -0.05 }
			hidden_effect = { country_event = { id = Hungary.45 days = 31 random_days = 5 } }
		}
	}
		
	focus = {
		id = HUN_well_shit
		icon = GFX_focus_HUN_anti_fidesz_campaign
		relative_position_id = HUN_ban_pride
		x = -0
		y = 1
		cost = 2
		prerequisite = {
			focus = HUN_ban_pride
		}
		ai_will_do = {
			base = 30
		}
		available = {
			always = no
		}
		completion_reward = {
			add_political_power = -150
			add_stability = -0.02
			add_popularity = { ideology = social_liberal popularity = 0.2 }
			add_popularity = { ideology = market_liberal popularity = 0.2 }
		}
	}
	
###### MI HAZÁNK 
	
	focus = {
		id = HUN_nationalism_wins
		icon = GFX_focus_HUN_mhm
		relative_position_id = HUN_prep_election
		x = -0
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_prep_election
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}

		allow_branch = {
			has_country_flag = MHMVICTORY2022
		}
		completion_reward = {
			add_political_power = 150
			add_popularity = { ideology = nationalist popularity = 0.05 }
			
			#hidden_effect = { country_event = { id = Hungary.20 days = 650 } }
			
		}
	}
	
	focus = {
		id = HUN_moderate_mh
		icon = GFX_focus_generic_build_legitimacy
		relative_position_id = HUN_nationalism_wins
		x = -3
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_nationalism_wins
		}
		mutually_exclusive = {
			focus = HUN_fascist_mh
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}

		completion_reward = {
			add_stability = 0.05
			add_popularity = { ideology = nationalist popularity = 0.025 }
			
			
		}
	}
	
	focus = {
		id = HUN_fascist_mh
		icon = GFX_focus_generic_fascist_accord
		relative_position_id = HUN_nationalism_wins
		x = 3
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_nationalism_wins
		}
		mutually_exclusive = {
			focus = HUN_moderate_mh
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			get_current_popularities = yes
			custom_effect_tooltip = MH_Fascist
			hidden_effect = {
				set_politics = { ruling_party = fascist }
			#add_popularity = { ideology = nationalist popularity = -0.25 }
			#add_popularity = { ideology = fascist popularity = 0.25 }
					set_variable = {
						var = HUN_nationalist_popularity_var
						value = party_popularity_100@nationalist
					}
					set_variable = {
						var = HUN_market_liberal_popularity_var
						value = party_popularity_100@market_liberal
					}
					set_variable = {
						var = HUN_social_liberal_popularity_var
						value = party_popularity_100@social_liberal
					}
					set_variable = {
						var = HUN_social_democrat_popularity_var
						value = party_popularity_100@social_democrat
					}
					set_variable = {
						var = HUN_libertarian_socialist_popularity_var
						value = party_popularity_100@libertarian_socialist
					}
					set_variable = {
						var = HUN_natsoc_popularity_var
						value = party_popularity_100@national_socialist
					}
					set_variable = {
						var = HUN_totalitarian_socialist_popularity_var
						value = party_popularity_100@totalitarian_socialist
					}
					set_variable = {
						var = HUN_authdem_popularity_var
						value = party_popularity_100@authoritarian_democrat
					}
					set_variable = {
						var = HUN_conservative_popularity_var
						value = party_popularity_100@conservative
					}
					set_variable = {
						var = HUN_communist_popularity_var
						value = party_popularity_100@communist
					}
					set_variable = {
						var = HUN_fascist_popularity_var
						value = party_popularity_100@fascist
					}
					add_to_variable = {
						HUN_fascist_popularity_var = HUN_nationalist_popularity_var
					}
					set_variable = {
						var = HUN_nationalist_popularity_var
						value = 0
					}
		set_popularities = {
			nationalist = HUN_nationalist_popularity_var
			market_liberal = HUN_market_liberal_popularity_var
			social_democrat = HUN_social_democrat_popularity_var
			conservative = HUN_conservative_popularity_var
			fascist = HUN_fascist_popularity_var
			authoritarian_democrat = HUN_authdem_popularity_var
			national_socialist = HUN_natsoc_popularity_var
			totalitarian_socialist = HUN_totalitarian_socialist_popularity_var
			libertarian_socialist = HUN_libertarian_socialist_popularity_var
			communist = HUN_communist_popularity_var
			social_liberal = HUN_social_liberal_popularity_var
		}
			}
		}
	}
		
	focus = {
		id = HUN_deport_every_immigrant
		icon = GFX_focus_generic_crush_riots
		relative_position_id = HUN_nationalism_wins
		x = 0
		y = 2
		cost = 10
		prerequisite = {
			focus = HUN_fascist_mh
			focus = HUN_moderate_mh
		}
		ai_will_do = {
			base = 10
		}
		available = {
			
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_deport_every_immigrant days = 365 }
		}
	}
	
	focus = {
		id = HUN_Prepare_for_Russian_Alignment_mh
		text = HUN_Prepare_for_Russian_Alignment
		icon = GFX_focus_HUN_Prepare_Russian_Alignment
		relative_position_id = HUN_nationalism_wins
		x = 1
		y = 3
		cost = 6
		prerequisite = {
			focus = HUN_deport_every_immigrant
		}
		ai_will_do = {
			base = 6
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 100
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			leave_faction = yes
			
			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = HUN_Request_CSTO_Observer_Membership
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = { 
					SOV = {
						OR = { 
							has_government = communist
							has_government = totalitarian_socialist
						}
					}
				}
				add_timed_idea = { idea = HUN_CPRF_Influence days = 180 }
			}
			IF = {
				limit = { 
					SOV = {
						OR = { 
							has_government = authoritarian_democrat
							has_government = conservative
						}
					}
				}
				add_timed_idea = { idea = HUN_Medvedev_Influence days = 365 }
			}
			IF = {
				limit = { 
					SOV = {
						OR = { 
							has_government = fascist
							has_government = nationalist
						}
					}
				}
				add_timed_idea = { idea = HUN_LDPR_Influence days = 730 }
			}
		}
	}
		
	focus = {
		id = HUN_leave_eu_mh
		text = HUN_Enact_Article_50
		icon = GFX_focus_GER_formalize_the_european_union
		relative_position_id = HUN_nationalism_wins
		x = -1
		y = 3
		cost = 10
		prerequisite = {
			focus = HUN_deport_every_immigrant
		}
		ai_will_do = {
			base = 10
		}
		available = {
			
		}
		completion_reward = {
			country_event = Hungary.5
		}
	}
		
	focus = {
		id = HUN_revisionism
		icon = GFX_focus_HUN_GREATER_HUNGARY
		relative_position_id = HUN_Prepare_for_Russian_Alignment_mh
		x = -1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_Prepare_for_Russian_Alignment_mh
		}
		prerequisite = {
			focus = HUN_leave_eu_mh
		}
		
		prerequisite = {
			focus = HUN_totalitarian_safety
			focus = HUN_economy_mh
		}
		ai_will_do = {
			base = 10
		}
		available = {
			
		}
		completion_reward = {
			add_stability = 0.01
			add_state_core = 664
			add_state_core = 73
			add_state_core = 76
			add_state_claim = 70
			add_state_claim = 71
			add_state_claim = 83
			add_state_claim = 84
			add_state_claim = 82
			add_state_claim = 45
			add_state_claim = 1306
			add_state_claim = 109
			add_state_claim = 163
		}
	}
		
	focus = {
		id = HUN_slovak
		icon = GFX_focus_generic_launch_attack
		relative_position_id = HUN_revisionism
		x = -2
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_revisionism
		}
		ai_will_do = {
			base = 10
		}
		available = {
			
		}
		completion_reward = {
			664 = { OWNER = { country_event = Hungary.39 } }
		}
	}
		
	focus = {
		id = HUN_ukran
		icon = GFX_focus_generic_cautious_warfare
		relative_position_id = HUN_revisionism
		x = -0
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_revisionism
		}
		ai_will_do = {
			base = 10
		}
		available = {
			
		}
		completion_reward = {
			73 = { OWNER = { country_event = Hungary.41 } }
		}
	}
		
	focus = {
		id = HUN_roman
		icon = GFX_focus_generic_diplomacy_money
		relative_position_id = HUN_revisionism
		x = 2
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_revisionism
		}
		ai_will_do = {
			base = 10
		}
		available = {
			
		}
		completion_reward = {
			76 = { OWNER = { country_event = Hungary.42 } }
		}
	}
		
	
	focus = {
		id = HUN_no_elections
		icon = GFX_focus_generic_elections_banned
		relative_position_id = HUN_fascist_mh
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_fascist_mh
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_stability = -0.1
			add_political_power = 100
			custom_effect_tooltip = MH_Fascist_no_elections
			hidden_effect = {
				
					set_politics = {	
						ruling_party = fascist
						last_election = "2022.04.08"
						election_frequency = 48
						elections_allowed = no
					}
			}
		}
	}
	
	focus = {
		id = HUN_outlaw_opposition_parties
		icon = GFX_focus_generic_police_reform
		relative_position_id = HUN_fascist_mh
		x = -1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_fascist_mh
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_stability = -0.05
			add_popularity = { ideology = fascist popularity = 0.08 }
			custom_effect_tooltip = MH_Fascist_parties_banned
			hidden_effect = {
				
				set_party_name = {
						ideology = social_democrat
						long_name = EST_communist_party_long
						name = PLD_national_socialist_party
					}
				
				set_party_name = {
						ideology = social_liberal
						long_name = EST_communist_party_long
						name = PLD_national_socialist_party
					}
				
				set_party_name = {
						ideology = market_liberal
						long_name = EST_communist_party_long
						name = PLD_national_socialist_party
					}
				
				set_party_name = {
						ideology = authoritarian_democrat
						long_name = EST_communist_party_long
						name = PLD_national_socialist_party
					}
				
				set_party_name = {
						ideology = conservative
						long_name = EST_communist_party_long
						name = PLD_national_socialist_party
					}
				
				set_party_name = {
						ideology = communist
						long_name = EST_communist_party_long
						name = PLD_national_socialist_party
					}
				
				set_party_name = {
						ideology = totalitarian_socialist
						long_name = EST_communist_party_long
						name = PLD_national_socialist_party
					}
				
				set_party_name = {
						ideology = libertarian_socialist
						long_name = EST_communist_party_long
						name = PLD_national_socialist_party
					}
			}
		}
	}
	
	focus = {
		id = HUN_totalitarian_safety
		icon = GFX_focus_FAF_Grand_Council_of_Fascism
		relative_position_id = HUN_outlaw_opposition_parties
		x = 1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_no_elections
		}
		prerequisite = {
			focus = HUN_outlaw_opposition_parties
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_political_power = 150
			add_popularity = { ideology = authoritarian_democrat popularity = -0.08 }
			add_popularity = { ideology = conservative popularity = -0.05 }
			add_popularity = { ideology = social_democrat popularity = -0.05 }
			add_popularity = { ideology = market_liberal popularity = -0.05 }
			add_popularity = { ideology = social_liberal popularity = -0.05 }
			add_popularity = { ideology = libertarian_socialist popularity = -0.03 }
		}
	}
	
	focus = {
		id = HUN_hungarian_caesar
		icon = GFX_focus_HUN_toroczkai
		relative_position_id = HUN_totalitarian_safety
		x = -1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_totalitarian_safety
		}
		mutually_exclusive = {
			focus = HUN_pardon_gyorkos
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_stability = 0.05
			add_popularity = { ideology = fascist popularity = 0.05 }
		}
	}
	
	focus = {
		id = HUN_pardon_gyorkos
		icon = GFX_focus_HUN_gyorkos
		relative_position_id = HUN_totalitarian_safety
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_totalitarian_safety
		}
		mutually_exclusive = {
			focus = HUN_hungarian_caesar
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_war_support = 0.05
			add_popularity = { ideology = national_socialist popularity = 0.05 }
			set_temp_variable = {
				coalition_partner_var_temp = token:national_socialist
			}
			add_to_coalition = yes
			hidden_effect = { country_event = { id = Hungary.8 days = 14 } }
		}
	}
	
	focus = {
		id = HUN_true_nationalism
		icon = GFX_focus_HUN_Destroy_Foreign_Influence
		relative_position_id = HUN_moderate_mh
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_moderate_mh
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_stability = 0.1
			add_popularity = { ideology = nationalist popularity = 0.04 }
			
		}
	}
	
	focus = {
		id = HUN_border_mh
		icon = GFX_focus_SOV_strengthen_immigration_control
		relative_position_id = HUN_moderate_mh
		x = -1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_moderate_mh
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = lower_immigration
		}
	}
	
	focus = {
		id = HUN_economy_mh
		icon = GFX_focus_generic_industrialization
		relative_position_id = HUN_border_mh
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_border_mh
		}
		prerequisite = {
			focus = HUN_true_nationalism
		}
		mutually_exclusive = {
			focus = HUN_moderate_mh
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			random_owned_controlled_state = {
				prioritize = {
					854
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = HUN_protect_the_environment
		icon = GFX_focus_GER_Increase_Renewable_Subsidies
		relative_position_id = HUN_economy_mh
		x = -1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_economy_mh
		}
		mutually_exclusive = {
			focus = HUN_military_investment_mh
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_stability = 0.05
			
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.1
			}
			add_industrial_development = yes
			
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.1
			}
			add_society_development = yes
			
			
			set_temp_variable = {
				var = academic_development_var_temp
				value = 0.1
			}
			add_academic_development = yes
			set_temp_variable = {
				var = income_var_temp
				value = -45
			}
			add_income_with_inflation = yes
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = energy_farm
					level = 1
					instant_build = yes
				}
			}
			
		}
	}
	
	focus = {
		id = HUN_military_investment_mh
		icon = GFX_focus_generic_mobilize_the_economy
		relative_position_id = HUN_economy_mh
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_economy_mh
		}
		mutually_exclusive = {
			focus = HUN_protect_the_environment
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}
		completion_reward = {
			add_war_support = 0.05
			set_temp_variable = {
				var = debt_var_temp
				value = 30
			}
			add_debt_with_inflation = yes
				add_offsite_building = {
					type = arms_factory
					level = 2
				}
				add_offsite_building = {
					type = industrial_complex
					level = 2
				}
				set_temp_variable = {
					var = military_development_var_temp
					value = 0.3
				}
				add_military_development = yes
		}
	}

###### UNITED FOR HUNGARY - EGYSÉGBEN MAGYARORSZÁGÉRT	
	
	
	focus = {
		id = HUN_people_have_chosen
		icon = GFX_focus_HUN_the_people_have_chosen
		relative_position_id = HUN_prep_election
		x = -0
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_prep_election
		}
		ai_will_do = {
			base = 40
		}
		available = {
		}

		allow_branch = {
			has_country_flag = unitedforhungarywinner
		}
		completion_reward = {
			add_political_power = 150
			add_popularity = { ideology = authoritarian_democrat popularity = -0.05 }
			increase_society = yes
			
			hidden_effect = { country_event = { id = Hungary.20 days = 650 } }
			
		}
	}
	
	focus = {
		id = HUN_undoing_fidesz_mistakes
		icon = GFX_focus_HUN_undoing_fideszs_mistakes
		relative_position_id = HUN_people_have_chosen
		x = -3
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_people_have_chosen
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_popularity = { ideology = authoritarian_democrat popularity = -0.015 }
			add_ideas = low_taxes
		}
	}
	
	focus = {
		id = HUN_civil_rights
		icon = GFX_focus_SOV_promote_civil_rights
		relative_position_id = HUN_undoing_fidesz_mistakes
		x = -1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_undoing_fidesz_mistakes
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_stability = 0.025
			add_ideas = medium_race
			increase_female = yes
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.1
			}
			add_society_development = yes
		}
	}
	
	focus = {
		id = HUN_budapest_industry
		icon = GFX_focus_HUN_expand_budapests_industry
		relative_position_id = HUN_undoing_fidesz_mistakes
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_undoing_fidesz_mistakes
		}
		ai_will_do = {
			base = 30
		}
		available = {
			
		}
		completion_reward = {
			random_owned_controlled_state = {
				prioritize = {
					854
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = HUN_green_focus
		text = GER_increase_renewable_subsidies
		icon = GFX_focus_HUN_increase_renewable_subsides
		relative_position_id = HUN_budapest_industry
		x = 1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_budapest_industry
		}
		ai_will_do = {
			base = 30
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = income_var_temp
				value = -45
			}
			add_income_with_inflation = yes
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = energy_farm
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = HUN_healthcare_and_education_focus
		icon = GFX_focus_HUN_improve_healthcare_and_education
		relative_position_id = HUN_civil_rights
		x = -1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_civil_rights
		}
		ai_will_do = {
			base = 30
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = income_var_temp
				value = -12.5
			}
			add_income_with_inflation = yes
			increase_education = yes
		}
	}
	
	focus = {
		id = HUN_improve_railway
		icon = GFX_focus_HUN_improve_the_mav
		relative_position_id = HUN_civil_rights
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_civil_rights
			focus = HUN_budapest_industry
		}
		ai_will_do = {
			base = 30
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = HUN_mav
		}
	}
	
	focus = {
		id = HUN_industrial_boom
		icon = GFX_focus_HUN_an_industrial_boom
		relative_position_id = HUN_improve_railway
		x = 0
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_improve_railway
		}
		prerequisite = {
			focus = HUN_healthcare_and_education_focus
		}
		prerequisite = {
			focus = HUN_green_focus
		}
		ai_will_do = {
			base = 69
		}
		available = {
			
		}
		completion_reward = {
			increase_farming = yes
			increase_industry = yes
			
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.1
			}
			add_industrial_development = yes
		}
	}
	
	focus = {
		id = HUN_look_to_eu
		icon = GFX_focus_HUN_look_to_the_eu
		relative_position_id = HUN_people_have_chosen
		x = 3
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_people_have_chosen
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_stability = 0.05
			
			set_temp_variable = {
				var = eu_visregard_sepratism_var_temp
				value = -0.1
			}
			GER_add_eu_visregard_sepratism = yes
		}
	}
	
	focus = {
		id = HUN_Stifle_Euroscepticism
		icon = GFX_focus_HUN_strife_eurosecpticism
		relative_position_id = HUN_look_to_eu
		x = 1
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_look_to_eu
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_ideas = HUN_Stifle_Euroscepticism
				set_temp_variable = {
					var = eu_euroskepticism_var_temp
					value = -0.05
				}
				GER_add_eu_euroskepticism = yes
		}
	}
	
	focus = {
		id = HUN_foreign_investment
		icon = GFX_focus_HUN_foreign_investments
		relative_position_id = HUN_look_to_eu
		x = -1
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_look_to_eu
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			
			set_temp_variable = {
				var = debt_var_temp
				value = 25
			}
			add_debt = yes
			random_owned_controlled_state = {
				prioritize = {
					#854
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = HUN_Invest_in_our_Ukrainian_Brothers
		icon = GFX_focus_HUN_invest_in_our_ukrainian_brothers
		relative_position_id = HUN_Stifle_Euroscepticism
		x = 1
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_Stifle_Euroscepticism
		}
		ai_will_do = {
			base = 30
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = income_var_temp
				value = -35
			}
			add_income_with_inflation = yes
			UKR = {
				set_temp_variable = {
					var = military_development_var_temp
					value = 0.3
				}
				add_military_development = yes
				set_temp_variable = {
					var = debt_var_temp
					value = 35
				}
				add_debt_with_inflation = yes
				add_offsite_building = {
					type = arms_factory
					level = 1
				}
				add_offsite_building = {
					type = industrial_complex
					level = 2
				}
			}
		}
	}
	
	focus = {
		id = HUN_Unity_Against_Russian_Aggression
		icon = GFX_focus_HUN_unity_against_russian_aggression
		relative_position_id = HUN_Stifle_Euroscepticism
		x = -1
		y = 1
		cost = 4
		prerequisite = {
			focus = HUN_Stifle_Euroscepticism
			focus = HUN_foreign_investment
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			add_political_power = 50
			add_war_support = 0.05
		}
	}
	
	focus = {
		id = HUN_Request_German_Funding
		icon = GFX_focus_HUN_request_german_funding
		relative_position_id = HUN_Stifle_Euroscepticism
		x = -3
		y = 1
		cost = 5
		prerequisite = {
			focus = HUN_foreign_investment
		}
		ai_will_do = {
			base = 40
		}
		available = {
			
		}
		completion_reward = {
			set_temp_variable = {
				var = debt_var_temp
				value = 15
			}
			add_debt_with_inflation = yes
				add_offsite_building = {
					type = arms_factory
					level = 1
				}
				add_offsite_building = {
					type = industrial_complex
					level = 2
				}
				set_temp_variable = {
					var = military_development_var_temp
					value = 0.3
				}
				add_military_development = yes
			GER = {
				set_temp_variable = {
					var = income_var_temp
					value = -15
				}
				add_income_with_inflation = yes
			}
		}
	}
	
	focus = {
		id = HUN_real_eu_soc
		icon = GFX_focus_HUN_real_european_society
		relative_position_id = HUN_Unity_Against_Russian_Aggression
		x = 0
		y = 1
		cost = 10
		prerequisite = {
			focus = HUN_Request_German_Funding
		}
		prerequisite = {
			focus = HUN_Unity_Against_Russian_Aggression
		}
		prerequisite = {
			focus = HUN_Invest_in_our_Ukrainian_Brothers
		}
		ai_will_do = {
			base = 45
		}
		available = {
			
		}
		completion_reward = {
			increase_society = yes
			
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.1
			}
			add_society_development = yes
		}
	}
	
	focus = {
		id = HUN_emerging_power
		icon = GFX_focus_HUN_an_emerging_power
		relative_position_id = HUN_real_eu_soc
		x = -3
		y = 1
		cost = 6
		prerequisite = {
			focus = HUN_real_eu_soc
		}
		prerequisite = {
			focus = HUN_industrial_boom
		}
		ai_will_do = {
			base = 45
		}
		available = {
			
		}
		completion_reward = {
			
			set_temp_variable = {
				var = industrial_development_var_temp
				value = 0.1
			}
			add_industrial_development = yes
			
			set_temp_variable = {
				var = society_development_var_temp
				value = 0.1
			}
			add_society_development = yes
			
			
			set_temp_variable = {
				var = academic_development_var_temp
				value = 0.1
			}
			add_academic_development = yes
		}
	}
	
######## ARMY / HONVÉDSÉG

	focus = {
		id = HUN_army_1
		icon = GFX_focus_HUN_honved
		relative_position_id = HUN_state_parliament
		x = 18
		y = 0
		cost = 4
		#prerequisite = { focus = HUN_state_parliament }
		ai_will_do = {
			base = 45
		}
		available = {
			#has_idea = HUN_Corona_Virus
			threat > 0.1
		}
		
		offset = {
			x = 12
			trigger = {
				
				has_country_flag = MPinTisza
			}
		}
		
		offset = {
			x = 8
			trigger = {
				
				has_country_flag = MPTiszapartban
			}
		}
		completion_reward = {
			set_temp_variable = {
				var = military_development_var_temp
				value = 0.1
			}
			add_military_development = yes
		}
	}

	focus = {
		id = HUN_army_3
		icon = GFX_focus_generic_mobilize_the_economy
		relative_position_id = HUN_army_1
		x = 0
		y = 1
		cost = 10
		prerequisite = { focus = HUN_army_1 }
		ai_will_do = {
			base = 76
		}
		available = {
			#has_idea = HUN_Corona_Virus
			threat > 0.20
		}
		completion_reward = {
			random_owned_controlled_state = {
				prioritize = {
					#854
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
			set_temp_variable = {
				var = military_development_var_temp
				value = 0.1
			}
			add_military_development = yes
		}
	}

	focus = {
		id = HUN_army_2
		icon = GFX_focus_generic_clear_the_heavens
		relative_position_id = HUN_army_3
		x = -3
		y = 1
		cost = 6
		prerequisite = { focus = HUN_army_3 }
		ai_will_do = {
			base = 23
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = HUN_fighter
				bonus = 1
				uses = 2
				category = light_fighter
				category = cas_bomber
			}
			set_temp_variable = {
				var = debt_var_temp
				value = 25
			}
			add_debt_with_inflation = yes
			
		}
	}

	focus = {
		id = HUN_army_2_1
		icon = GFX_focus_GER_improve_the_eurocopter
		relative_position_id = HUN_army_2
		x = -0
		y = 1
		cost = 6
		prerequisite = { focus = HUN_army_2 }
		ai_will_do = {
			base = 40
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			air_experience = 25
			add_tech_bonus = {
				name = GER_improve_the_eurocopter
				bonus = 1
				uses = 1
				category = cat_helicopter_modules
			}
			
		}
	}

	focus = {
		id = HUN_army_4
		icon = GFX_focus_generic_tank
		relative_position_id = HUN_army_3
		x = 0
		y = 1
		cost = 6
		prerequisite = { focus = HUN_army_3 }
		ai_will_do = {
			base = 22
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			set_temp_variable = {
				var = income_var_temp
				value = -30
			}
			add_income_with_inflation = yes
			if = {
				limit = {
					NOT = {
						has_dlc = "No Step Back"
					}
				}
				add_tech_bonus = {
					bonus = 1.5
					uses = 2
					name = mech_army_bonus
					technology = main_battle_tank4
					technology = main_battle_tank5
					technology = main_battle_tank6
				}
			}
			else = {
				add_tech_bonus = {
					bonus = 1.5
					uses = 1
					name = mech_army_bonus
					technology = advanced_medium_tank_chassis
				}
			}
			add_timed_idea = {
				idea = GER_mass_tank_production_idea
				days = 175
			}
			
		}
	}

	focus = {
		id = HUN_army_6
		icon = GFX_focus_generic_train_the_officers
		relative_position_id = HUN_army_4
		x = 1
		y = 1
		cost = 6
		prerequisite = { focus = HUN_army_4 }
		ai_will_do = {
			base = 8
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			army_experience = 75
			set_temp_variable = {
				var = military_development_var_temp
				value = 0.1
			}
			add_military_development = yes
		}
	}

	focus = {
		id = HUN_army_7
		icon = GFX_focus_generic_uphold_nato_doctrine
		relative_position_id = HUN_army_4
		x = -1
		y = 1
		cost = 6
		prerequisite = { focus = HUN_army_4 }
		ai_will_do = {
			base = 2
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			army_experience = 25
			add_doctrine_cost_reduction = {
				name = HUN_army_7
				cost_reduction = 0.5
				uses = 3
				category = cat_mobile_warfare
			}
		}
	}

	focus = {
		id = HUN_Encourage_KMKSZ_Enlistment
		icon = GFX_focus_HUN_Formation_of_KMKSZ_Legions
		relative_position_id = HUN_army_6
		x = 1
		y = 1
		cost = 6
		prerequisite = { focus = HUN_army_6 }
		ai_will_do = {
			base = 45
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			add_timed_idea = { idea = HUN_Encourage_KMKSZ_Enlistment days = 730 }
		}
	}

	focus = {
		id = HUN_Expand_V4_Battlegroup
		icon = GFX_focus_HUN_Increase_V4_Battlegroup_Funding
		relative_position_id = HUN_army_6
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_army_6 }
		prerequisite = { focus = HUN_army_7 }
		ai_will_do = {
			base = 45
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			set_temp_variable = {
				var = military_development_var_temp
				value = 0.05
			}
			add_military_development = yes
			
			POL = {
				
				set_temp_variable = {
					var = military_development_var_temp
					value = 0.05
				}
				add_military_development = yes
			}
			CZE = {
				
				set_temp_variable = {
					var = military_development_var_temp
					value = 0.05
				}
				add_military_development = yes
			}
			SLO = {
				
				set_temp_variable = {
					var = military_development_var_temp
					value = 0.05
				}
				add_military_development = yes
			}
			
			set_temp_variable = {
				var = debt_var_temp
				value = 25
			}
			add_debt_with_inflation = yes
			
		}
	}

	focus = {
		id = HUN_organised_army
		icon = GFX_focus_generic_well_organized_militia
		relative_position_id = HUN_army_7
		x = -1
		y = 1
		cost = 6
		prerequisite = { focus = HUN_army_7 }
		ai_will_do = {
			base = 45
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			add_ideas = HUN_organised_army
		}
	}

	focus = {
		id = HUN_hungarian_army
		icon = GFX_focus_generic_army_effort
		relative_position_id = HUN_Expand_V4_Battlegroup
		x = 0
		y = 1
		cost = 5
		prerequisite = { focus = HUN_Expand_V4_Battlegroup }
		prerequisite = { focus = HUN_organised_army }
		prerequisite = { focus = HUN_Encourage_KMKSZ_Enlistment }
		ai_will_do = {
			base = 45
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			swap_ideas = {
				add_idea = HUN_hungarian_army
				remove_idea = HUN_organised_army
			}
		}
	}

	focus = {
		id = HUN_army_5
		icon = GFX_focus_generic_arms_shipments2
		relative_position_id = HUN_army_3
		x = 3
		y = 1
		cost = 10
		prerequisite = { focus = HUN_army_3 }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			random_owned_controlled_state = {
				prioritize = {
					#854
				}
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
			
		}
	}

	focus = {
		id = HUN_army_8
		icon = GFX_focus_GER_invest_in_rnd
		relative_position_id = HUN_army_5
		x = 0
		y = 1
		cost = 10
		prerequisite = { focus = HUN_army_5 }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		
		completion_reward = {
			add_research_slot = 1
			
		}
	}
	
### TISZA MSZP FIDESZ 

	focus = {
		id = HUN_chaos
		icon = GFX_focus_generic_crush_riots
		relative_position_id = HUN_state_parliament
		x = 18
		y = 0
		cost = 2
		#prerequisite = { focus = HUN_state_parliament }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		allow_branch = {
			has_country_flag = MPinTisza
		}
		completion_reward = {
			add_stability = -0.05
			add_political_power = 75
		}
	}

	focus = {
		id = HUN_fidesz_i
		icon = GFX_focus_HUN_fidesz
		relative_position_id = HUN_chaos
		x = 4
		y = 1
		cost = 5
		prerequisite = { focus = HUN_chaos }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_fidesz_i days = 365 }
		}
	}

	focus = {
		id = HUN_fidesz_ii
		icon = GFX_focus_generic_purge_western_media
		relative_position_id = HUN_fidesz_i
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_fidesz_i }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_popularity = {
				ideology = social_democrat
				popularity = -0.05
			}
			add_popularity = {
				ideology = social_liberal
				popularity = -0.05
			}
			add_popularity = {
				ideology = market_liberal
				popularity = -0.05
			}
			
		}
	}

	focus = {
		id = HUN_fidesz_iii
		icon = GFX_focus_generic_trust_funding
		relative_position_id = HUN_fidesz_i
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_fidesz_i }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
				set_temp_variable = {
					var = income_var_temp
					value = -15
				}
				add_income_with_inflation = yes
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = 0.05
			}
			
		}
	}

	focus = {
		id = HUN_fidesz_iv
		icon = GFX_focus_HUN_In_this_sign_we_conquer
		relative_position_id = HUN_fidesz_iii
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_fidesz_iii }
		prerequisite = { focus = HUN_fidesz_ii }
		mutually_exclusive = { focus = HUN_tisza_iv focus = HUN_mszp_iv }
		ai_will_do = {
			base = 75
		}
		available = {
			HUN_fidesz_biggest_party = yes
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			remove_ideas = HUN_chaos
			set_politics = {	
				ruling_party = authoritarian_democrat
				last_election = "2026.04.08"
				election_frequency = 48
				elections_allowed = yes
			}
		}
	}

	focus = {
		id = HUN_mszp_i
		icon = GFX_focus_HUN_mszp
		relative_position_id = HUN_chaos
		x = -0
		y = 1
		cost = 5
		prerequisite = { focus = HUN_chaos }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_mszp_i days = 365 }
		}
	}

	focus = {
		id = HUN_mszp_ii
		icon = GFX_focus_generic_crush_chaos
		relative_position_id = HUN_mszp_i
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_mszp_i }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			
			add_popularity = {
				ideology = social_democrat
				popularity = 0.1
			}
			
		}
	}

	focus = {
		id = HUN_mszp_iii
		icon = GFX_focus_generic_employee_benefits
		relative_position_id = HUN_mszp_i
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_mszp_i }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_popularity = {
				ideology = social_democrat
				popularity = 0.05
			}
			add_popularity = {
				ideology = social_liberal
				popularity = -0.05
			}
			
			hidden_effect = { country_event = { id = Hungary.25 days = 14 } }
		}
	}

	focus = {
		id = HUN_mszp_iv
		icon = GFX_focus_generic_liberal_democracy
		relative_position_id = HUN_mszp_iii
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_mszp_iii }
		prerequisite = { focus = HUN_mszp_ii }
		mutually_exclusive = { focus = HUN_tisza_iv focus = HUN_fidesz_iv }
		ai_will_do = {
			base = 75
		}
		available = {
			HUN_mszp_biggest_party = yes
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			remove_ideas = HUN_chaos
			
		}
	}

	focus = {
		id = HUN_tisza_i
		icon = GFX_focus_HUN_tisza
		relative_position_id = HUN_chaos
		x = -4
		y = 1
		cost = 5
		prerequisite = { focus = HUN_chaos }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_tisza_i days = 365 }
		}
	}

	focus = {
		id = HUN_tisza_ii
		icon = GFX_focus_generic_social_liberal_victory
		relative_position_id = HUN_tisza_i
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_tisza_i }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			
			
			add_popularity = {
				ideology = market_liberal
				popularity = 0.1
			}
		}
	}

	focus = {
		id = HUN_tisza_iii
		icon = GFX_focus_GER_call_emergency_elections
		relative_position_id = HUN_tisza_i
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_tisza_i }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 50
		}
	}
	
	focus = {
		id = HUN_tisza_iv
		icon = GFX_focus_generic_election
		relative_position_id = HUN_tisza_ii
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_tisza_ii }
		prerequisite = { focus = HUN_tisza_iii }
		mutually_exclusive = { focus = HUN_mszp_iv focus = HUN_fidesz_iv }
		ai_will_do = {
			base = 75
		}
		available = {
			HUN_fidesz_biggest_party = no
		}
		completion_reward = {
			remove_ideas = HUN_chaos
			country_event = { id = Hungary.2024 days = 7 }
		}
	}
	
### TISZA VS FIDESZ 

	focus = {
		id = HUN_unstability
		icon = GFX_focus_generic_crush_riots
		relative_position_id = HUN_state_parliament
		x = 18
		y = 0
		cost = 2
		#prerequisite = { focus = HUN_state_parliament }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		allow_branch = {
			has_country_flag = MPTiszapartban
		}
		completion_reward = {
			add_stability = -0.05
			add_political_power = 75
		}
	}

	focus = {
		id = HUN_fidesz_v
		icon = GFX_focus_HUN_fidesz
		relative_position_id = HUN_unstability
		x = 2
		y = 1
		cost = 5
		prerequisite = { focus = HUN_unstability }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_fidesz_v days = 365 }
		}
	}

	focus = {
		id = HUN_fidesz_vi
		text = HUN_fidesz_ii
		icon = GFX_focus_generic_purge_western_media
		relative_position_id = HUN_fidesz_v
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_fidesz_v }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_popularity = {
				ideology = social_democrat
				popularity = -0.05
			}
			add_popularity = {
				ideology = social_liberal
				popularity = -0.05
			}
			add_popularity = {
				ideology = market_liberal
				popularity = -0.05
			}
			
		}
	}

	focus = {
		id = HUN_fidesz_vii
		text = HUN_fidesz_iii
		icon = GFX_focus_generic_trust_funding
		relative_position_id = HUN_fidesz_v
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_fidesz_v }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
				set_temp_variable = {
					var = income_var_temp
					value = -15
				}
				add_income_with_inflation = yes
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = 0.05
			}
			
		}
	}

	focus = {
		id = HUN_fidesz_viii
		icon = GFX_focus_generic_conservative_victory
		relative_position_id = HUN_fidesz_vi
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_fidesz_vii }
		prerequisite = { focus = HUN_fidesz_vi }
		mutually_exclusive = { focus = HUN_tisza_viii }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_political_power = 200
		}
	}

	focus = {
		id = HUN_tisza_v
		text = HUN_tisza_i
		icon = GFX_focus_HUN_tisza
		relative_position_id = HUN_unstability
		x = -2
		y = 1
		cost = 5
		prerequisite = { focus = HUN_unstability }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_timed_idea = { idea = HUN_tisza_i days = 365 }
		}
	}

	focus = {
		id = HUN_tisza_vi
		text = HUN_tisza_ii
		icon = GFX_focus_generic_social_liberal_victory
		relative_position_id = HUN_tisza_v
		x = -1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_tisza_v }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			
			
			add_popularity = {
				ideology = market_liberal
				popularity = 0.1
			}
		}
	}

	focus = {
		id = HUN_tisza_vii
		text = HUN_tisza_iii
		icon = GFX_focus_GER_call_emergency_elections
		relative_position_id = HUN_tisza_v
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_tisza_v }
		ai_will_do = {
			base = 75
		}
		available = {
			#has_idea = HUN_Corona_Virus
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 50
		}
	}
	
	focus = {
		id = HUN_tisza_viii
		text = HUN_tisza_iv
		icon = GFX_focus_generic_election
		relative_position_id = HUN_tisza_vi
		x = 1
		y = 1
		cost = 5
		prerequisite = { focus = HUN_tisza_vii }
		prerequisite = { focus = HUN_tisza_vi }
		mutually_exclusive = { focus = HUN_fidesz_viii }
		ai_will_do = {
			base = 75
		}
		available = {
			authoritarian_democrat < 0.4
		}
		completion_reward = {
			country_event = { id = Hungary.2024 days = 7 }
		}
	}
}
