focus_tree = {
	id = aus_hun_focus_1

	country = {
		factor = 0
		modifier = {
			add = 100
			OR = {
				has_cosmetic_tag = AUS_HUN_dual
				has_cosmetic_tag = AUS_HUN_dual_regular_names
			}
		}
	}

	continuous_focus_position = { x = 10 y = 2000 }
	default = no

	### Focus Tree Shortcuts ###
	shortcut = {
		name = AUH_army_shortcut
		target = AUS_reform_conscription
		scroll_wheel_factor = 1
	}
	shortcut = {
		name = AUS_CIS_economy_shortcut
		target = AUS_cisleithanien_development
		scroll_wheel_factor = 1
	}
	shortcut = {
		name = AUH_bosnian_crisis_shortcut
		target = AUS_the_bosnian_crisis
		scroll_wheel_factor = 1
	}
	shortcut = {
		name = AUS_CIS_minority_tree_shortcut
		target = AUS_minority_question
		scroll_wheel_factor = 1
	}
	shortcut = {
		name = AUS_CIS_panic_of_1873_shortcut
		target = AUS_the_panic_of_1873
		scroll_wheel_factor = 1
	}
	shortcut = {
		name = AUS_CIS_karl_von_auersperg_shortcut
		target = AUS_the_december_constitution
		scroll_wheel_factor = 1
		trigger = {
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
	}
	shortcut = {
		name = AUS_CIS_edurad_von_taaffe_first_term_shortcut
		target = AUS_the_compromise_cabinet
		scroll_wheel_factor = 1
		trigger = {
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_active_mission = AUS_mission_eduard_von_taaffe
		}
	}
	shortcut = {
		name = AUS_CIS_alfred_jozef_von_potocki_althistory_shortcut
		target = AUS_a_conservative_alternative
		scroll_wheel_factor = 1
		trigger = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
			has_country_flag = AUS_potocki_alt_history_tree
		}
	}
	shortcut = {
		name = AUS_CIS_hardliners_shortcut
		target = AUS_a_hardliner_in_the_lead
		scroll_wheel_factor = 1
		trigger = {
			has_active_mission = AUS_mission_the_two_hard_liners
		}
	}
	shortcut = {
		name = AUS_CIS_alfred_jozef_von_potocki_historical_shortcut
		target = AUS_a_polish_ruling_over_austria
		scroll_wheel_factor = 1
		trigger = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
			NOT = { has_country_flag = AUS_potocki_alt_history_tree }
		}
	}
	shortcut = {
		name = AUS_CIS_hohenwart_shortcut
		target = AUS_the_federalist_government
		scroll_wheel_factor = 1
		trigger = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
			has_active_mission = AUS_mission_karl_sigmund_von_hohenwart
		}
	}
	shortcut = {
		name = AUS_CIS_adolf_von_auersperg_shortcut
		target = AUS_the_next_auersperg_is_here
		scroll_wheel_factor = 1
		trigger = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
			has_active_mission = AUS_mission_adolf_von_auersperg
		}
	}
	shortcut = {
		name = AUS_CIS_eduard_von_taaffe_second_term_shortcut
		target = AUS_he_returns_even_stronger
		scroll_wheel_factor = 1
		trigger = {
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_active_mission = AUS_mission_eduard_von_taaffe_second_term
		}
	}
	### Shared Eco and Military Tree ###
	shared_focus = AUS_cisleithanien_development
	shared_focus = AUS_industrialization_in_transleithania
	shared_focus = AUS_further_investment_in_austrian_lands
	shared_focus = AUS_breadbasket_of_empire
	shared_focus = AUS_found_stb
	shared_focus = AUS_create_mv
	shared_focus = AUS_dualism_in_army
	shared_focus = AUS_the_bosnian_crisis

	### Political Tree ###
	
	# The Political Landscape
	focus = {
		id = AUS_the_political_landscape
		icon = GFX_Focus_Assembly_Law

		cost = 15
		x = 25
		y = 0
		available_if_capitulated = no  
		offset = {
			x = 8
			trigger = {
				has_country_leader = {
					character = AUS_karl_von_auersperg
					ruling_only = yes
				}
			}
		}
		offset = {
			x = 8
			trigger = {
				AND = {
					has_country_leader = {
						character = AUS_eduard_von_taaffe
						ruling_only = yes
					}
					has_active_mission  = AUS_mission_eduard_von_taaffe
				}
			}
		}
		offset = {
			x = 7
			trigger = {
				AND = {
					has_country_leader = {
						character = AUS_adolf_von_auersperg
						ruling_only = yes
					}
					has_active_mission  = AUS_mission_adolf_von_auersperg
				}
			}
		}

		offset = {
			x = 12
			trigger = {
				has_country_leader = {
					character = AUS_eduard_von_taaffe
					ruling_only = yes
				}
				has_active_mission = AUS_mission_eduard_von_taaffe_second_term
				NOT = {
					has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
				}
			}
		}
		offset = {
			x = 8
			trigger = {
				AND = {
					has_country_leader = {
						character = AUS_eduard_von_taaffe
						ruling_only = yes
					}
					has_active_mission  = AUS_mission_eduard_von_taaffe_second_term
					has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
				}
			}
		}

		offset = {
			x = 8
			trigger = {
				AND = {
					has_country_leader = {
						character = AUS_alfred_jozef_potocki
						ruling_only = yes
					}
					has_active_mission  = AUS_mission_alfred_jozef_potocki
					has_country_flag = AUS_potocki_alt_history_tree
				}
			}
		}
		
		ai_will_do = { base = 40}
		completion_reward = {
			country_event = austria_hungary.301
			set_politics = {
				ruling_party = centrism
				elections_allowed = no
			}
			activate_mission = AUS_mission_karl_von_auersperg
			hidden_effect = {
				country_event = { id = austria_hungary.251 days = 40 random_days = 30 }
			}
		}
	}

	## MINORITY TREES ##

	# The minority question
	focus = {
		id = AUS_minority_question
		icon = GFX_goal_AUS_Future_Habsburg_Italy

		cost = 0
		x = -6
		y = 1
		relative_position_id = AUS_the_political_landscape
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_political_landscape }
		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} 
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_initialize_resistance_in_bohemia_tt
			hidden_effect = {
				1010 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
				69 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
				74 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
				72 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
				75 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
				9 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
			}
		}
	}

	# Minor Appeasment for the Czechs
	focus = {
		id = AUS_czech_minor_appeasement_for_czechs
		icon = GFX_Focus_AUH_Minor_Concessions_to_the_Czechs

		cost = 20
		x = -2
		y = 1
		relative_position_id = AUS_minority_question
		available_if_capitulated = no  

		allow_branch = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		prerequisite = { focus = AUS_minority_question }
		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_deny_the_czech_requests }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_political_power = -25
			add_stability = 0.05
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Give Them Cultural and Educational Autonomy
	focus = {
		id = AUS_cultural_and_ecducational_autonomy_for_czechia
		icon = GFX_Focus_AUH_Cultural_Educational_Autonomy_Czechs

		cost = 10
		x = -1
		y = 1
		relative_position_id = AUS_czech_minor_appeasement_for_czechs
		available_if_capitulated = no  

		prerequisite = { focus = AUS_czech_minor_appeasement_for_czechs }
		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_linguistic_rights_for_czechs }
		ai_will_do = { base = 200 }

		completion_reward = {
			set_temp_variable = { mne_decision_token = token:AUS_decision_give_the_czechs_their_own_education } 
			set_temp_variable = { mne_decision_lp_cost = 120 }
			set_temp_variable = { mne_decision_category = 3 } 
			set_temp_variable = { mne_decision_icon = 19 } 
			AUS_multinational_empire_propose_decision = yes
		}
	}

	# Give Them More Linguistic Rights
	focus = {
		id = AUS_linguistic_rights_for_czechs
		icon = GFX_Focus_AUH_Linguistical_Rights_to_the_Czechs

		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_czech_minor_appeasement_for_czechs
		available_if_capitulated = no  

		prerequisite = { focus = AUS_czech_minor_appeasement_for_czechs }
		mutually_exclusive = { focus = AUS_cultural_and_ecducational_autonomy_for_czechia } 
		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_1 } 
			set_temp_variable = { mne_decision_lp_cost = 80 }
			set_temp_variable = { mne_decision_category = 3 } 
			set_temp_variable = { mne_decision_icon = 19 } 
			AUS_multinational_empire_propose_decision = yes
		}
	}

	# The Czechs Calm Down
	focus = {
		id = AUS_czech_calm_down
		icon = GFX_Focus_AUH_Czechs_Calm_Down

		cost = 25
		x = -1
		y = 1
		relative_position_id = AUS_linguistic_rights_for_czechs
		available_if_capitulated = no  

		prerequisite = { 
			focus = AUS_linguistic_rights_for_czechs
			focus = AUS_cultural_and_ecducational_autonomy_for_czechia
		}
		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_karl_von_auersperg
				days = 40
			}
			custom_effect_tooltip = AUS_less_harsh_protest_tt
			hidden_effect = {
				set_country_flag = {
					flag = AUS_less_harsh_czech_protest
					days = 180
					value = 1
				}
			}
		}
	}

	# Deny Their Requests
	focus = {
		id = AUS_deny_the_czech_requests
		icon = GFX_Focus_AUH_Deny_Czech_Demands

		cost = 20
		x = 2
		y = 1
		relative_position_id = AUS_minority_question
		available_if_capitulated = no  

		allow_branch = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		prerequisite = { focus = AUS_minority_question }
		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_czech_minor_appeasement_for_czechs }

		ai_will_do = {
			base = 200
			modifier = {
				factor = 3
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_stability = -0.05
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Avoid Radicalising Them
	focus = {
		id = AUS_avoid_radicalising_the_czechs
		icon = GFX_Focus_AUH_Avoid_Radicalisation_Czechs

		cost = 15
		x = -1
		y = 1
		relative_position_id = AUS_deny_the_czech_requests
		available_if_capitulated = no  

		prerequisite = { focus = AUS_deny_the_czech_requests }
		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_use_the_police_to_silence_the_czechs }

		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_stability = 0.03
			hidden_effect = {
				country_event = {
					id = austria_hungary.252
					days = 20
				}
			}
		}
	}

	# The Boycotts Continue
	focus = {
		id = AUS_the_boycotts_continue
		icon = GFX_focus_general_strike

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_avoid_radicalising_the_czechs
		available_if_capitulated = no  
		
		prerequisite = { focus = AUS_avoid_radicalising_the_czechs }
		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} 
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			decrease_ps_by_one = yes
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Use the Police to Silent Them
	focus = {
		id = AUS_use_the_police_to_silence_the_czechs
		icon = GFX_Focus_Eliminate_Resistance

		cost = 15
		x = 1
		y = 1
		relative_position_id = AUS_deny_the_czech_requests
		available_if_capitulated = no  
		
		prerequisite = { focus = AUS_deny_the_czech_requests }
		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_avoid_radicalising_the_czechs }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = -0.03
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			if = {
				limit = {
					1010 = {
						occupation_law = local_police_force_garrison
					}
					69 = {
						occupation_law = local_police_force_garrison
					}
					74 = {
						occupation_law = local_police_force_garrison
					}
					72 = {
						occupation_law = local_police_force_garrison
					}
					75 = {
						occupation_law = local_police_force_garrison
					}
					9 = {
						occupation_law = local_police_force_garrison
					}
				}
				
				custom_effect_tooltip = AUS_set_occupation_law_in_bohemia
				hidden_effect = {
					1010 = {
						set_occupation_law = local_police_force_garrison
					}
					69 = {
						set_occupation_law = local_police_force_garrison
					}
					74 = {
						set_occupation_law = local_police_force_garrison
					}
					72 = {
						set_occupation_law = local_police_force_garrison
					}
					75 = {
						set_occupation_law = local_police_force_garrison
					}
					9 = {
						set_occupation_law = local_police_force_garrison
					}
				}
			}
			else = {
				increase_slider_law = yes
			}
			hidden_effect = {
				country_event = {
					id = austria_hungary.253
					days = 15
				}
			}	
		}
	}

	# The Czech Riots
	focus = {
		id = AUS_the_czech_riots
		icon = GFX_focus_ITA_anarchism

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_use_the_police_to_silence_the_czechs
		available_if_capitulated = no  
		
		prerequisite = { focus = AUS_use_the_police_to_silence_the_czechs }
		available = { custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_karl_von_auersperg
				days = -40
			}
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			custom_effect_tooltip = AUS_more_harsh_protest_tt
			hidden_effect = {
				set_country_flag = {
					flag = AUS_more_harsh_czech_protest
					days = 180
					value = 1
				}
			}
		}
	}

	# The Language Questions
	focus = {
		id = AUS_the_language_question
		icon = GFX_Focus_AUH_Language_Question

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_minority_question
		available_if_capitulated = no  

		allow_branch = { 
			AND = {
				has_country_leader = {
					character = AUS_eduard_von_taaffe
					ruling_only = yes
				}
				has_active_mission  = AUS_mission_eduard_von_taaffe
			}
		}
		prerequisite = { focus = AUS_minority_question }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.02
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Attempt Minor Changes
	focus = {
		id = AUS_attempt_minor_changes
		icon = GFX_Focus_Government_Reform_Administration

		cost = 20
		x = -2
		y = 1
		relative_position_id = AUS_the_language_question
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_try_to_ignore_them }
		prerequisite = { focus = AUS_the_language_question }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_political_power = 20
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_one_tt
			custom_effect_tooltip = AUS_decrease_the_resistance_in_bohemia_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.01
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				1010 = {
					add_resistance = -3
				}
				69 = {
					add_resistance = -3
				}
				74 = {
					add_resistance = -3
				}
				72 = {
					add_resistance = -3
				}
				75 = {
					add_resistance = -3
				}
				9 = {
					add_resistance = -3
				}
			}
		}
	}

	# The Other Minorities Want Rights Too
	focus = {
		id = AUS_other_nationalities_want_rights_too
		icon = GFX_Focus_Question_Constitution

		cost = 25
		x = 0
		y = 1
		relative_position_id = AUS_attempt_minor_changes
		available_if_capitulated = no  

		prerequisite = { focus =  AUS_attempt_minor_changes }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			country_event = { id = austria_hungary.303 }
		}
	}

	# Give Them Their Rights!
	focus = {
		id = AUS_give_them_their_rights
		icon = GFX_Focus_freedom_abode

		cost = 0
		x = -1
		y = 1
		relative_position_id = AUS_other_nationalities_want_rights_too
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_enough_is_enough }
		prerequisite = { focus =  AUS_other_nationalities_want_rights_too }
		available = { custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} }
		ai_will_do = { base = 200 }
		completion_reward = {
			country_event = { id = austria_hungary.304 days = 5 }
		}
	}

	# Enough Is Enough!
	focus = {
		id = AUS_enough_is_enough
		icon = GFX_Focus_maintain_the_status_quo

		cost = 0
		x = 1
		y = 1
		relative_position_id = AUS_other_nationalities_want_rights_too
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_give_them_their_rights }
		prerequisite = { focus =  AUS_other_nationalities_want_rights_too }
		available = { custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} }
		ai_will_do = { base = 200 }
		completion_reward = {
			add_political_power = 25
			add_stability = 0.02
			custom_effect_tooltip = AUS_increase_all_nationalisms_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = 0.02
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Try To Ignore Them
	focus = {
		id = AUS_try_to_ignore_them
		icon = GFX_focus_BAD_Reaktionsera

		cost = 20
		x = 2
		y = 1
		relative_position_id = AUS_the_language_question
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_attempt_minor_changes }
		prerequisite = { focus = AUS_the_language_question }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			add_stability = -0.05
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Avoid Radicalising Them
	focus = {
		id = AUS_avoid_radicalising_the_them
		icon = GFX_Focus_AUH_Avoid_Radicalisation_Czechs

		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_try_to_ignore_them
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_use_the_police_to_silence_them }
		prerequisite = { focus = AUS_try_to_ignore_them }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			add_stability = 0.03
			add_war_support = 0.03
			hidden_effect = {
				country_event = {
					id = austria_hungary.252
					days = 20
				}
			}
		}
	}

	# The Boycott Continues
	focus = {
		id = AUS_the_boycotts_continues_taaffe
		icon = GFX_focus_general_strike

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_avoid_radicalising_the_them
		available_if_capitulated = no  

		prerequisite = { focus = AUS_avoid_radicalising_the_them }
		available = { custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} }
		ai_will_do = { base = 200 }

		completion_reward = {
			decrease_ps_by_one = yes
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Use The Police To Silence Them
	focus = {
		id = AUS_use_the_police_to_silence_them
		icon = GFX_Focus_Eliminate_Resistance

		cost = 20
		x = 1
		y = 1
		relative_position_id = AUS_try_to_ignore_them
		available_if_capitulated = no  

		mutually_exclusive = { focus =AUS_avoid_radicalising_the_them }
		prerequisite = { focus = AUS_try_to_ignore_them }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = -0.05
			add_war_support = -0.03
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_six_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.06
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			if = {
				limit = {
					1010 = {
						occupation_law = local_police_force_garrison
					}
					69 = {
						occupation_law = local_police_force_garrison
					}
					74 = {
						occupation_law = local_police_force_garrison
					}
					72 = {
						occupation_law = local_police_force_garrison
					}
					75 = {
						occupation_law = local_police_force_garrison
					}
					9 = {
						occupation_law = local_police_force_garrison
					}
				}
				
				custom_effect_tooltip = AUS_set_occupation_law_in_bohemia
				hidden_effect = {
					1010 = {
						set_occupation_law = local_police_force_garrison
					}
					69 = {
						set_occupation_law = local_police_force_garrison
					}
					74 = {
						set_occupation_law = local_police_force_garrison
					}
					72 = {
						set_occupation_law = local_police_force_garrison
					}
					75 = {
						set_occupation_law = local_police_force_garrison
					}
					9 = {
						set_occupation_law = local_police_force_garrison
					}
				}
			}
			else = {
				increase_slider_law = yes
			}
			hidden_effect = {
				country_event = {
					id = austria_hungary.253
					days = 15
				}
			}
		}
	}

	# Czech Riots
	focus = {
		id = AUS_czech_riots
		icon = GFX_focus_ITA_anarchism

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_use_the_police_to_silence_them
		available_if_capitulated = no  

		prerequisite = { focus = AUS_use_the_police_to_silence_them }
		available = { custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_eduard_von_taaffe
				days = -40
			}
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			custom_effect_tooltip = AUS_more_harsh_protest_tt
			hidden_effect = {
				set_country_flag = {
					flag = AUS_more_harsh_czech_protest
					days = 180
					value = 1
				}
			}
		}
	}

	# Start Negotiating a Compromise
	focus = {
		id = AUS_start_negotiating_a_compromise
		icon = GFX_Focus_Ideology_Liberal_comprimise

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_minority_question
		available_if_capitulated = no  

		allow_branch = { 
			AND = {
				has_country_leader = {
					character = AUS_alfred_jozef_potocki
					ruling_only = yes
				}
				has_active_mission  = AUS_mission_alfred_jozef_potocki
				has_country_flag = AUS_potocki_alt_history_tree
			}
		}
		prerequisite = { focus = AUS_minority_question }
		available = { 
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			custom_effect_tooltip = AUS_decrease_the_resistance_in_bohemia_by_two_tt
			hidden_effect = {
				1010 = {
					add_resistance = -2
				}
				69 = {
					add_resistance = -2
				}
				74 = {
					add_resistance = -2
				}
				72 = {
					add_resistance = -2
				}
				75 = {
					add_resistance = -2
				}
				9 = {
					add_resistance = -2
				}
			}
		}
	}

	# A Full Compromise With The Czechs
	focus = {
		id = AUS_full_compromise_with_the_czechs
		icon = GFX_Focus_AUH_Full_Compromise_Czech

		cost = 10
		x = -2
		y = 1
		relative_position_id = AUS_start_negotiating_a_compromise
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_minor_compromise }
		prerequisite = { focus = AUS_start_negotiating_a_compromise }
		available = { 
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			activate_mission = AUS_mission_the_big_day
			set_variable = {
				var = AUS_proposal_support
				value = 0.15
				tooltip = AUS_set_proposal_to_fifteen_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_minor_parties
			unlock_decision_tooltip = AUS_meet_with_the_minor_parties
			unlock_decision_tooltip = AUS_negotiate_with_representatives_in_the_middle
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
			}
		}
	}

	# Agitate The Liberals
	focus = {
		id = AUS_agitate_the_liberals
		icon = GFX_Focus_Electorate_rally_people

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_full_compromise_with_the_czechs
		available_if_capitulated = no  

		prerequisite = { focus = AUS_full_compromise_with_the_czechs }
		available = { 
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			unlock_decision_tooltip = AUS_try_to_convince_the_moderate_liberals
			unlock_decision_tooltip = AUS_try_the_impossible
		}
	}

	# The Proposal Has Passed
	focus = {
		id = AUS_the_proposal_has_passed
		icon = GFX_Focus_Law_Vote_1

		cost = 0
		x = -1
		y = 1
		relative_position_id = AUS_agitate_the_liberals
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_the_proposal_is_denied }
		prerequisite = { focus = AUS_agitate_the_liberals }
		available = { custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} }
		ai_will_do = { base = 200 }
		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_semi_trialism_achieved
				days = 365
			}
			custom_effect_tooltip = AUS_disable_resistance_in_bohemia_tt
			hidden_effect = {
				1010 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				69 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				74 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				72 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				75 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				9 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				hidden_effect = {
					HUN = { country_event = { id = austria_hungary.1 } }
					country_event = { id = austria_hungary.1 }
				}
			}	
		}
	}

	# The Proposal Is Denied
	focus = {
		id = AUS_the_proposal_is_denied
		icon = GFX_Focus_Break_Treaty

		cost = 0
		x = 1
		y = 1
		relative_position_id = AUS_agitate_the_liberals
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_the_proposal_has_passed }
		prerequisite = { focus = AUS_agitate_the_liberals }
		available = { custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} }
		ai_will_do = { base = 200 }
		completion_reward = {
			decrease_ps_by_two = yes
			add_stability = -0.10
		}
	}

	# Minor Compromise
	focus = {
		id = AUS_minor_compromise
		icon = GFX_Focus_Law_revision

		cost = 25
		x = 2
		y = 1
		relative_position_id = AUS_start_negotiating_a_compromise
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_full_compromise_with_the_czechs }
		prerequisite = { focus = AUS_start_negotiating_a_compromise }
		available = { 
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			add_stability = 0.02
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_one_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.01
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Cultural And Educational Autonomy
	focus = {
		id = AUS_cultural_and_educational_autonomy
		icon = GFX_Focus_AUH_Cultural_Educational_Autonomy_Czechs

		cost = 10
		x = -1
		y = 1
		relative_position_id = AUS_minor_compromise
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_more_linguistic_rights }
		prerequisite = { focus = AUS_minor_compromise}
		available = { 
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_not_czechs_having_their_education_tt
				NOT = { has_country_flag = AUS_the_czechs_have_their_own_education }
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			set_temp_variable = { mne_decision_token = token:AUS_decision_give_the_czechs_their_own_education } 
			set_temp_variable = { mne_decision_lp_cost = 120 }
			set_temp_variable = { mne_decision_category = 3 } 
			set_temp_variable = { mne_decision_icon = 19 } 
			AUS_multinational_empire_propose_decision = yes
		}
	}

	# More Linguistic Rights
	focus = {
		id = AUS_more_linguistic_rights
		icon = GFX_Focus_AUH_Linguistical_Rights_to_the_Czechs

		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_minor_compromise
		available_if_capitulated = no  

		mutually_exclusive = { focus = AUS_cultural_and_educational_autonomy }
		prerequisite = { focus = AUS_minor_compromise}
		available = { 
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			if = {
				limit = {
					NOT = { has_country_flag = AUS_czechs_having_language_rights_1 }
				}
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_1 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
			else = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_2 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
		}
	}
	# The Czechs Calm Down
	focus = {
		id = AUS_the_czechs_calm_down
		icon = GFX_Focus_AUH_Czechs_Calm_Down

		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_cultural_and_educational_autonomy
		available_if_capitulated = no  

		prerequisite = { focus = AUS_cultural_and_educational_autonomy focus = AUS_more_linguistic_rights}
		available = { 
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_karl_von_auersperg
				days = 20
			}
			custom_effect_tooltip = AUS_less_harsh_protest_tt
			hidden_effect = {
				set_country_flag = {
					flag = AUS_less_harsh_czech_protest
					days = 180
					value = 1
				}
			}
		}
	}

	# Tackle The Czech Question
	focus = {
		id = AUS_tackle_the_czech_question
		icon = GFX_Focus_AUH_Czech_Question

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_minority_question
		available_if_capitulated = no  

		allow_branch = { 
			AND = {
				has_country_leader = {
					character = AUS_adolf_von_auersperg
					ruling_only = yes
				}
				has_active_mission  = AUS_mission_adolf_von_auersperg
			}
		}
		prerequisite = { focus = AUS_minority_question }
		available = { 
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			add_war_support = 0.03
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_one_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.01
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Attempt Some Minor Changes
	focus = {
		id = AUS_attempt_some_minor_changes
		icon = GFX_Focus_Government_Reform_Administration

		cost = 15
		x = -2
		y = 1
		relative_position_id = AUS_tackle_the_czech_question
		available_if_capitulated = no  

		prerequisite = { focus = AUS_tackle_the_czech_question }
		available = { 
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_try_to_ingore_their_requests }
		ai_will_do = { base = 200 }
		completion_reward = {
			custom_effect_tooltip = AUS_decrease_the_resistance_in_bohemia_by_five_tt
			hidden_effect = {
				1010 = {
					add_resistance = -5
				}
				69 = {
					add_resistance = -5
				}
				74 = {
					add_resistance = -5
				}
				72 = {
					add_resistance = -5
				}
				75 = {
					add_resistance = -5
				}
				9 = {
					add_resistance = -5
				}
			}
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Give Them More Linguistic Rights
	focus = {
		id = AUS_give_them_more_linguistic_rights
		icon = GFX_Focus_AUH_Linguistical_Rights_to_the_Czechs

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_attempt_some_minor_changes
		available_if_capitulated = no  

		prerequisite = { focus = AUS_attempt_some_minor_changes }
		available = { 
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			if = {
				limit = {
					NOT = { has_country_flag = AUS_czechs_having_language_rights_1 }
				}
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_1 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
			else_if = {
				limit = {
					NOT = { has_country_flag = AUS_czechs_having_language_rights_2 }
				}
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_2 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
			else = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_3 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
		}
	}

	# Try To Bring Them To Our Side
	focus = {
		id = AUS_try_to_bring_them_to_our_side
		icon = GFX_Focus_Liberal_Alliance

		cost = 15
		x = 0
		y = 1
		relative_position_id = AUS_give_them_more_linguistic_rights
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_them_more_linguistic_rights }
		available = { 
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }
		completion_reward = {
			unlock_decision_tooltip = AUS_political_campaigns_in_bohemia
			unlock_decision_tooltip = AUS_cooperate_with_the_czech_parties
		}
	}

	# Try To Ignore The Czech Requests
	focus = {
		id = AUS_try_to_ingore_their_requests
		icon = GFX_focus_BAD_Reaktionsera

		cost = 20
		x = 2
		y = 1
		relative_position_id = AUS_tackle_the_czech_question
		available_if_capitulated = no  

		prerequisite = { focus = AUS_tackle_the_czech_question }
		available = { 
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_attempt_some_minor_changes }

		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_war_support = -0.02
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Avoid Radicalising Them Even More
	focus = {
		id = AUS_avoid_radicalising_them_even_more
		icon = GFX_Focus_AUH_Avoid_Radicalisation_Czechs

		cost = 10
		x = -1
		y = 1
		relative_position_id = AUS_try_to_ingore_their_requests
		available_if_capitulated = no  

		prerequisite = { focus = AUS_try_to_ingore_their_requests }
		available = { 
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_use_the_police_to_silence_the_czechs_adolf_von_auersperg }

		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_stability = 0.05
			add_war_support = 0.03
			hidden_effect = {
				country_event = {
					id = austria_hungary.252
					days = 20
				}
			}
		}
	}

	# The Czech Boycotts Continue
	focus = {
		id = AUS_the_czech_boycotts_continue
		icon = GFX_focus_general_strike

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_avoid_radicalising_them_even_more
		available_if_capitulated = no  
		
		prerequisite = { focus = AUS_avoid_radicalising_them_even_more }
		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} 
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			decrease_ps_by_one = yes
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Use the Police to Silence Them
	focus = {
		id = AUS_use_the_police_to_silence_the_czechs_adolf_von_auersperg
		icon = GFX_Focus_Eliminate_Resistance

		cost = 15
		x = 1
		y = 1
		relative_position_id = AUS_try_to_ingore_their_requests
		available_if_capitulated = no  
		
		prerequisite = { focus = AUS_try_to_ingore_their_requests }
		available = { 
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}
		mutually_exclusive = { focus = AUS_avoid_radicalising_them_even_more }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = -0.05
			add_war_support = -0.05
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_nine_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.09
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			
			if = {
				limit = {
					1010 = {
						occupation_law = local_police_force_garrison
					}
					69 = {
						occupation_law = local_police_force_garrison
					}
					74 = {
						occupation_law = local_police_force_garrison
					}
					72 = {
						occupation_law = local_police_force_garrison
					}
					75 = {
						occupation_law = local_police_force_garrison
					}
					9 = {
						occupation_law = local_police_force_garrison
					}
				}
				
				custom_effect_tooltip = AUS_set_occupation_law_in_bohemia
				hidden_effect = {
					1010 = {
						set_occupation_law = local_police_force_garrison
					}
					69 = {
						set_occupation_law = local_police_force_garrison
					}
					74 = {
						set_occupation_law = local_police_force_garrison
					}
					72 = {
						set_occupation_law = local_police_force_garrison
					}
					75 = {
						set_occupation_law = local_police_force_garrison
					}
					9 = {
						set_occupation_law = local_police_force_garrison
					}
				}
			}
			else = {
				increase_slider_law = yes
			}
			hidden_effect = {
				country_event = {
					id = austria_hungary.253
					days = 15
				}
			}	
		}
	}

	# The Czech Riots Break Out
	focus = {
		id = AUS_the_czech_riots_break_out
		icon = GFX_focus_ITA_anarchism

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_use_the_police_to_silence_the_czechs_adolf_von_auersperg
		available_if_capitulated = no  
		
		prerequisite = { focus = AUS_use_the_police_to_silence_the_czechs_adolf_von_auersperg }
		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			} 
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_adolf_von_auersperg
				days = -50
			}
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_ten_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.10
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			custom_effect_tooltip = AUS_more_harsh_protest_tt
			hidden_effect = {
				set_country_flag = {
					flag = AUS_more_harsh_czech_protest
					days = 250
					value = 1
				}
			}
		}
	}

	# Situation Of The Other Crownlands
	focus = {
		id = AUS_situation_of_the_other_crown_lands
		icon = GFX_Focus_AUH_Situation_Other_Crownlands

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_minority_question
		available_if_capitulated = no  

		allow_branch = { 
			AND = {
				has_country_leader = {
					character = AUS_eduard_von_taaffe
					ruling_only = yes
				}
				has_active_mission  = AUS_mission_eduard_von_taaffe_second_term
				has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
			}
		}
		prerequisite = { focus = AUS_minority_question }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			AUS = { country_event = { id = austria_hungary.254 days = 10} }
		}
	}

	# There Is No Need to
	focus = {
		id = AUS_there_is_no_need_to
		icon = GFX_goal_end_oligarchy_rule

		cost = 20
		x = 2
		y = 1
		relative_position_id = AUS_situation_of_the_other_crown_lands
		available_if_capitulated = no  

		prerequisite = { focus = AUS_situation_of_the_other_crown_lands }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
		}
		ai_will_do = { base = 200 }
		mutually_exclusive = { focus = AUS_expand_some_of_the_rights_to_galicia }

		completion_reward = {
			add_political_power = 30
			add_stability = 0.02
			AUS = { country_event = { id = austria_hungary.255 days = 30 random_days = 10 } }
		}
	}

	# The Poles Lose Their Trust In Us
	focus = {
		id = AUS_poles_lose_their_trust
		icon = GFX_Focus_AUH_Calm_Polish_Peasants

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_there_is_no_need_to
		available_if_capitulated = no  

		prerequisite = { focus = AUS_there_is_no_need_to }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_hard_liner_liberals_are_closer_to_us_tt
			custom_effect_tooltip = AUS_no_polish_party_in_the_cabinet_tt
			hidden_effect = {
				set_country_flag = {
					flag = AUS_poles_lose_their_trust
					days = 2922
				}
			}
		}
	}

	# Expand Some Of The Rights To Galicia
	focus = {
		id = AUS_expand_some_of_the_rights_to_galicia
		icon = GFX_Focus_AUH_Expand_Some_Rights_Galicia

		cost = 35
		x = -2
		y = 1
		relative_position_id = AUS_situation_of_the_other_crown_lands
		available_if_capitulated = no  

		prerequisite = { focus = AUS_situation_of_the_other_crown_lands }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
		}
		mutually_exclusive = { focus = AUS_there_is_no_need_to }

		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			custom_effect_tooltip = AUS_decrease_polish_nationalism_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.02
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Help Them Up From Poverty
	focus = {
		id = AUS_help_them_up_from_poverty
		icon = GFX_Focus_social_investments

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_expand_some_of_the_rights_to_galicia
		available_if_capitulated = no  

		prerequisite = { focus = AUS_expand_some_of_the_rights_to_galicia }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.02
			custom_effect_tooltip = AUS_decrease_polish_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.03
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}

			if = {
				limit = {
					OR = {
						89 = {
							has_dynamic_modifier = { modifier = dynmod_AUS_galician_poverty }
						}
						88 = {
							has_dynamic_modifier = { modifier = dynmod_AUS_galician_poverty }
						}
						91 = {
							has_dynamic_modifier = { modifier = dynmod_AUS_galician_poverty }
						}
						1321 = {
							has_dynamic_modifier = { modifier = dynmod_AUS_galician_poverty }
						}
					}
				}

				unlock_decision_tooltip = AUS_decision_give_government_fundings_for_the_polsih_industry
				unlock_decision_tooltip = AUS_decision_build_gobernment_owned_factories
				unlock_decision_tooltip = AUS_decision_help_the_unemployment_issue_here
			}
		}
	}

	# Only Send Them Economic Funds
	focus = {
		id = AUS_only_send_them_economic_fund
		icon = GFX_Focus_Electorate_the_elite

		cost = 15
		x = -1
		y = 1
		relative_position_id = AUS_help_them_up_from_poverty
		available_if_capitulated = no  

		prerequisite = { focus = AUS_help_them_up_from_poverty }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
		}
		ai_will_do = { base = 200 }
		mutually_exclusive = { focus = AUS_help_them_build_up }

		completion_reward = {
			add_stability = 0.05
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = AUS_decrease_polish_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.03
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Help Them Build Up
	focus = {
		id = AUS_help_them_build_up
		icon = GFX_focus_capitalism_liberalism

		cost = 25
		x = 1
		y = 1
		relative_position_id = AUS_help_them_up_from_poverty
		available_if_capitulated = no  

		prerequisite = { focus = AUS_help_them_up_from_poverty }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
		}
		ai_will_do = { base = 200 }
		mutually_exclusive = { focus = AUS_only_send_them_economic_fund }

		completion_reward = {
			custom_effect_tooltip = AUS_decrease_polish_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}

			if = {
				limit = {
					OR = {
						89 = {
							has_dynamic_modifier = { modifier = dynmod_AUS_galician_poverty }
						}
						88 = {
							has_dynamic_modifier = { modifier = dynmod_AUS_galician_poverty }
						}
						91 = {
							has_dynamic_modifier = { modifier = dynmod_AUS_galician_poverty }
						}
						1321 = {
							has_dynamic_modifier = { modifier = dynmod_AUS_galician_poverty }
						}
					}
				}

				unlock_decision_tooltip = AUS_decision_build_up_their_industry
			}
		}
	}

	# Offer Them Consessions
	focus = {
		id = AUS_offer_them_consessions_for_political_support
		icon = GFX_Focus_Business_Subsidies

		cost = 40
		x = -1
		y = 1
		relative_position_id = AUS_help_them_build_up
		available_if_capitulated = no  

		prerequisite = { focus = AUS_only_send_them_economic_fund focus = AUS_help_them_build_up}
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			decrease_ps_by_one = yes
			custom_effect_tooltip = AUS_decrease_polish_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			add_political_power = 30
		}
	}

	# The Language Question Continues
	focus = {
		id = AUS_the_language_question_continues
		icon = GFX_Focus_AUH_Language_Question

		cost = 30
		x = 0
		y = 1
		relative_position_id = AUS_minority_question
		available_if_capitulated = no  

		allow_branch = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			has_active_mission = AUS_mission_eduard_von_taaffe_second_term
			NOT = {
				has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
			}
		}
		prerequisite = { focus = AUS_minority_question }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.02
			add_political_power = 30
		}
	}

	# Give Rights To the Non-Germans
	focus = {
		id = AUS_give_rights_to_the_non_germans
		icon = GFX_Focus_AUH_Rights_Non_Germans

		cost = 10
		x = -4
		y = 1
		relative_position_id = AUS_the_language_question_continues
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_language_question_continues }
		mutually_exclusive = { focus = AUS_minor_compensation_for_bohemia focus = AUS_leave_it_as_it_is }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_decrease_the_resistance_in_bohemia_by_five_tt
			hidden_effect = {
				1010 = {
					add_resistance = -5
				}
				69 = {
					add_resistance = -5
				}
				74 = {
					add_resistance = -5
				}
				72 = {
					add_resistance = -5
				}
				75 = {
					add_resistance = -5
				}
				9 = {
					add_resistance = -5
				}
			}
		}
	}

	# Give Them A Place in the Administration
	focus = {
		id = AUS_give_them_a_place_in_the_administration
		icon = GFX_goal_liberal_alliance

		cost = 15
		x = -3
		y = 1
		relative_position_id = AUS_give_rights_to_the_non_germans
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_rights_to_the_non_germans }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_minorities_in_the_administartion
				days = 720
			}
		}
	}

	# Second Language In The Administration
	focus = {
		id = AUS_second_language_in_the_administration
		icon = GFX_Focus_AUH_Second_Language

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_give_them_a_place_in_the_administration
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_them_a_place_in_the_administration }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			country_event = { id = austria_hungary.256 }
		}
	}

	# Have A Partial Compromise With The Czechs
	focus = {
		id = AUS_have_a_partial_compromise_with_the_czechs
		icon = GFX_Focus_Law_revision

		cost = 35
		x = -1
		y = 1
		relative_position_id = AUS_give_rights_to_the_non_germans
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_rights_to_the_non_germans }
		mutually_exclusive = { focus = AUS_full_autonomy_for_bohemia }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_no_semi_trialism_yet_tt
			}
			hidden_trigger = {
				NOT = {
					OR = {
						has_completed_focus = AUS_the_proposal_is_passed
						has_completed_focus = AUS_we_somehow_got_through_with_it
						has_completed_focus = AUS_the_proposal_has_passed
						has_completed_focus = AUS_with_the_help_of_the_emperor_we_have_prevailed
					}
				}
			}
		}

		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_semi_trialism_for_bohemia
			set_variable = {
				var = AUS_proposal_support
				value = 0.25
				tooltip = AUS_set_proposal_to_twentyfive_tt
			}
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_representatives_in_the_middle
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 40
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 25
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 35
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 30
				}
			}
			custom_effect_tooltip = AUS_decrease_the_resistance_in_bohemia_by_five_tt
			hidden_effect = {
				1010 = {
					add_resistance = -8
				}
				69 = {
					add_resistance = -8
				}
				74 = {
					add_resistance = -8
				}
				72 = {
					add_resistance = -8
				}
				75 = {
					add_resistance = -8
				}
				9 = {
					add_resistance = -8
				}
			}
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Full Autonomy For Bohemia
	focus = {
		id = AUS_full_autonomy_for_bohemia
		icon = GFX_Focus_AUH_Full_Compromise_Czech

		cost = 30
		x = 1
		y = 1
		relative_position_id = AUS_give_rights_to_the_non_germans
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_rights_to_the_non_germans }
		mutually_exclusive = { focus = AUS_have_a_partial_compromise_with_the_czechs }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_no_full_trialism_yet_tt
			}
			hidden_trigger = {
				NOT = {
					OR = {
						has_completed_focus = AUS_the_proposal_has_passed
						has_completed_focus = AUS_with_the_help_of_the_emperor_we_have_prevailed
					}
				}
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			activate_mission = AUS_mission_vote_on_the_status_of_the_bohemian_crownland
			activate_mission = AUS_mission_the_inevitable
			set_variable = {
				var = AUS_proposal_support
				value = 0.20
				tooltip = AUS_set_proposal_to_twenty_tt
			}
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 40
				}
			}
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_representatives_in_the_middle
			unlock_decision_tooltip = AUS_decision_rally_the_conservative_support
			unlock_decision_tooltip = AUS_decision_strike_a_deal_with_the_liberals
			unlock_decision_tooltip = AUS_decision_try_to_convince_the_hard_liner_liberals
		}
	}

	# The Liberals Back Away From Our Government
	focus = {
		id = AUS_the_liberals_back_away_from_our_government
		icon = GFX_Focus_Lose_Support_Liberals

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_full_autonomy_for_bohemia
		available_if_capitulated = no  

		prerequisite = { focus = AUS_full_autonomy_for_bohemia }
		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_disable_liberal_decisions_tt
		}
	}

	# Increase The Literacy In Bohemia
	focus = {
		id = AUS_increase_literacy_in_bohemia
		icon = GFX_Focus_SER_Educate_New_Staff

		cost = 30
		x = -1
		y = 1
		relative_position_id = AUS_the_liberals_back_away_from_our_government
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_liberals_back_away_from_our_government focus = AUS_have_a_partial_compromise_with_the_czechs }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_tech_bonus = { bonus = 0.30 uses = 1 category = economics_tech }
		}
	}

	# Minor Compensations For Bohemia
	focus = {
		id = AUS_minor_compensation_for_bohemia
		icon = GFX_Focus_AUH_Minor_Concessions_to_the_Czechs

		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_the_language_question_continues
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_language_question_continues }
		mutually_exclusive = { focus = AUS_give_rights_to_the_non_germans focus = AUS_leave_it_as_it_is }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Allow Partial Language Rights
	focus = {
		id = AUS_allow_partial_language_rights
		icon = GFX_Focus_AUH_Linguistical_Rights_to_the_Czechs

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_minor_compensation_for_bohemia
		available_if_capitulated = no  

		prerequisite = { focus = AUS_minor_compensation_for_bohemia }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			if = {
				limit = {
					NOT = { has_country_flag = AUS_czechs_having_language_rights_1 }
				}
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_1 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
			else_if = {
				limit = {
					NOT = { has_country_flag = AUS_czechs_having_language_rights_2 }
				}
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_2 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
			else = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_3 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
		}
	}
	
	# Give Funds To The Czech Administrations
	focus = {
		id = AUS_give_funds_to_the_czech_administration
		icon = GFX_Focus_SER_Serbian_Bank

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_allow_partial_language_rights
		available_if_capitulated = no  

		prerequisite = { focus = AUS_allow_partial_language_rights }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.03
			add_war_support = 0.02
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
		}
	}

	# Leave It As It Is
	focus = {
		id = AUS_leave_it_as_it_is
		icon = GFX_Focus_Assembly_Law

		cost = 20
		x = 1
		y = 1
		relative_position_id = AUS_the_language_question_continues
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_language_question_continues }
		mutually_exclusive = { focus = AUS_give_rights_to_the_non_germans focus = AUS_minor_compensation_for_bohemia }
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = -0.05
			custom_effect_tooltip = AUS_increase_the_resistance_in_bohemia_by_eight_tt
			hidden_effect = {
				country_event = { id = austria_hungary.257 days = 50 random = 20 }
				1010 = {
					add_resistance = 8
				}
				69 = {
					add_resistance = 8
				}
				74 = {
					add_resistance = 8
				}
				72 = {
					add_resistance = 8
				}
				75 = {
					add_resistance = 8
				}
				9 = {
					add_resistance = 8
				}
			}
		}
	}

	# The Nationalities Turn Away From Us
	focus = {
		id = AUS_the_nationalities_turn_away_from_us
		icon = GFX_goal_Focus_RUS_further_soften_censorship_law

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_leave_it_as_it_is
		available_if_capitulated = no  

		prerequisite = { focus = AUS_leave_it_as_it_is }
		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}
		ai_will_do = { base = 200 }

		completion_reward = {
			add_political_power = -20
			custom_effect_tooltip = AUS_increase_all_nationalisms_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = 0.02
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Help Out In Galicia
	focus = {
		id = AUS_help_out_in_galicia
		icon = GFX_Focus_AUH_Help_out_Galicia

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_minority_question
		available_if_capitulated = no  
		offset = {
			x = -8
			trigger = {
				has_country_leader = {
					character = AUS_karl_von_auersperg
					ruling_only = yes
				}
			}
		}
		offset = {
			x = -8
			trigger = {
				AND = {
					has_country_leader = {
						character = AUS_eduard_von_taaffe
						ruling_only = yes
					}
					has_active_mission  = AUS_mission_eduard_von_taaffe
				}
			}
		}
		offset = {
			x = -8
			trigger = {
				AND = {
					has_country_leader = {
						character = AUS_alfred_jozef_potocki
						ruling_only = yes
					}
					has_active_mission  = AUS_mission_alfred_jozef_potocki
					has_country_flag = AUS_potocki_alt_history_tree
				}
			}
		}
		offset = {
			x = -7
			trigger = {
				AND = {
					has_country_leader = {
						character = AUS_adolf_von_auersperg
						ruling_only = yes
					}
					has_active_mission  = AUS_mission_adolf_von_auersperg
				}
			}
		}
		offset = {
			x = -12
			trigger = {
				has_country_leader = {
					character = AUS_eduard_von_taaffe
					ruling_only = yes
				}
				has_active_mission = AUS_mission_eduard_von_taaffe_second_term
				NOT = {
					has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
				}
			}
		}
		offset = {
			x = -8
			trigger = {
				AND = {
					has_country_leader = {
						character = AUS_eduard_von_taaffe
						ruling_only = yes
					}
					has_active_mission  = AUS_mission_eduard_von_taaffe_second_term
					has_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
				}
			}
		}

		prerequisite = { focus = AUS_minority_question }
		ai_will_do = { base = 200 }

		completion_reward = {
			country_event = { id = austria_hungary.257 }
			custom_effect_tooltip = AUS_initialize_resistance_in_galicia_tt
			hidden_effect = {
				89 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
				88 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
				91 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
				1321 = {
					add_resistance = 20
					force_enable_resistance = AUS
					start_resistance = yes
				}
			}
		}
	}

	# The Ruthenian Problem
	focus = {
		id = AUS_the_ruthenian_problem
		icon = GFX_Focus_AUH_The_Ruthenian_Problem

		cost = 35
		x = -3
		y = 1
		relative_position_id = AUS_help_out_in_galicia
		available_if_capitulated = no  

		prerequisite = { focus = AUS_help_out_in_galicia }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_initialize_resistance_in_galicia_tt
			custom_effect_tooltip = AUS_decrease_compliance_in_rusyn_lands_by_three_tt
			custom_effect_tooltip = AUS_decrease_resistance_in_polish_lands_by_five_tt
			hidden_effect = {
				89 = {
					add_resistance = -5
				}
				88 = {
					add_compliance = -3
				}
				91 = {
					add_compliance = -3
				}
				1321 = {
					add_resistance = -5
				}
			}
		}
	}

	# Try To Reach A Middle-Ground
	focus = {
		id = AUS_try_to_reach_a_middle_ground
		icon = GFX_Focus_Law_And_Order

		cost = 40
		x = -2
		y = 1
		relative_position_id = AUS_the_ruthenian_problem
		available_if_capitulated = no

		prerequisite = { focus = AUS_the_ruthenian_problem }
		mutually_exclusive = { focus = AUS_continue_to_silence_them }
		ai_will_do = { 
			base = 5
			modifier = {
				factor = 3
				OR = {
					has_active_mission = AUS_mission_alfred_jozef_potocki
					has_active_mission = AUS_mission_karl_sigmund_von_hohenwart
					has_active_mission = AUS_mission_eduard_von_taaffe_second_term
				}
			} 
		}

		completion_reward = {
			custom_effect_tooltip = AUS_try_to_reach_a_middle_ground_tt
			country_event = { id = austria_hungary.259 }
			activate_mission = AUS_mission_the_ruthenian_situation
			set_variable = {
				var = AUS_proposal_support
				value = 0.20
				tooltip = AUS_set_proposal_to_twenty_tt
			}
			unlock_decision_tooltip = AUS_decision_meet_with_ruthenian_leaders
			unlock_decision_tooltip = AUS_decision_try_to_convince_polish_leaders
			unlock_decision_tooltip = AUS_decision_ease_relations_between_minorities
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 50
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 25
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 35
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 30
				}
			}
		}
	}

	# Bigger Political Representation
	focus = {
		id = AUS_bigger_political_representation
		icon = GFX_Focus_freedom_democracy

		cost = 25
		x = -1
		y = 1
		relative_position_id = AUS_try_to_reach_a_middle_ground
		available_if_capitulated = no

		prerequisite = { focus = AUS_try_to_reach_a_middle_ground }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_modify_final_proposal_political_rep_tt
			if = {
				limit = {
					has_completed_focus = AUS_give_them_language_rights 
				}
				custom_effect_tooltip = AUS_take_support_ten_tt
				hidden_effect = {
					add_to_variable = {
						var = AUS_proposal_support
						value = -0.10
					}
					clamp_variable = {
						var = AUS_proposal_support
						min = 0
						max = 1
					}
				}
			}
			unlock_decision_tooltip = AUS_decision_negotiate_about_the_situation_of_the_polish_diet
			unlock_decision_tooltip = AUS_decision_ruthenian_speech
		}
	}

	# Give Them Language Rights
	focus = {
		id = AUS_give_them_language_rights
		icon = GFX_Focus_AUH_Ruthenian_Language_Rights

		cost = 25
		x = 1
		y = 1
		relative_position_id = AUS_try_to_reach_a_middle_ground
		available_if_capitulated = no

		prerequisite = { focus = AUS_try_to_reach_a_middle_ground }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_modify_final_proposal_language_rights_tt
			if = {
				limit = {
					has_completed_focus = AUS_bigger_political_representation
				}
				custom_effect_tooltip = AUS_take_support_ten_tt
				hidden_effect = {
					add_to_variable = {
						var = AUS_proposal_support
						value = -0.10
					}
					clamp_variable = {
						var = AUS_proposal_support
						min = 0
						max = 1
					}
				}
			}
			unlock_decision_tooltip = AUS_decision_expand_language_rights_in_the_administration
			unlock_decision_tooltip = AUS_decision_expand_language_rights_in_the_education
		}
	}

	# Continue To Silence Them
	focus = {
		id = AUS_continue_to_silence_them
		icon = GFX_Focus_Partisans_Elimination

		cost = 30
		x = 1
		y = 1
		relative_position_id = AUS_the_ruthenian_problem
		available_if_capitulated = no

		prerequisite = { focus = AUS_the_ruthenian_problem }
		mutually_exclusive = { focus = AUS_try_to_reach_a_middle_ground }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.02
			add_political_power = -30
			custom_effect_tooltip = AUS_increase_ukranian_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = 0.05
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	# Repress Their Demands
	focus = {
		id = AUS_repress_their_demands
		icon = GFX_Focus_Newspaper_Ban_Law_Press

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_continue_to_silence_them
		available_if_capitulated = no

		prerequisite = { focus = AUS_continue_to_silence_them }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_increase_ukranian_nationalism_by_eight_tt
			hidden_effect = {
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = 0.08
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			custom_effect_tooltip = AUS_decrease_compliance_and_increase_resistance_in_rusyn_lands_by_10_tt
			hidden_effect = {
				89 = {
					add_resistance = 10
					add_compliance = -10
				}
				91 = {
					add_resistance = 10
					add_compliance = -10
				}
			}
		}
	}

	# The Jewish Boycott
	focus = {
		id = AUS_the_jewish_boycott
		icon = GFX_Focus_AUH_The_Jewish_Boycott

		cost = 35
		x = 2
		y = 1
		relative_position_id = AUS_help_out_in_galicia
		available_if_capitulated = no  

		prerequisite = { focus = AUS_help_out_in_galicia }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.02
			custom_effect_tooltip = AUS_decrease_resistance_in_polish_lands_by_five_tt
			hidden_effect = {
				88 = {
					add_resistance = -5
				}
				1321 = {
					add_resistance = -5
				}
			}
		}
	}

	# Try To Calm Down The Polish Peasants
	focus = {
		id = AUS_try_to_calm_down_the_polish_peasants
		icon = GFX_Focus_AUH_Calm_Polish_Peasants

		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_the_jewish_boycott
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_jewish_boycott }
		mutually_exclusive = { focus = AUS_stand_out_for_the_polish }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_increase_compliance_in_polish_lands_by_two_tt
			hidden_effect = {
				88 = {
					add_compliance = 2
				}
				1321 = {
					add_compliance = 2
				}
			}
		}
	}

	# Ban The Extremists
	focus = {
		id = AUS_ban_the_extremists
		icon = GFX_Focus_Partisans_silence_dissenters

		cost = 30
		x = 0
		y = 2
		relative_position_id = AUS_try_to_calm_down_the_polish_peasants
		available_if_capitulated = no  

		prerequisite = { focus = AUS_try_to_calm_down_the_polish_peasants }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_political_power = -25
			add_stability = 0.05
			custom_effect_tooltip = AUS_increase_resistance_in_polish_lands_by_eight_tt
			hidden_effect = {
				88 = {
					add_resistance = 8
				}
				1321 = {
					add_resistance = 8
				}
			}
		}
	}

	# Stand Out For The Polish
	focus = {
		id = AUS_stand_out_for_the_polish
		icon = GFX_Focus_AUH_Stand_Out_Polish

		cost = 15
		x = 1
		y = 1
		relative_position_id = AUS_the_jewish_boycott
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_jewish_boycott }
		mutually_exclusive = { focus = AUS_try_to_calm_down_the_polish_peasants }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			add_stability = 0.05
			add_political_power = 15
			custom_effect_tooltip = AUS_increase_resistance_in_polish_lands_by_three_tt
			hidden_effect = {
				88 = {
					add_resistance = 3
				}
				1321 = {
					add_resistance = 3
				}
			}
		}
	}

	# Do Something About The Economic Boycotts
	focus = {
		id = AUS_do_something_about_the_economic_boycotts
		icon = GFX_Focus_Worker

		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_stand_out_for_the_polish
		available_if_capitulated = no  

		prerequisite = { focus = AUS_stand_out_for_the_polish focus = AUS_try_to_calm_down_the_polish_peasants }
		ai_will_do = { base = 200 }

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_promote_autonomy_in_the_economy
			unlock_decision_tooltip = AUS_decision_help_polish_farmers
			unlock_decision_tooltip = AUS_decision_pay_out_the_jewish_victims
		}
	}

	########################
	#### POLITICAL TREE ####
	########################

	#The December Constitution
	focus = {
		id = AUS_the_december_constitution
		icon = GFX_Focus_AUH_December_Constitution

		cost = 25
		x = 0
		y = 1
		relative_position_id = AUS_the_political_landscape
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_political_landscape }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			country_event = { id = austria_hungary.302 }
		}
	}

	#A Conservative Constitution
	focus = {
		id = AUS_a_conservative_constitution
		icon = GFX_Focus_Conservative_Constitution

		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_the_december_constitution
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_december_constitution }
		ai_will_do = { base = 200 }
		mutually_exclusive = { focus = AUS_liberal_constitution  }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_conservative_december_constitution 
				years = 5
			}
		}
	}

	#Liberal Constitution
	focus = {
		id = AUS_liberal_constitution
		icon = GFX_Focus_Liberal_Constitution

		cost = 20
		x = 1
		y = 1
		relative_position_id = AUS_the_december_constitution
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_december_constitution }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}
		mutually_exclusive = { focus = AUS_a_conservative_constitution  }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_liberal_december_constitution 
				years = 5
			}
		}
	}

	#The birth of the Bürgerministerium
	focus = {
		id = AUS_the_birth_of_the_burgerministerium
		icon = GFX_Focus_AUH_Form_the_Burgerministerium

		cost = 30
		x = 1
		y = 1
		relative_position_id = AUS_a_conservative_constitution
		available_if_capitulated = no  

		prerequisite = { focus = AUS_a_conservative_constitution  focus = AUS_liberal_constitution }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			effect_tooltip = {
				add_advisor_role = {
					character = AUS_eduard_von_taaffe
					advisor = {
						slot = political_advisor
						idea_token = AUS_advisor_eduard_von_taaffe
						traits = {
							AUS_trait_eduard_von_taaffe
							conservative_liberalism_alignment
						}
					}
				}
				add_advisor_role = {
					character = AUS_eduard_herbst
					advisor = {
						slot = political_advisor
						idea_token = AUS_advisor_eduard_herbst
						traits = {
							AUS_trait_eduard_herbst
							conservative_liberalism_alignment
						}
					}
				}
				add_advisor_role = {
					character = AUS_rudolf_restel
					advisor = {
						slot = political_advisor
						idea_token = AUS_advisor_rudolf_restel
						traits = {
							AUS_trait_rudolf_restel
							conservative_liberalism_alignment
						}
					}
				}
			}
		}
	}

	#Try to avoid angering everyone
	focus = {
		id = AUS_try_to_avoid_angering_everyone
		icon = GFX_Focus_Avoid_Radicalization

		cost = 20
		x = 1
		y = 1
		relative_position_id = AUS_the_birth_of_the_burgerministerium
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_birth_of_the_burgerministerium  }
		mutually_exclusive = { focus = AUS_cut_down_on_the_influence_of_the_clergy  }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.03
			add_political_power = 30
			add_days_mission_timeout = {
				mission = AUS_mission_karl_von_auersperg
				days = 20
			}
		}
	}

	#Weaker May laws
	focus = {
		id = AUS_weaker_may_laws
		icon = GFX_Focus_State_Church_Separation_Light

		cost = 25
		x = 0
		y = 1
		relative_position_id = AUS_try_to_avoid_angering_everyone
		available_if_capitulated = no  

		prerequisite = { focus = AUS_try_to_avoid_angering_everyone }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			country_event = { id = austria_hungary.313 }
		}
	}

	#Deal with the hard-line conservatives
	focus = {
		id = AUS_deal_with_the_hardline_conservatives
		icon = GFX_Focus_Ideology_Liberal_comprimise

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_weaker_may_laws
		available_if_capitulated = no  

		prerequisite = { focus = AUS_weaker_may_laws }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_deal_with_the_hardline_conservatives_tt
				has_country_flag = AUS_passed_moderate_may_laws
			}
		}

		completion_reward = {
			if = {
				limit = {
					has_active_mission = AUS_mission_moderate_may_laws
				}

				custom_effect_tooltip = AUS_give_support_between_eight_and_twelve_tt
				hidden_effect = {
					set_temp_variable_to_random = {
						var = AUS_random_support
						min = 0.08
						max = 0.12
					}
					add_to_variable = {
						var = AUS_proposal_support
						value = AUS_random_support
					}
					clamp_variable = {
						var = AUS_proposal_support
						min = 0
						max = 1
					}
				}
			}
			else = {
				add_political_power = 30
				add_stability = 0.02
			}
		}
	}

	#Cut down on the influence of the clergy
	focus = {
		id = AUS_cut_down_on_the_influence_of_the_clergy
		icon = GFX_Focus_reduce_church_power

		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_the_birth_of_the_burgerministerium
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_birth_of_the_burgerministerium  }
		mutually_exclusive = { focus = AUS_try_to_avoid_angering_everyone  }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_stability = -0.05
			add_political_power = 40
			add_popularity = {
				ideology = fundamentalism
				popularity = -0.03
			}
		}
	}

	#The May Laws of [Current Year]
	focus = {
		id = AUS_the_may_laws
		icon = GFX_Focus_State_Church_Separation

		cost = 30
		x = 0
		y = 1
		relative_position_id = AUS_cut_down_on_the_influence_of_the_clergy
		available_if_capitulated = no  

		prerequisite = { focus = AUS_cut_down_on_the_influence_of_the_clergy }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_the_may_laws
			set_variable = {
				var = AUS_proposal_support
				value = 0.30
				tooltip = AUS_set_proposal_to_thirty_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 8
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 25
				}
			}	
		}
	}

	#Deal with the conservative backlash
	focus = {
		id = AUS_deal_with_the_conservative_backlash
		icon = GFX_focus_politics_government_chaos

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_the_may_laws
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_may_laws }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_deal_with_the_conservative_backlash_tt
				has_country_flag = AUS_may_laws_successful
			}
		}

		completion_reward = {
			add_stability = 0.05
			remove_ideas = {
				AUS_idea_conservative_backlash
			}
		}
	}

	#Convince the centralist conservatives
	focus = {
		id = AUS_convince_the_centralist_conservatives
		icon = GFX_Focus_Convince_Conservatives

		cost = 15
		x = 1
		y = 1
		relative_position_id = AUS_deal_with_the_conservative_backlash
		available_if_capitulated = no  

		prerequisite = { focus = AUS_deal_with_the_conservative_backlash }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			increase_ps_by_one = yes
			increase_legitimacy_by_four = yes
		}
	}

	#Try to reconcile with the Vatican
	focus = {
		id = AUS_try_to_reconcile_with_the_vatican
		icon = GFX_Focus_Papal_Letter

		cost = 10
		x = -1
		y = 1
		relative_position_id = AUS_deal_with_the_conservative_backlash
		available_if_capitulated = no  

		prerequisite = { focus = AUS_deal_with_the_conservative_backlash }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_karl_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			add_political_power = 15
			remove_opinion_modifier = {
				target = PAP
				modifier = medium_decrease 
			}
		}
	}

	#The Compromise Cabinet
	focus = {
		id = AUS_the_compromise_cabinet
		icon = GFX_Focus_AUH_Compromise_Cabinet

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_convince_the_centralist_conservatives
		available_if_capitulated = no  

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		allow_branch = {
			has_country_flag = AUS_eduard_von_taaffe_first_term_tree
		}

		prerequisite = { focus = AUS_convince_the_centralist_conservatives }
		ai_will_do = { base = 200 }

		completion_reward = {
			increase_ps_by_one = yes
			country_event = { id = austria_hungary.314 }
		}
	}

	#Reconciliation with the Federalist Party
	focus = {
		id = AUS_reconciliation_with_the_federalist_party
		icon = GFX_Focus_AUH_Reconciliation_Federalists

		cost = 30
		x = 0
		y = 1
		relative_position_id = AUS_the_compromise_cabinet
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_compromise_cabinet }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.02
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = -0.05
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}	
	}

	#Rule out formal compromise
	focus = {
		id = AUS_rule_out_formal_compromise
		icon = GFX_Focus_AUH_Rule_Out_Formal_Compromise

		cost = 25
		x = -2
		y = 1
		relative_position_id = AUS_reconciliation_with_the_federalist_party
		available_if_capitulated = no  

		prerequisite = { focus = AUS_reconciliation_with_the_federalist_party  }
		mutually_exclusive = { focus = AUS_minor_cooperation_attempts focus = AUS_bond_with_the_federalists }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_eduard_von_taaffe
				days = -10
			}
			add_popularity = {
				ideology = centrism
				popularity = 0.02
			}
			increase_legitimacy_by_two = yes
			custom_effect_tooltip = AUS_taaffe_harder_to_pass_laws_tt
			hidden_effect = {
				set_country_flag = AUS_taaffe_harder_to_pass_laws
			}
		}
	}

	#Continue the Liberal policies
	focus = {
		id = AUS_continue_the_liberal_policies
		icon = GFX_Focus_Liberal_Policies

		cost = 35
		x = 0
		y = 1
		relative_position_id = AUS_rule_out_formal_compromise
		available_if_capitulated = no  

		prerequisite = { focus = AUS_rule_out_formal_compromise }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_a_liberal_continuity
				days = 50
			}
		}
	}

	#Minor co-operation attempts
	focus = {
		id = AUS_minor_cooperation_attempts
		icon = GFX_Focus_AUH_Minor_Cooperation_Attempts

		cost = 25
		x = 0
		y = 1
		relative_position_id = AUS_reconciliation_with_the_federalist_party
		available_if_capitulated = no  

		prerequisite = { focus = AUS_reconciliation_with_the_federalist_party  }
		mutually_exclusive = { focus = AUS_bond_with_the_federalists focus = AUS_rule_out_formal_compromise }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_days_mission_timeout = {
				mission = AUS_mission_eduard_von_taaffe
				days = 20
			}
		}
	}

	#Minor changes to the law
	focus = {
		id = AUS_minor_changes_to_the_law
		icon = GFX_Focus_Question_Constitution

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_minor_cooperation_attempts
		available_if_capitulated = no  

		prerequisite = { focus = AUS_minor_cooperation_attempts  focus = AUS_bond_with_the_federalists  }
		mutually_exclusive = { focus = AUS_reverse_the_may_laws_completly  }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			effect_tooltip = {
				swap_ideas = {
					remove_idea = AUS_idea_the_may_laws
					add_idea = AUS_idea_moderate_may_laws
				}
			}
			hidden_effect = {
				remove_ideas = {
					AUS_idea_the_may_laws
				}
				add_timed_idea = {
					idea = AUS_idea_moderate_may_laws
					days = 180
				}
			}
		}	
	}

	#Bond with the Federalists
	focus = {
		id = AUS_bond_with_the_federalists
		icon = GFX_Focus_AUH_Bond_with_the_Federalist_Party

		cost = 25
		x = 2
		y = 1
		relative_position_id = AUS_reconciliation_with_the_federalist_party
		available_if_capitulated = no  

		prerequisite = { focus = AUS_reconciliation_with_the_federalist_party  }
		mutually_exclusive = { focus = AUS_minor_cooperation_attempts focus = AUS_rule_out_formal_compromise }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_eduard_von_taaffe
				days = -30
			}
			decrease_legitimacy_by_five = yes
			add_timed_idea = {
				idea = AUS_idea_a_conservative_change
				days = 50
			}
		}
	}

	#Reverse the May laws completly
	focus = {
		id = AUS_reverse_the_may_laws_completly
		icon = GFX_Focus_Repeal_Law

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_bond_with_the_federalists
		available_if_capitulated = no  

		prerequisite = { focus = AUS_bond_with_the_federalists }
		mutually_exclusive = { focus = AUS_minor_changes_to_the_law }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_reverse_the_may_laws
			set_variable = {
				var = AUS_proposal_support
				value = 0.25
				tooltip = AUS_set_proposal_to_twentyfive_tt
			}
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 40
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 8
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 25
				}
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
		}
	}

	#Reichsvolksschulgesetz
	focus = {
		id = AUS_reichsvolksschulgesetz
		icon = GFX_Focus_AUH_Reichsvolksschulgesetz

		cost = 50
		x = 1
		y = 1
		relative_position_id = AUS_continue_the_liberal_policies
		available_if_capitulated = no 

		prerequisite = { focus = AUS_continue_the_liberal_policies focus = AUS_minor_changes_to_the_law }
		mutually_exclusive = { focus = AUS_the_schools_remain_under_the_church }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_reichsvolksschulgesetz_tt
				has_country_flag = AUS_passed_reichsvolksschulgesetz
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_reichsvolksschulgesetz
			if = {
				limit = { has_country_flag = AUS_taaffe_harder_to_pass_laws }
				set_variable = {
					var = AUS_proposal_support
					value = 0.25
					tooltip = AUS_set_proposal_to_twentyfive_tt
				}
			}
			else = {
				set_variable = {
					var = AUS_proposal_support
					value = 0.30
					tooltip = AUS_set_proposal_to_thirty_tt
				}
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 8
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 25
				}
			}
		}
	}

	#Help the state schools
	focus = {
		id = AUS_help_the_state_schools
		icon = GFX_goal_Focus_RUS_public_education

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_reichsvolksschulgesetz
		available_if_capitulated = no  

		prerequisite = { focus = AUS_reichsvolksschulgesetz }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			if = {
				limit = {
					has_idea = research_spending_level_1
				}
				swap_ideas = { remove_idea = research_spending_level_1 add_idea = research_spending_level_2 }
			}
			else_if = {
				limit = {
					has_idea = research_spending_level_2
				}
				swap_ideas = { remove_idea = research_spending_level_2 add_idea = research_spending_level_3 }
			}
			else_if = {
				limit = {
					has_idea = research_spending_level_3
				}
				swap_ideas = { remove_idea = research_spending_level_3 add_idea = research_spending_level_4 }
			}
			else_if = {
				limit = {
					has_idea = research_spending_level_4
				}
				swap_ideas = { remove_idea = research_spending_level_4 add_idea = research_spending_level_5 }
			}
		}
	}

	#The schools remain under the church
	focus = {
		id = AUS_the_schools_remain_under_the_church
		icon = GFX_Focus_SER_Theological_Teaching

		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_minor_changes_to_the_law
		available_if_capitulated = no  

		prerequisite = { focus = AUS_minor_changes_to_the_law focus = AUS_reverse_the_may_laws_completly }
		mutually_exclusive = { focus = AUS_reichsvolksschulgesetz }
		ai_will_do = { base = 200 }
		
		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.04
			add_political_power = 30
		}
	}

	#Give some state funding to the clergy
	focus = {
		id = AUS_give_some_state_funding_to_the_clergy
		icon = GFX_Focus_Church_Donation

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_the_schools_remain_under_the_church
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_schools_remain_under_the_church }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_tooltip_effect = yes
			add_popularity = {
				ideology = fundamentalism
				popularity = 0.05
			}
		}
	}

	#Compromise failed us
	focus = {
		id = AUS_compromise_failed_us
		icon = GFX_focus_politics_government_chaos

		cost = 0
		x = -1
		y = 1
		relative_position_id = AUS_give_some_state_funding_to_the_clergy
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_some_state_funding_to_the_clergy focus = AUS_help_the_state_schools }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			add_stability = -0.03
			add_political_power = -10
		}
	}

	#A conservative alternative
	focus = {
		id = AUS_a_conservative_alternative
		icon = GFX_Focus_AUH_Potocki

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_convince_the_centralist_conservatives
		available_if_capitulated = no  

		allow_branch = {
			has_country_flag = AUS_potocki_alt_history_tree
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_convince_the_centralist_conservatives }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.03
			add_popularity = {
				ideology = traditional_conservatism
				popularity = 0.04
			}
		}
	}

	#The stance on liberal policies
	focus = {
		id = AUS_the_stance_on_liberal_policies
		icon = GFX_Focus_Liberal_Policies

		cost = 25
		x = 0
		y = 1
		relative_position_id = AUS_a_conservative_alternative
		available_if_capitulated = no  

		prerequisite = { focus = AUS_a_conservative_alternative }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			increase_ps_by_one = yes
			increase_legitimacy_by_one = yes
		}
	}

	#Make minor changes to their laws
	focus = {
		id = AUS_make_minor_changes_to_their_laws
		icon = GFX_Focus_Question_Constitution

		cost = 30
		x = 2
		y = 1
		relative_position_id = AUS_the_stance_on_liberal_policies
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_stance_on_liberal_policies  }
		mutually_exclusive = { focus = AUS_deny_them  }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			effect_tooltip = {
				swap_ideas = {
					remove_idea = AUS_idea_the_may_laws
					add_idea = AUS_idea_the_conservative_may_laws
				}
			}
			hidden_effect = {
				remove_ideas = {
					AUS_idea_the_may_laws
				}
				add_timed_idea = {
					idea = AUS_idea_the_conservative_may_laws
					years = 2
				}
				country_event = { id = austria_hungary.307 days = 30 random_days = 10 }
			}
		}
	}

	#Hard lined conservatives turn themselves away
	focus = {
		id = AUS_hard_lined_conservatives_turn_themselves_away
		icon = GFX_Focus_Lose_Support_Conservatives

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_make_minor_changes_to_their_laws
		available_if_capitulated = no  

		prerequisite = { focus = AUS_make_minor_changes_to_their_laws }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			decrease_ps_by_one = yes
			add_popularity = {
				ideology = traditional_conservatism
				popularity = -0.02
			}
			hidden_effect = { country_event = { id = austria_hungary.308 days = 50 random = 10 } }
		}
	}

	#Deny them
	focus = {
		id = AUS_deny_them
		icon = GFX_Focus_Repeal_Law

		cost = 30
		x = -2
		y = 1
		relative_position_id = AUS_the_stance_on_liberal_policies
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_stance_on_liberal_policies  }
		mutually_exclusive = { focus = AUS_make_minor_changes_to_their_laws  }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_popularity = {
				ideology = centrism
				popularity = -0.02
			}
			add_political_power = 20
		}
	}

	#Denounce the anti-clerical laws
	focus = {
		id = AUS_denounce_the_anticlerical_laws
		icon = GFX_Focus_Neo_Protestantism

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_deny_them
		available_if_capitulated = no  

		prerequisite = { focus = AUS_deny_them }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			add_opinion_modifier = { target = PAP modifier = medium_increase }
			add_stability = 0.02
		}
	}

	#Give the clergy back its rights
	focus = {
		id = AUS_give_the_clergy_back_its_rights
		icon = GFX_Focus_Papal_Authority

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_denounce_the_anticlerical_laws
		available_if_capitulated = no  

		prerequisite = { focus = AUS_denounce_the_anticlerical_laws }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			effect_tooltip = {
				swap_ideas = {
					remove_idea = AUS_idea_the_may_laws
					add_idea = AUS_idea_the_rights_of_the_clergy_restored
				}
			}
			hidden_effect = {
				remove_ideas = {
					AUS_idea_the_may_laws
				}
				add_timed_idea = {
					idea = AUS_idea_the_rights_of_the_clergy_restored
					days = 365
				}
			}
			hidden_effect = { country_event = { id = austria_hungary.308 days = 50 random = 10 } }
		}
	}

	#The opposition grows
	focus = {
		id = AUS_the_opposition_grows
		icon = GFX_Focus_Opposition_Grows

		cost = 0
		x = 2
		y = 1
		relative_position_id = AUS_give_the_clergy_back_its_rights
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_the_clergy_back_its_rights focus = AUS_hard_lined_conservatives_turn_themselves_away }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_the_opposition_grows_tt
			hidden_effect = {
				set_variable = { AUS_potocki_success_chance = 0.20 }
				if = {
					limit = {
						has_stability > 0.80
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.15
					}
				}
				else_if = {
					limit = {
						has_stability < 0.80
						has_stability > 0.70
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.10
					}
				}
				else_if = {
					limit = {
						has_stability < 0.70
						has_stability > 0.50
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.08
					}
				}
				else_if = {
					limit = {
						has_stability < 0.50
						has_stability > 0.40
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.06
					}
				}
				else_if = {
					limit = {
						has_stability < 0.40
						has_stability > 0.30
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.03
					}
				}
				else_if = {
					limit = {
						has_stability < 0.30
					}
					add_to_variable = {
						var = AUS_potocki_success_chance
						value = -0.05
					}
				}

				if = {
					limit = {
						has_war_support > 0.80
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.15
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.80
						has_war_support > 0.70
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.10
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.70
						has_war_support > 0.50
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.08
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.50
						has_war_support > 0.40
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.06
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.40
						has_war_support > 0.30
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.03
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.30
					}
					add_to_variable = {
						var = AUS_potocki_success_chance
						value = -0.05
					}
				}

				if = {
					limit = {
						has_completed_focus = AUS_deny_them
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.05
					}
				}
				else_if = {
					limit = {
						has_completed_focus = AUS_make_minor_changes_to_their_laws
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.03
					}
				}

				if = {
					limit = {
						has_completed_focus = AUS_the_proposal_has_passed
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.10
					}
				}
				else_if = {
					limit = {
						has_completed_focus = AUS_the_czechs_calm_down
					}

					add_to_variable = {
						var = AUS_potocki_success_chance
						value = 0.05
					}
				}
			}
		}
	}

	#Hope for the best
	focus = {
		id = AUS_hope_for_the_best
		icon = GFX_focus_MOR_introduce_justice_rural

		cost = 35
		x = 0
		y = 1
		relative_position_id = AUS_the_opposition_grows
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_opposition_grows  }
		mutually_exclusive = { focus = AUS_steal_the_centralists focus = AUS_start_deals_with_some_minor_parties }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_hope_for_the_best_tt
		}
	}

	#Start deals with some minor parties
	focus = {
		id = AUS_start_deals_with_some_minor_parties
		icon = GFX_Focus_Electorate_unity

		cost = 30
		x = -2
		y = 1
		relative_position_id = AUS_the_opposition_grows
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_opposition_grows  }
		mutually_exclusive = { focus = AUS_hope_for_the_best focus = AUS_steal_the_centralists }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_start_deals_with_some_minor_parties_tt
		}
	}

	#Give some ethnic consessions
	focus = {
		id = AUS_give_some_ethnic_consessions
		icon = GFX_Focus_AUH_Rights_Non_Germans

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_start_deals_with_some_minor_parties
		available_if_capitulated = no  

		prerequisite = { focus = AUS_start_deals_with_some_minor_parties }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_money_for_the_ethnicities
			unlock_decision_tooltip = AUS_decision_literacy_campaings_in_the_minority_lands
			unlock_decision_tooltip = AUS_decision_hold_speaches_in_minority_areas
		}
	}

	#Steal the centralists
	focus = {
		id = AUS_steal_the_centralists
		icon = GFX_Focus_Convince_Conservatives

		cost = 30
		x = 2
		y = 1
		relative_position_id = AUS_the_opposition_grows
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_opposition_grows }
		mutually_exclusive = { focus = AUS_hope_for_the_best  focus = AUS_start_deals_with_some_minor_parties }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_steal_the_centralists_tt
		}
	}

	#Give them consessions
	focus = {
		id = AUS_give_them_consessions
		icon = GFX_Focus_Electorate_cater_to_workers

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_steal_the_centralists
		available_if_capitulated = no  

		prerequisite = { focus = AUS_steal_the_centralists }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_give_them_higher_positions
			unlock_decision_tooltip = AUS_decision_integrate_them_into_the_party
			unlock_decision_tooltip = AUS_decision_give_speaches_in_centralist_controlled_cities
		}
	}

	#Deals end in faliure
	focus = {
		id = AUS_deals_end_in_faliure
		icon = GFX_Focus_Break_Treaty

		cost = 10
		x = -1
		y = 2
		relative_position_id = AUS_hope_for_the_best
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_them_consessions  focus = AUS_give_some_ethnic_consessions  focus = AUS_hope_for_the_best  }
		mutually_exclusive = { focus = AUS_deals_end_in_succes }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			set_politics = { ruling_party = centrism }
			AUS_adolf_von_auersperg = { promote_character = yes }
			set_country_flag = AUS_adolf_von_auersperg_tree
			complete_national_focus = AUS_the_next_auersperg_is_here
			activate_mission = AUS_mission_adolf_von_auersperg
		}
	}

	#Deals end in succes
	focus = {
		id = AUS_deals_end_in_succes
		icon = GFX_Focus_Law_Vote_1

		cost = 10
		x = 1
		y = 2
		relative_position_id = AUS_hope_for_the_best
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_them_consessions  focus = AUS_give_some_ethnic_consessions  focus = AUS_hope_for_the_best  }
		mutually_exclusive = { focus = AUS_deals_end_in_faliure }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			AUS_karl_sigmund_von_hohenwart = { promote_character = yes }
			set_country_flag = AUS_karl_sigmund_von_hohenwart_tree
			complete_national_focus = AUS_the_federalist_government
			activate_mission = AUS_mission_karl_sigmund_von_hohenwart
		}
	}

	#A hard-liner in the lead
	focus = {
		id = AUS_a_hardliner_in_the_lead
		icon = GFX_Focus_AUH_Hardliner_in_Lead

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_compromise_failed_us
		available_if_capitulated = no  

		allow_branch = {
			has_country_flag = AUS_hard_liner_focus_tree
		}

		prerequisite = { focus = AUS_compromise_failed_us }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			country_event = { id = austria_hungary.310 }
			decrease_ps_by_one = yes
			decrease_legitimacy_by_ten = yes
		}
	}

	#Try to cooperate with the moderates in the party
	focus = {
		id = AUS_try_to_cooperate_with_the_moderates_in_the_party
		icon = GFX_Focus_Liberal_Alliance

		cost = 10
		x = -1
		y = 1
		relative_position_id = AUS_a_hardliner_in_the_lead
		available_if_capitulated = no  

		prerequisite = { focus = AUS_a_hardliner_in_the_lead  }
		mutually_exclusive = { focus = AUS_remain_a_hardliner_liberal  }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_ignaz_von_plener
				ruling_only = yes
			}
		}

		completion_reward = {
			add_days_mission_timeout = {
   				mission = AUS_mission_the_two_hard_liners
   				days = 10
			}
			add_stability = 0.03
			add_political_power = 10
		}
	}

	#Try to save a majority for the next governments
	focus = {
		id = AUS_try_to_save_a_majority_for_the_next_governments
		icon = GFX_focus_government_legislation

		cost = 5
		x = 0
		y = 1
		relative_position_id = AUS_try_to_cooperate_with_the_moderates_in_the_party
		available_if_capitulated = no  

		prerequisite = { focus = AUS_try_to_cooperate_with_the_moderates_in_the_party }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_ignaz_von_plener
				ruling_only = yes
			}
		}

		completion_reward = {
			set_country_flag = AUS_adolf_von_auersperg_easier_time
			custom_effect_tooltip = AUS_adolf_von_auersperg_easier_time_tt
			add_political_power = 10
		}
	}

	#Remain a hard-liner liberal
	focus = {
		id = AUS_remain_a_hardliner_liberal
		icon = GFX_Focus_Liberalism

		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_a_hardliner_in_the_lead
		available_if_capitulated = no  

		prerequisite = { focus = AUS_a_hardliner_in_the_lead }
		mutually_exclusive = { focus = AUS_try_to_cooperate_with_the_moderates_in_the_party }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = {
			has_country_leader = {
				character = AUS_ignaz_von_plener
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			country_event = { id = austria_hungary.311 days = 5 random_days = 5 }
			add_legitimacy = -0.05
			add_stability = -0.08
		}
	}

	#Lose the party support
	focus = {
		id = AUS_lose_the_party_support
		icon = GFX_Focus_Lose_Support_Liberals

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_remain_a_hardliner_liberal
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_remain_a_hardliner_liberal }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_popularity = {
				ideology = centrism
				popularity = -0.05
			}
			country_event = { id = austria_hungary.312 days = 5 random_days = 5 }
		}
	}

	#A change in the course
	focus = {
		id = AUS_a_change_in_the_course
		icon = GFX_Focus_AUH_Change_in_Course

		cost = 0
		x = -1
		y = 1
		relative_position_id = AUS_lose_the_party_support
		available_if_capitulated = no  

		prerequisite = { focus = AUS_lose_the_party_support focus = AUS_try_to_save_a_majority_for_the_next_governments }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			retire_country_leader = yes
			promote_character = AUS_leopold_von_artha
		}
	}

	#Give the Czechs lingusitic rights,
	focus = {
		id = AUS_give_the_czechs_lingusitic_rights_leopold_von_artha
		icon = GFX_Focus_AUH_Linguistical_Rights_to_the_Czechs

		cost = 15
		x = -1
		y = 1
		relative_position_id = AUS_a_change_in_the_course
		available_if_capitulated = no  

		prerequisite = { focus = AUS_a_change_in_the_course  }
		mutually_exclusive = { focus = AUS_continue_to_deny_their_requests }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_leopold_hasner_von_artha
				ruling_only = yes
			}
		}

		completion_reward = {
			add_days_mission_timeout = {
   			 	mission = AUS_mission_the_two_hard_liners
   				days = 10
			}
			if = {
				limit = {
					NOT = { has_country_flag = AUS_czechs_having_language_rights_1 }
				}
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_1 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
			else_if = {
				limit = {
					NOT = { has_country_flag = AUS_czechs_having_language_rights_2 }
				}
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_2 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
			else = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_expand_linguistic_rights_3 } 
				set_temp_variable = { mne_decision_lp_cost = 80 }
				set_temp_variable = { mne_decision_category = 3 } 
				set_temp_variable = { mne_decision_icon = 19 } 
				AUS_multinational_empire_propose_decision = yes
			}
		}
	}

	#Try to save a majority for the next governments
	focus = {
		id = AUS_try_to_save_a_majority_for_the_next_governments_leopold_von_artha
		icon = GFX_focus_government_legislation

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_give_the_czechs_lingusitic_rights_leopold_von_artha
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_the_czechs_lingusitic_rights_leopold_von_artha }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_leopold_hasner_von_artha
				ruling_only = yes
			}
		}

		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_country_flag = AUS_adolf_von_auersperg_easier_time
					}
				}

				set_country_flag = AUS_adolf_von_auersperg_easier_time
				custom_effect_tooltip = AUS_adolf_von_auersperg_easier_time_tt
			}
			else = {
				clr_country_flag = AUS_adolf_von_auersperg_easier_time
				set_country_flag = AUS_adolf_von_auersperg_much_easier_time
				custom_effect_tooltip = AUS_adolf_von_auersperg_much_easier_time_tt
			}
			add_political_power = 10
		}
	}

	#Continue to deny their requests
	focus = {
		id = AUS_continue_to_deny_their_requests
		icon = GFX_Focus_AUH_Deny_Czech_Demands

		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_a_change_in_the_course
		available_if_capitulated = no  

		prerequisite = { focus = AUS_a_change_in_the_course }
		mutually_exclusive = { focus = AUS_give_the_czechs_lingusitic_rights_leopold_von_artha }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = {
			has_country_leader = {
				character = AUS_leopold_hasner_von_artha
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			country_event = { id = austria_hungary.311 days = 5 random_days = 5 }
			decrease_legitimacy_by_five = yes
			add_stability = -0.08
		}
	}

	#Lose the party's support
	focus = {
		id = AUS_lose_the_partys_support_leopold_von_artha
		icon = GFX_Focus_Lose_Support_Liberals

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_continue_to_deny_their_requests
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_continue_to_deny_their_requests }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_popularity = {
				ideology = centrism
				popularity = -0.05
			}
		}
	}

	#The fall of liberalism
	focus = {
		id = AUS_the_fall_of_liberalism
		icon = GFX_focus_politics_government_chaos

		cost = 0
		x = 1
		y = 1
		relative_position_id = AUS_try_to_save_a_majority_for_the_next_governments_leopold_von_artha
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_try_to_save_a_majority_for_the_next_governments_leopold_von_artha  focus = AUS_lose_the_partys_support_leopold_von_artha  }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = -0.05
		}
	}

	#A Polish ruling over Austria?
	focus = {
		id = AUS_a_polish_ruling_over_austria
		icon = GFX_Focus_AUH_Potocki

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_the_fall_of_liberalism
		available_if_capitulated = no
		
		allow_branch = {
			has_country_flag = AUS_potocki_historical_tree
		}

		prerequisite = { focus = AUS_the_fall_of_liberalism }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_decrease_polish_nationalism_by_eight_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.08
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	#Start negotianing a compromise
	focus = {
		id = AUS_start_negotianing_a_compromise
		icon = GFX_Focus_Liberal_Alliance

		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_a_polish_ruling_over_austria
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_a_polish_ruling_over_austria }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			custom_effect_tooltip = AUS_decrease_the_resistance_in_bohemia_by_five_tt
			hidden_effect = {
				1010 = {
					add_resistance = -8
				}
				69 = {
					add_resistance = -8
				}
				74 = {
					add_resistance = -8
				}
				72 = {
					add_resistance = -8
				}
				75 = {
					add_resistance = -8
				}
				9 = {
					add_resistance = -8
				}
			}
		}
	}

	#Minor compromise
	focus = {
		id = AUS_minor_compromise_alfred_jozef_von_potocki
		icon = GFX_Focus_AUH_Minor_Concessions_to_the_Czechs

		cost = 40
		x = 3
		y = 1
		relative_position_id = AUS_start_negotianing_a_compromise
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_start_negotianing_a_compromise }
		mutually_exclusive = { focus = AUS_try_to_achieve_semi_trialism  }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_political_power = 25
			custom_effect_tooltip = AUS_decrease_the_resistance_in_bohemia_by_two_tt
			hidden_effect = {
				1010 = {
					add_resistance = -2
				}
				69 = {
					add_resistance = -2
				}
				74 = {
					add_resistance = -2
				}
				72 = {
					add_resistance = -2
				}
				75 = {
					add_resistance = -2
				}
				9 = {
					add_resistance = -2
				}
			}
		}
	}

	#Cultural and Educational Autonomy,
	focus = {
		id = AUS_cultural_and_educational_autonomy_alfred_jozef_von_potocki
		icon = GFX_Focus_AUH_Cultural_Educational_Autonomy_Czechs

		cost = 25
		x = -1
		y = 1
		relative_position_id = AUS_minor_compromise_alfred_jozef_von_potocki
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_minor_compromise_alfred_jozef_von_potocki  }
		mutually_exclusive = { focus = AUS_more_linguistic_rights_alfred_jozef_von_potocki }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.025
			custom_effect_tooltip = AUS_increase_the_compliance_in_bohema_by_three_tt
			hidden_effect = {
				1010 = {
					add_compliance = 3
				}
				69 = {
					add_compliance = 3
				}
				74 = {
					add_compliance = 3
				}
				72 = {
					add_compliance = 3
				}
				75 = {
					add_compliance = 3
				}
				9 = {
					add_compliance = 3
				}
			}
		}
	}

	#More linguistic rights
	focus = {
		id = AUS_more_linguistic_rights_alfred_jozef_von_potocki
		icon = GFX_Focus_AUH_Linguistical_Rights_to_the_Czechs

		cost = 20
		x = 1
		y = 1
		relative_position_id = AUS_minor_compromise_alfred_jozef_von_potocki
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_minor_compromise_alfred_jozef_von_potocki }
		mutually_exclusive = { focus = AUS_cultural_and_educational_autonomy_alfred_jozef_von_potocki }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			custom_effect_tooltip = AUS_decrease_the_resistance_in_bohemia_by_two_tt
			hidden_effect = {
				1010 = {
					add_resistance = -2
				}
				69 = {
					add_resistance = -2
				}
				74 = {
					add_resistance = -2
				}
				72 = {
					add_resistance = -2
				}
				75 = {
					add_resistance = -2
				}
				9 = {
					add_resistance = -2
				}
			}
		}
	}

	#The Czechs calm down
	focus = {
		id = AUS_the_czechs_calm_down_alfred_jozef_von_potocki
		icon = GFX_Focus_AUH_Czechs_Calm_Down

		cost = 45
		x = 1
		y = 1
		relative_position_id = AUS_cultural_and_educational_autonomy_alfred_jozef_von_potocki
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_cultural_and_educational_autonomy_alfred_jozef_von_potocki  focus = AUS_more_linguistic_rights_alfred_jozef_von_potocki }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_the_czechs_calm_down_tt
			hidden_effect = {
				set_country_flag = {
					flag = AUS_czech_calm_down_flag
					days = 180
					value = 1
				}
			}
		}
	}

	#Try to achieve Semi-Trialism
	focus = {
		id = AUS_try_to_achieve_semi_trialism
		icon = GFX_Focus_Ideology_Liberal_comprimise

		cost = 70
		x = -2
		y = 1
		relative_position_id = AUS_start_negotianing_a_compromise
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_start_negotianing_a_compromise  }
		mutually_exclusive = { focus = AUS_minor_compromise_alfred_jozef_von_potocki }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			activate_mission = AUS_mission_the_issue_of_semi_trialism
			set_variable = {
				var = AUS_proposal_support
				value = 0.15
				tooltip = AUS_set_proposal_to_fifteen_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_liberal_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 18
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 25
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 20
				}
			}
		}
	}

	#Agitate the liberal representatives
	focus = {
		id = AUS_agitate_the_liberal_representatives
		icon = GFX_Focus_Electorate_unity

		cost = 30
		x = 0
		y = 1
		relative_position_id = AUS_try_to_achieve_semi_trialism
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_try_to_achieve_semi_trialism }
		ai_will_do = { base = 200 }

		completion_reward = {
			unlock_decision_tooltip = AUS_try_the_impossible
		}
	}

	#The proposal is passed
	focus = {
		id = AUS_the_proposal_is_passed
		icon = GFX_Focus_Assembly_Law

		cost = 0
		x = -2
		y = 1
		relative_position_id = AUS_agitate_the_liberal_representatives
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_agitate_the_liberal_representatives }
		mutually_exclusive = { focus = AUS_the_deadlock_got_us }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_semi_trialism_achieved
				days = 365
			}
			custom_effect_tooltip = AUS_disable_resistance_in_bohemia_tt
			hidden_effect = {
				1010 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				69 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				74 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				72 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				75 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				9 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}

				country_event = { id = austria_hungary.305 days = 20 random = 10}
				country_event = { id = austria_hungary.1 days = 3 }
			}	
		}
	}

	#The liberals will try to undermine us
	focus = {
		id = AUS_the_liberals_will_try_to_undermine_us
		icon = GFX_Focus_Partisans_Suppress_Liberalism

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_the_proposal_is_passed 
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_the_proposal_is_passed }
		ai_will_do = { base = 200 }

		

		completion_reward = {
			decrease_ps_by_one = yes
			add_political_power = -10
		}
	}

	#The deadlock got us
	focus = {
		id = AUS_the_deadlock_got_us
		icon = GFX_Focus_Dissolve_Council

		cost = 0
		x = 2
		y = 1
		relative_position_id = AUS_agitate_the_liberal_representatives
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_agitate_the_liberal_representatives }
		mutually_exclusive = { focus = AUS_the_proposal_is_passed }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = historical_option
			decrease_legitimacy_by_three = yes
		}
	}

	#Give up the proposal
	focus = {
		id = AUS_give_up_the_proposal
		icon = GFX_Focus_Break_Treaty

		cost = 35
		x = 1
		y = 1
		relative_position_id = AUS_the_deadlock_got_us
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_the_deadlock_got_us }
		mutually_exclusive = { focus = AUS_still_try_to_push_on_with_the_law }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = historical_option
			decrease_legitimacy_by_three = yes
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_ten_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.10
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			add_days_mission_timeout = {
				mission = AUS_mission_alfred_jozef_potocki
				days = -10
			}
		}
	}

	#Still try to push on with the law
	focus = {
		id = AUS_still_try_to_push_on_with_the_law
		icon = GFX_Focus_Law_Vote_1

		cost = 40
		x = -1
		y = 1
		relative_position_id = AUS_the_deadlock_got_us
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_the_deadlock_got_us }
		mutually_exclusive = { focus = AUS_give_up_the_proposal }
		ai_will_do = { base = 200 }

		completion_reward = {
			activate_mission = AUS_mission_the_issue_of_semi_trialism
			set_variable = {
				var = AUS_proposal_support
				value = 0.10
				tooltip = AUS_set_proposal_to_ten_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_liberal_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 18
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 30
				}
			}
		}
	}

	#We somehow got through with it
	focus = {
		id = AUS_we_somehow_got_through_with_it
		icon = GFX_Focus_Law

		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_still_try_to_push_on_with_the_law
		available_if_capitulated = no  

		available = {
			has_country_leader = {
				character = AUS_alfred_jozef_potocki
				ruling_only = yes
			}
		}

		prerequisite = { focus = AUS_still_try_to_push_on_with_the_law }
		mutually_exclusive = { focus = AUS_the_liberals_veto_you }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_semi_trialism_achieved
				days = 365
			}
			custom_effect_tooltip = AUS_disable_resistance_in_bohemia_tt
			hidden_effect = {
				1010 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				69 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				74 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				72 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				75 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
				9 = {
					force_disable_resistance = AUS
					add_dynamic_modifier = {
						modifier = dynmod_AUS_semi_independent_status_in_the_empire
					}
				}
			}
		}
	}

	#The liberals veto you
	focus = {
		id = AUS_the_liberals_veto_you
		icon = GFX_Focus_Veto_Law

		cost = 0
		x = -1
		y = 1
		relative_position_id = AUS_still_try_to_push_on_with_the_law
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_still_try_to_push_on_with_the_law }
		mutually_exclusive = { focus = AUS_we_somehow_got_through_with_it }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_alfred_jozef_potocki
				days = -50
			}
			add_political_power = -30
			add_stability = -0.05
		}
	}

	#Federalism fails
	focus = {
		id = AUS_federalism_fails
		icon = GFX_focus_politics_government_chaos

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_the_liberals_veto_you
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_the_liberals_veto_you }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = -0.05
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	#The federalist government
	focus = {
		id = AUS_the_federalist_government
		icon = GFX_Focus_AUH_Federalist_Government

		cost = 0
		x = 0
		y = 4
		offset = {
			x = -1
			y = -13
			trigger = {
				has_country_flag = AUS_potocki_alt_history_tree
				has_completed_focus = AUS_deals_end_in_succes
				NOT = { has_country_flag = AUS_hard_liner_focus_tree }
			}
		}
		relative_position_id = AUS_give_up_the_proposal
		available_if_capitulated = no 
		
		allow_branch = {
			has_country_flag = AUS_karl_sigmund_von_hohenwart_tree
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_give_up_the_proposal  focus = AUS_deals_end_in_succes }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.02
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = -0.05
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	#Try to adress the national debt
	focus = {
		id = AUS_try_to_adress_the_national_debt
		icon = GFX_Focus_Bankruptcy

		cost = 15
		x = 0
		y = 1
		relative_position_id = AUS_the_federalist_government
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_federalist_government }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			increase_ps_by_one = yes
			set_temp_variable = { loans_amount = -2 }
			take_loan_without_inflation_effect = yes
		}
	}

	#The Budget law of [GetYear]
	focus = {
		id = AUS_the_budget_law
		icon = GFX_Focus_Economy_Growth

		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_try_to_adress_the_national_debt
		available_if_capitulated = no 
		dynamic = yes

		prerequisite = { focus = AUS_try_to_adress_the_national_debt }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_budget_law
			set_variable = {
				var = AUS_proposal_support
				value = 0.35
				tooltip = AUS_set_proposal_to_thirtyfive_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_liberal_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 3
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 8
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 2
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 14
				}
			}
		}
	}

	#We don't need new elections
	focus = {
		id = AUS_we_dont_need_new_elections
		icon = GFX_Focus_Electorate_crowd

		cost = 10
		x = 2
		y = 1
		relative_position_id = AUS_the_budget_law
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_budget_law }
		mutually_exclusive = { focus = AUS_dissolve_the_parliament }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_we_dont_need_new_elections_tt
			increase_legitimacy_by_two = yes
		}
	}

	#Dissolve the parliament
	focus = {
		id = AUS_dissolve_the_parliament
		icon = GFX_Focus_Dissolve_Council

		cost = 20
		x = -2
		y = 1
		relative_position_id = AUS_the_budget_law
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_budget_law }
		mutually_exclusive = { focus = AUS_we_dont_need_new_elections }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		select_effect = {
			### Initiation for the states ###
			hidden_effect = {
				1055 = { 
					set_state_flag = AUS_election_small_region 
				}
				80 = { 
					set_state_flag = AUS_election_small_region 
				}
				969 = { 
					set_state_flag = AUS_election_medium_region 
				}
				89 = { 
					set_state_flag = AUS_election_medium_region 
				}
				91 = { 
					set_state_flag = AUS_election_large_region 
				}
				88 = { 
					set_state_flag = AUS_election_large_region
				}
				1321 = { 
					set_state_flag = AUS_election_very_large_region 
				}
				72 = { 
					set_state_flag = AUS_election_small_region 
				}
				74 = { 
					set_state_flag = AUS_election_small_region 
				}
				75 = { 
					set_state_flag = AUS_election_large_region 
				}
				9 = { 
					set_state_flag = AUS_election_very_large_region 
				}
				69 = { 
					set_state_flag = AUS_election_small_region
				}
				1010 = { 
					set_state_flag = AUS_election_small_region 
				}
				152 = { 
					set_state_flag = AUS_election_large_region
			 	}
				4 = { 
					set_state_flag = AUS_election_very_large_region
				}
				956 = { 
					set_state_flag = AUS_election_metropolis
				}
				153 = { 
					set_state_flag = AUS_election_medium_region 
				}
				39 = { 
					set_state_flag = AUS_election_small_region 
				}
				1234 = { 
					set_state_flag = AUS_election_small_region
				}
				1235 = { 
					set_state_flag = AUS_election_large_region 
				}
				102 = { 
					set_state_flag = AUS_election_medium_region
				}
				1236 = { 
					set_state_flag = AUS_election_medium_region
				}
				736 = { 
					set_state_flag = AUS_election_small_region 
				}
				163 = { 
					set_state_flag = AUS_election_medium_region 
				}
				103 = { 
					set_state_flag = AUS_election_small_region
				}
				970 = { 
					set_state_flag = AUS_election_small_region
				}
				1203 = { 
					set_state_flag = AUS_election_small_region
				}
			}
			### Initiation for the chances ###
			hidden_effect = {
				set_variable = {
					var = AUS_election_conservative_support_var
					value = 0
				}
				set_variable = {
					var = AUS_election_liberal_support_var
					value = 0
				}
				
				## Conservative chance based on stability
				if = {
					limit = {
						has_stability > 0.99
					}

					# 2 Random States that will get full support (4)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					# 3 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 5 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_stability < 1
						has_stability > 0.90
					}

					# 1 Random States that will get full support (4)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					# 4 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 5 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_stability < 0.90
						has_stability > 0.80
					}

					# 4 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 6 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_stability < 0.80
						has_stability > 0.60
					}

					# 3 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 7 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_stability < 0.60
						has_stability > 0.40
					}

					# 2 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 8 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_stability < 0.40
						has_stability > 0.30
					}

					# 1 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 9 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else = {
					# 5 states with minimum support
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}

				## Conservative chance based on war support
				if = {
					limit = {
						has_war_support > 0.99
					}

					# 2 Random States that will get full support (4)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					# 3 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 5 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_war_support < 1
						has_war_support > 0.90
					}

					# 1 Random States that will get full support (4)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					# 4 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 5 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.90
						has_war_support > 0.80
					}

					# 4 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 6 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.80
						has_war_support > 0.60
					}

					# 3 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 7 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.60
						has_war_support > 0.40
					}

					# 2 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 8 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						has_war_support < 0.40
						has_war_support > 0.30
					}

					# 1 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 9 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else = {
					# 5 states with minimum support
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}

				## Conservative chance based on money
				if = {
					limit = {
						set_temp_variable = { amount_of_money_to_check = 50 }
						has_specific_amount_of_money_with_inflation_included = yes
					}

					# 2 Random States that will get full support (4)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					# 3 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 5 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						set_temp_variable = { amount_of_money_to_check = 50 }
						has_specific_amount_of_money_with_inflation_included = no
						set_temp_variable = { amount_of_money_to_check = 35 }
						has_specific_amount_of_money_with_inflation_included = yes
					}

					# 1 Random States that will get full support (4)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 4
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 1
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.11
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.05
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.04
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
					}
					# 4 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 5 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						set_temp_variable = { amount_of_money_to_check = 35 }
						has_specific_amount_of_money_with_inflation_included = no
						set_temp_variable = { amount_of_money_to_check = 30 }
						has_specific_amount_of_money_with_inflation_included = yes
					}

					# 4 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 6 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						set_temp_variable = { amount_of_money_to_check = 30 }
						has_specific_amount_of_money_with_inflation_included = no
						set_temp_variable = { amount_of_money_to_check = 20 }
						has_specific_amount_of_money_with_inflation_included = yes
					}

					# 3 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 7 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						set_temp_variable = { amount_of_money_to_check = 20 }
						has_specific_amount_of_money_with_inflation_included = no
						set_temp_variable = { amount_of_money_to_check = 15 }
						has_specific_amount_of_money_with_inflation_included = yes
					}

					# 2 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 8 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else_if = {
					limit = {
						set_temp_variable = { amount_of_money_to_check = 15 }
						has_specific_amount_of_money_with_inflation_included = no
						set_temp_variable = { amount_of_money_to_check = 10 }
						has_specific_amount_of_money_with_inflation_included = yes
					}

					# 1 states with a medium support (3)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 3
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 2
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.07
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.02
								}
							}
						}
					}
					# 9 states with minimum support (2 for the flag value // 1 for the icon value)
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}
				else = {
					# 5 states with minimum support
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
					random_owned_state = {
						limit = { 
							NOT = { 
								AND = {
									THIS = { has_state_flag = AUS_election_influence_control_conservatives }
									THIS = { has_state_flag = AUS_election_influence_control_liberals }
								}
							} 
						}

						THIS = {
							set_state_flag = {
								flag = AUS_election_influence_control_conservatives
								value = 2
							}
							set_state_flag = {
								flag = AUS_election_influence_control_liberals
								value = 3
							}
						}

						if = {
							limit = {
								THIS = { has_state_flag = AUS_election_metropolis }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.03
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_very_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								THIS = { has_state_flag = AUS_election_large_region }
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
						else_if = {
							limit = {
								OR = {
									THIS = { has_state_flag = AUS_election_medium_region }
									THIS = { has_state_flag = AUS_election_small_region }
								}
							}

							AUS = {
								add_to_variable = {
									var = AUS_election_conservative_support_var
									value = 0.01
								}
							}
						}
					}
				}

				every_owned_state = {
					limit = {
						NOT = {
							AND = {
								THIS = { has_state_flag = AUS_election_influence_control_conservatives }
								THIS = { has_state_flag = AUS_election_influence_control_liberals }
							}
						}
					}

					THIS = {
						set_state_flag = {
							flag = AUS_election_influence_control_conservatives
							value = 1
						}
						set_state_flag = {
							flag = AUS_election_influence_control_liberals
							value = 4
						}
					}
				}
				
				set_variable = {
					var = AUS_all_chance_temp
					value = 1
				}
				subtract_from_variable = {
					var = AUS_all_chance_temp
					value = AUS_election_conservative_support_var
				}
				set_variable = {
					var = AUS_election_liberal_support_var
					value = AUS_all_chance_temp
				}
				clamp_variable = {
					var = AUS_election_conservative_support_var
					min = 0
					max = 1
				}
				clamp_variable = {
					var = AUS_election_liberal_support_var
					min = 0
					max = 1
				}
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_election_chances_tt
			hidden_effect = { country_event = { id = austria_hungary.961 } }
			unlock_decision_category_tooltip = AUH_decision_election_campaign
		}
	}

	#A federalist minority
	focus = {
		id = AUS_a_federalist_minority
		icon = GFX_Focus_AUH_Federalist_Minority

		cost = 0
		x = -1
		y = 1
		relative_position_id = AUS_dissolve_the_parliament
		available_if_capitulated = no 

		prerequisite = { focus = AUS_dissolve_the_parliament }
		mutually_exclusive = { focus = AUS_a_federalist_majority }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			decrease_ps_by_one = yes
			decrease_legitimacy_by_two = yes
			add_political_power = -30
			hidden_effect = {
				every_owned_state = {
					THIS = {
						clr_country_flag = AUS_election_influence_control_conservatives
						clr_country_flag = AUS_election_influence_control_liberals
						clr_country_flag = AUS_election_small_region 
						clr_country_flag = AUS_election_medium_region
						clr_country_flag = AUS_election_large_region
						clr_country_flag = AUS_election_very_large_region
						clr_country_flag = AUS_election_metropolis
					}
				}
			}
		}
	}

	#A federalist majority
	focus = {
		id = AUS_a_federalist_majority
		icon = GFX_Focus_AUH_Federalist_Majority

		cost = 0
		x = 1
		y = 1
		relative_position_id = AUS_dissolve_the_parliament
		available_if_capitulated = no 

		prerequisite = { focus = AUS_dissolve_the_parliament }
		mutually_exclusive = { focus = AUS_a_federalist_minority }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_political_power = 15
			add_stability = 0.05
			hidden_effect = {
				every_owned_state = {
					THIS = {
						clr_country_flag = AUS_election_influence_control_conservatives
						clr_country_flag = AUS_election_influence_control_liberals
						clr_country_flag = AUS_election_small_region 
						clr_country_flag = AUS_election_medium_region
						clr_country_flag = AUS_election_large_region
						clr_country_flag = AUS_election_very_large_region
						clr_country_flag = AUS_election_metropolis
					}
				}
			}
		}
	}

	#We shouldn't risk angering the opposition
	focus = {
		id = AUS_we_shouldnt_risk_angering_the_opposition
		icon = GFX_focus_PIE_Casus_Belli

		cost = 15
		x = 0
		y = 1
		relative_position_id = AUS_a_federalist_minority
		available_if_capitulated = no 

		prerequisite = { focus = AUS_a_federalist_minority focus = AUS_a_federalist_majority }
		mutually_exclusive = { focus = AUS_the_status_of_bohemia }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.025
			add_political_power = 30
		}
	}

	#Continue dealing with the debt problem
	focus = {
		id = AUS_continue_dealing_with_the_debt_problem
		icon = GFX_Focus_Bankruptcy
		
		cost = 25
		x = 0
		y = 3
		relative_position_id = AUS_we_shouldnt_risk_angering_the_opposition
		available_if_capitulated = no 

		prerequisite = { focus = AUS_we_shouldnt_risk_angering_the_opposition focus = AUS_the_proposal_gets_accepted }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_cooperate_with_the_banks
			unlock_decision_tooltip = AUS_decision_raise_the_taxes
		}
	}

	#Harsher fiscal policies
	focus = {
		id = AUS_harsher_fiscal_policies
		icon = GFX_Focus_banks2
		
		cost = 30
		x = 0
		y = 1
		relative_position_id = AUS_continue_dealing_with_the_debt_problem
		available_if_capitulated = no 

		prerequisite = { focus = AUS_continue_dealing_with_the_debt_problem }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			add_popularity = {
				ideology = traditional_conservatism
				popularity = 0.02
			}
			set_temp_variable = { loans_amount = -6 }
			take_loan_without_inflation_effect = yes
		}
	}

	#The status of Bohemia
	focus = {
		id = AUS_the_status_of_bohemia
		icon = GFX_Focus_AUH_Czech_Question
		
		cost = 10
		x = 0
		y = 2
		relative_position_id = AUS_we_dont_need_new_elections
		available_if_capitulated = no 

		prerequisite = { focus = AUS_we_dont_need_new_elections  focus = AUS_a_federalist_majority  focus = AUS_a_federalist_minority  focus = AUS_a_federalist_minority }
		mutually_exclusive = { focus = AUS_we_shouldnt_risk_angering_the_opposition  }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			country_event = { id = austria_hungary.315 }
		}
	}

	#Give them minor consessions
	focus = {
		id = AUS_give_them_minor_consessions
		icon = GFX_Focus_AUH_Minor_Concessions_to_the_Czechs
		
		cost = 20
		x = -2
		y = 1
		relative_position_id = AUS_the_status_of_bohemia
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_status_of_bohemia }
		mutually_exclusive = { focus = AUS_full_compromise_with_them }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			country_event = { id = austria_hungary.316 }
		}
	}

	#The proposal gets accepted
	focus = {
		id = AUS_the_proposal_gets_accepted
		icon = GFX_Focus_Law_Vote_1
		
		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_give_them_minor_consessions
		available_if_capitulated = no 

		prerequisite = { focus = AUS_give_them_minor_consessions }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			increase_legitimacy_by_three = yes
			increase_ps_by_one = yes
			add_political_power = 20
		}
	}

	#Full Compromise with them
	focus = {
		id = AUS_full_compromise_with_them
		icon = GFX_Focus_AUH_Full_Compromise_Czech
		
		cost = 25
		x = 2
		y = 1
		relative_position_id = AUS_the_status_of_bohemia
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_status_of_bohemia }
		mutually_exclusive = { focus = AUS_give_them_minor_consessions }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
			NOT = {
				if = {
					limit = {
						has_country_flag = AUS_potocki_alt_history_tree
					}

					has_completed_focus = AUS_the_proposal_has_passed
				}
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_full_compromise_with_the_czechs
			activate_mission = AUS_mission_crumbling_ground
			set_variable = {
				var = AUS_proposal_support
				value = 0.10
				tooltip = AUS_set_proposal_to_ten_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_liberal_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 50
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 8
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 12
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 13
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 18
				}
			}
		}
	}

	#The opposition is against this move
	focus = {
		id = AUS_the_opposition_is_against_this_move
		icon = GFX_goal_Focus_RUS_counter_reforms
		
		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_full_compromise_with_them
		available_if_capitulated = no 

		prerequisite = { focus = AUS_full_compromise_with_them }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_take_support_ten_tt
			add_to_variable = {
				var = AUS_proposal_support
				value = -0.10
			}
			add_stability = -0.025
			hidden_effect = { country_event = { id = austria_hungary.962 days = 20 random_days = 10 } }
		}
	}

	#The Emperor backs out
	focus = {
		id = AUS_the_emperor_backs_out
		icon = GFX_Focus_AUH_Emperor_Denies
		
		cost = 0
		x = -2
		y = 1
		relative_position_id = AUS_the_opposition_is_against_this_move
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_opposition_is_against_this_move }
		mutually_exclusive = { focus = AUS_secure_the_emperors_support }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_the_emperor_backs_out_tt
			custom_effect_tooltip = AUS_take_support_five_tt
			add_to_variable = {
				var = AUS_proposal_support
				value = -0.05
			}
		}
	}

	#We have failed
	focus = {
		id = AUS_we_have_failed
		icon = GFX_Focus_Break_Treaty
		
		cost = 0
		x = -1
		y = 1
		relative_position_id = AUS_the_emperor_backs_out
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_emperor_backs_out }
		mutually_exclusive = { focus = AUS_we_are_successful }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			add_stability = -0.03
			custom_effect_tooltip = AUS_increase_the_resistance_in_bohemia_by_three_tt
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			hidden_effect = {
				1010 = {
					add_resistance = 3
				}
				69 = {
					add_resistance = 3
				}
				74 = {
					add_resistance = 3
				}
				72 = {
					add_resistance = 3
				}
				75 = {
					add_resistance = 3
				}
				9 = {
					add_resistance = 3
				}
			}
		}
	}

	#We are successful
	focus = {
		id = AUS_we_are_successful
		icon = GFX_Focus_Law_Vote_1
		
		cost = 0
		x = 1
		y = 1
		relative_position_id = AUS_the_emperor_backs_out
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_emperor_backs_out }
		mutually_exclusive = { focus = AUS_we_have_failed }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			add_stability = 0.06
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			add_days_mission_timeout = {
				mission = AUS_mission_karl_sigmund_von_hohenwart
				days = 100
			}
			add_timed_idea = {
				idea = AUS_idea_trialism_achieved
				years = 5
			}
			custom_effect_tooltip = AUS_disable_resistance_in_bohemia_tt
			1010 = {
				force_disable_resistance = AUS
				add_dynamic_modifier = {
					modifier = dynmod_AUS_trialism_achieved
				}
			}
			69 = {
				force_disable_resistance = AUS
				add_dynamic_modifier = {
					modifier = dynmod_AUS_trialism_achieved
				}
			}
			74 = {
				force_disable_resistance = AUS
				add_dynamic_modifier = {
					modifier = dynmod_AUS_trialism_achieved
				}
			}
			72 = {
				force_disable_resistance = AUS
				add_dynamic_modifier = {
					modifier = dynmod_AUS_trialism_achieved
				}
			}
			75 = {
				force_disable_resistance = AUS
				add_dynamic_modifier = {
					modifier = dynmod_AUS_trialism_achieved
				}
			}
			9 = {
				force_disable_resistance = AUS
				add_dynamic_modifier = {
					modifier = dynmod_AUS_trialism_achieved
				}
			}

			release_autonomy = {
				target = CZE
				autonomy_state = autonomy_dual_monarchy
				freedom_level = 0.5
			}
			CZE = {
				set_politics = { ruling_party = autocracy }
				set_cosmetic_tag = CZE_austrian_puppet
				add_timed_idea = {
					idea = AUS_idea_trialism_achieved
					years = 5
				}
			}
		}
	}

	#Secure the Emperor's support
	focus = {
		id = AUS_secure_the_emperors_support
		icon = GFX_Focus_AUH_Emperor_Approves
		
		cost = 0
		x = 1
		y = 1
		relative_position_id = AUS_the_opposition_is_against_this_move
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_opposition_is_against_this_move }
		mutually_exclusive = { focus = AUS_the_emperor_backs_out }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_secure_the_emperors_support_tt
			increase_ps_by_two = yes
			increase_legitimacy_by_five = yes
			add_political_power = 30
			custom_effect_tooltip = AUS_give_support_ten_tt
			hidden_effect = {
				add_to_variable = {
					var = AUS_proposal_support
					value = 0.10
				}
				clamp_variable = {
					var = AUS_proposal_support
					min = 0
					max = 1
				}
			}
		}
	}

	#The King of Bohemia
	focus = {
		id = AUS_the_king_of_bohemia
		icon = GFX_Focus_AUH_King_Bohemia
		
		cost = 25
		x = 0
		y = 1
		relative_position_id = AUS_secure_the_emperors_support
		available_if_capitulated = no 

		prerequisite = { focus = AUS_secure_the_emperors_support }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_completed_full_compromise_tt
				has_country_flag = AUS_failed_full_compromise
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_ten_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.10
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
			custom_effect_tooltip = AUS_disable_resistance_in_bohemia_tt
			1010 = { force_disable_resistance = AUS }
			69 = { force_disable_resistance = AUS }
			74 = { force_disable_resistance = AUS }
			72 = { force_disable_resistance = AUS }
			75 = { force_disable_resistance = AUS }
			9 = { force_disable_resistance = AUS }
			country_event = { id = austria_hungary.1 }
			hidden_effect = {
				HUN = { country_event = { id = austria_hungary.1 } }
			}
			if = {
				limit = {
					has_active_mission = AUS_mission_full_compromise_with_the_czechs
				}

				custom_effect_tooltip = AUS_give_support_ten_tt
				hidden_effect = {
					add_to_variable = {
						var = AUS_proposal_support
						value = 0.10
					}
					clamp_variable = {
						var = AUS_proposal_support
						min = 0
						max = 1
					}
				}
			}
		}
	}

	#With the help of the Emperor we have prevailed
	focus = {
		id = AUS_with_the_help_of_the_emperor_we_have_prevailed
		icon = GFX_Focus_AUH_With_Emperor_Prevail
		
		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_the_king_of_bohemia
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_king_of_bohemia }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_karl_sigmund_von_hohenwart
				ruling_only = yes
			}
		}

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_karl_sigmund_von_hohenwart
				days = 150
			}
			add_timed_idea = {
				idea = AUS_idea_trialism_achieved
				years = 5
			}
			1010 = { add_dynamic_modifier = { modifier = dynmod_AUS_trialism_achieved } }
			69 = { add_dynamic_modifier = { modifier = dynmod_AUS_trialism_achieved } }
			74 = { add_dynamic_modifier = { modifier = dynmod_AUS_trialism_achieved } }
			72 = { add_dynamic_modifier = { modifier = dynmod_AUS_trialism_achieved } }
			75 = { add_dynamic_modifier = { modifier = dynmod_AUS_trialism_achieved } }
			9 = { add_dynamic_modifier = { modifier = dynmod_AUS_trialism_achieved } }

			release_autonomy = {
				target = CZE
				autonomy_state = autonomy_dual_monarchy
				freedom_level = 0.5
			}
			CZE = {
				set_politics = { ruling_party = autocracy }
				set_cosmetic_tag = CZE_austrian_puppet
				add_timed_idea = {
					idea = AUS_idea_trialism_achieved
					years = 5
				}
			}
		}
	}

	#The next Auersperg is here
	focus = {
		id = AUS_the_next_auersperg_is_here
		icon = GFX_Focus_AUH_Next_Auersperg_is_Here
		
		cost = 0
		x = -2
		y = 2
		offset = {
			x = 0
			y = -24
			trigger = {
				has_country_flag = AUS_potocki_alt_history_tree
				has_completed_focus = AUS_deals_end_in_faliure
				NOT = {
					has_country_flag = AUS_karl_sigmund_von_hohenwart_tree
				}
			}
		}

		offset = {
			x = -2
			y = -12
			trigger = {
				has_country_flag = AUS_potocki_historical_tree
				has_completed_focus = AUS_federalism_fails
				NOT = {
					has_country_flag = AUS_karl_sigmund_von_hohenwart_tree
				}
			}
		}
		relative_position_id = AUS_we_have_failed
		available_if_capitulated = no 

		allow_branch = {
			has_country_flag = AUS_adolf_von_auersperg_tree
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_we_have_failed focus = AUS_harsher_fiscal_policies }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_political_power = 30
			add_stability = 0.025
		}
	}

	#Try to democratise the government
	focus = {
		id = AUS_try_to_democratise_the_government
		icon = GFX_Focus_freedom_democracy
		
		cost = 35
		x = -3
		y = 1
		relative_position_id = AUS_the_next_auersperg_is_here
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_next_auersperg_is_here }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			increase_legitimacy_by_three = yes
			add_political_power = 50
		}
	}

	#Reforming our Election System
	focus = {
		id = AUS_reforming_our_election_system
		icon = GFX_Focus_Vote_democracy
		
		cost = 25
		x = 1
		y = 1
		relative_position_id = AUS_try_to_democratise_the_government
		available_if_capitulated = no 

		prerequisite = { focus = AUS_try_to_democratise_the_government }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			increase_ps_by_one = yes
			add_political_power = 30
		}
	}

	#Bring the age limit down to 18
	focus = {
		id = AUS_bring_the_age_limit_down_to_18_auersperg
		icon = GFX_Focus_Voting_Age_18
		
		cost = 30
		x = -1
		y = 1
		relative_position_id = AUS_reforming_our_election_system
		available_if_capitulated = no 

		prerequisite = { focus = AUS_reforming_our_election_system }
		mutually_exclusive = { focus = AUS_leave_it_as_24 }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_bring_the_age_limit_down_to_18_auersperg_tt
		}
	}

	#Leave it as 24
	focus = {
		id = AUS_leave_it_as_24
		icon = GFX_Focus_Voting_Age_24
		
		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_reforming_our_election_system
		available_if_capitulated = no 

		prerequisite = { focus = AUS_reforming_our_election_system }
		mutually_exclusive = { focus = AUS_bring_the_age_limit_down_to_18_auersperg }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}
		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			custom_effect_tooltip = AUS_leave_it_as_24_tt
		}
	}

	#Bring down the minimum tax line
	focus = {
		id = AUS_bring_down_the_minimum_tax_line
		icon = GFX_Focus_pay_metric_system

		cost = 35
		x = -1
		y = 1
		relative_position_id = AUS_leave_it_as_24
		available_if_capitulated = no 

		prerequisite = { focus = AUS_leave_it_as_24  focus = AUS_bring_the_age_limit_down_to_18_auersperg }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.03
			add_political_power = 50
		}
	}

	#Propose the Election reforms of [GetYear]
	focus = {
		id = AUS_propose_the_election_reforms_of_auersperg
		icon = GFX_Focus_AUH_Auersperg_Electoral_Reform
		
		cost = 50
		x = 0
		y = 1
		relative_position_id = AUS_bring_down_the_minimum_tax_line
		available_if_capitulated = no 
		dynamic = yes

		prerequisite = { focus = AUS_bring_down_the_minimum_tax_line }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_election_reform_auersperg
			if = {
				limit = {
					has_completed_focus = AUS_bring_the_age_limit_down_to_18_auersperg
				}

				if = {
					limit = {
						has_country_flag = AUS_adolf_von_auersperg_much_easier_time
					}
	
					set_variable = {
						var = AUS_proposal_support
						value = 0.30
						tooltip = AUS_set_proposal_to_thirty_tt
					}
				}
				else_if = {
					limit = {
						has_country_flag = AUS_adolf_von_auersperg_easier_time
					}
					
					set_variable = {
						var = AUS_proposal_support
						value = 0.25
						tooltip = AUS_set_proposal_to_twentyfive_tt
					}
				}
				else = {
					set_variable = {
						var = AUS_proposal_support
						value = 0.20
						tooltip = AUS_set_proposal_to_twenty_tt
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = AUS_leave_it_as_24
				}

				if = {
					limit = {
						has_country_flag = AUS_adolf_von_auersperg_much_easier_time
					}
	
					set_variable = {
						var = AUS_proposal_support
						value = 0.40
						tooltip = AUS_set_proposal_to_fourty_tt
					}
				}
				else_if = {
					limit = {
						has_country_flag = AUS_adolf_von_auersperg_easier_time
					}
					
					set_variable = {
						var = AUS_proposal_support
						value = 0.35
						tooltip = AUS_set_proposal_to_thirtyfive_tt
					}
				}
				else = {
					set_variable = {
						var = AUS_proposal_support
						value = 0.30
						tooltip = AUS_set_proposal_to_thirty_tt
					}
				}
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}

				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 25
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 30
				}
			}
		}
	}

	#A fair court system
	focus = {
		id = AUS_a_fair_court_system
		icon = GFX_goal_Focus_RUS_court_reform
		
		cost = 30
		x = -2
		y = 1
		relative_position_id = AUS_try_to_democratise_the_government
		available_if_capitulated = no 

		prerequisite = { focus = AUS_try_to_democratise_the_government }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_reforming_the_court_system
			if = {
				limit = {
					has_country_flag = AUS_adolf_von_auersperg_much_easier_time
				}

				set_variable = {
					var = AUS_proposal_support
					value = 0.35
					tooltip = AUS_set_proposal_to_thirtyfive_tt
				}
			}
			else_if = {
				limit = {
					has_country_flag = AUS_adolf_von_auersperg_easier_time
				}

				set_variable = {
					var = AUS_proposal_support
					value = 0.30
					tooltip = AUS_set_proposal_to_thirty_tt
				}
			}
			else = {
				set_variable = {
					var = AUS_proposal_support
					value = 0.25
					tooltip = AUS_set_proposal_to_twentyfive_tt
				}
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			unlock_decision_tooltip = AUS_decision_the_judges_make_a_petition
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 8
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 25
				}
			}
		}
	}

	#Separate civil affairs from state affairs
	focus = {
		id = AUS_separate_civil_affairs_from_state_affairs
		icon = GFX_Focus_Judicial_Reform
		
		cost = 10
		x = 0
		y = 1
		relative_position_id = AUS_a_fair_court_system
		available_if_capitulated = no 

		prerequisite = { focus = AUS_a_fair_court_system }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_separate_civil_affairs_from_state_affairs_tt
				has_country_flag = AUS_reformed_justice_system
			}
		}

		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_reforming_the_justice_system
				days = 50
			}
		}
	}

	#The Verwaltungsgerichtshof
	focus = {
		id = AUS_the_verwaltungsgerichtshof
		icon = GFX_Focus_law_reform
		
		cost = 40
		x = 0
		y = 1
		relative_position_id = AUS_separate_civil_affairs_from_state_affairs
		available_if_capitulated = no 

		prerequisite = { focus = AUS_separate_civil_affairs_from_state_affairs }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			increase_legitimacy_by_five = yes
			add_political_power = 30
			add_timed_idea = {
				idea = AUS_idea_a_modern_justice_system
				days = 365
			}
		}
	}

	#The church question
	focus = {
		id = AUS_the_church_question
		icon = GFX_Focus_Catholism_Papal_Bull
		
		cost = 25
		x = 2
		y = 1
		relative_position_id = AUS_the_next_auersperg_is_here
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_next_auersperg_is_here }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			add_popularity = {
				ideology = traditional_conservatism
				popularity = 0.02
			}
		}
	}

	#Stop the anti-clerical reforms
	focus = {
		id = AUS_stop_the_anticlerical_reforms
		icon = GFX_Focus_Christianity_Celebrated
		
		cost = 30
		x = -1
		y = 1
		relative_position_id = AUS_the_church_question
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_church_question }
		mutually_exclusive = { focus = AUS_continue_to_curb_the_churchs_power }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.05
			add_popularity = {
				ideology = traditional_conservatism
				popularity = 0.03
			}
		}
	}

	#Try to bring the church to our side
	focus = {
		id = AUS_try_to_bring_the_church_to_our_side
		icon = GFX_Focus_Catholism_Ally_Pope
		
		cost = 45
		x = 0
		y = 1
		relative_position_id = AUS_stop_the_anticlerical_reforms
		available_if_capitulated = no 

		prerequisite = { focus = AUS_stop_the_anticlerical_reforms }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			add_popularity = {
				ideology = fundamentalism
				popularity = 0.05
			}
			add_opinion_modifier = { target = PAP modifier = medium_increase }
		}
	}

	#Continue to curb the church's power
	focus = {
		id = AUS_continue_to_curb_the_churchs_power
		icon = GFX_Focus_Ban_Catholic_Order_Monastery
		
		cost = 40
		x = 1
		y = 1
		relative_position_id = AUS_the_church_question
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_church_question }
		mutually_exclusive = { focus = AUS_stop_the_anticlerical_reforms }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_stability = -0.03
			add_popularity = {
				ideology = fundamentalism
				popularity = -0.05
			}
			hidden_effect = { country_event = { id = austria_hungary.375 days = 35 random = 5} }
		}
	}

	#The clergy gets even more radicalised
	focus = {
		id = AUS_the_clergy_gets_even_more_radicalised
		icon = GFX_Focus_Catholism_Cross_Burning
		
		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_continue_to_curb_the_churchs_power
		available_if_capitulated = no 

		prerequisite = { focus = AUS_continue_to_curb_the_churchs_power  }
		ai_will_do = { base = 200 }

		available = {
			has_country_leader = {
				character = AUS_adolf_von_auersperg
				ruling_only = yes
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			add_opinion_modifier = { target = PAP modifier = small_decrease }
		}
	}

	#He returns even stronger
	focus = {
		id = AUS_he_returns_even_stronger
		icon = GFX_Focus_AUH_Compromise_Cabinet
		
		cost = 0
		x = 0
		y = 2
		offset = {
			x = 8
			y = -6
			trigger = {
				has_country_flag = AUS_karl_sigmund_von_hohenwart_tree
				has_country_flag = AUS_eduard_von_taaffe_second_term_tree
				OR = {
					has_completed_focus = AUS_with_the_help_of_the_emperor_we_have_prevailed
					has_completed_focus = AUS_we_are_successful
				}
				NOT = {
					has_country_flag = AUS_adolf_von_auersperg_tree
				}
			}
		}
		relative_position_id = AUS_propose_the_election_reforms_of_auersperg
		available_if_capitulated = no 

		allow_branch = {
			has_country_flag = AUS_eduard_von_taaffe_second_term_tree
		}

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_propose_the_election_reforms_of_auersperg focus = AUS_with_the_help_of_the_emperor_we_have_prevailed }
		ai_will_do = { base = 200 }

		completion_reward = {
			add_stability = 0.05
			add_political_power = 50
		}
	}

	#Form the Iron Ring coalition
	focus = {
		id = AUS_form_the_iron_ring_coalition
		icon = GFX_Focus_AUH_Iron_Ring_Coalition
		
		cost = 35
		x = 0
		y = 1
		relative_position_id = AUS_he_returns_even_stronger
		available_if_capitulated = no 

		prerequisite = { focus = AUS_he_returns_even_stronger }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			country_event = { id = austria_hungary.318 }
		}
	}

	#Include the nationals too
	focus = {
		id = AUS_include_the_nationals_too
		icon = GFX_Focus_AUH_Rights_Non_Germans
		
		cost = 25
		x = -1
		y = 1
		relative_position_id = AUS_form_the_iron_ring_coalition
		available_if_capitulated = no 

		prerequisite = { focus = AUS_form_the_iron_ring_coalition }
		mutually_exclusive = { focus = AUS_only_include_the_germans }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			decrease_legitimacy_by_two = yes
			add_political_power = -20
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_two_tt
			hidden_effect = {
				subtract_from_variable = {
					var = HUN_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = CZE_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = CRO_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = POL_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = ITA_UPROAR_RISK
					value = 0.02
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = UKR_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = ROM_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = GER_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = GER_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	#Only include the Germans
	focus = {
		id = AUS_only_include_the_germans
		icon = GFX_Focus_AUH_Include_Only_Germans
		
		cost = 25
		x = 1
		y = 1
		relative_position_id = AUS_form_the_iron_ring_coalition
		available_if_capitulated = no 

		prerequisite = { focus = AUS_form_the_iron_ring_coalition }
		mutually_exclusive = { focus = AUS_include_the_nationals_too }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.05
			increase_ps_by_one = yes
			custom_effect_tooltip = AUS_increase_all_nationalisms_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = 0.03
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	#Try to enact Social Reforms
	focus = {
		id = AUS_try_to_enact_social_reforms
		icon = GFX_Focus_social_reforms
		
		cost = 30
		x = -4
		y = 1
		relative_position_id = AUS_include_the_nationals_too
		available_if_capitulated = no 

		prerequisite = { focus = AUS_only_include_the_germans  focus = AUS_include_the_nationals_too }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.02
			add_popularity = {
				ideology = social_egalitarianism
				popularity = 0.05
			}
			set_power_balance = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
			}
		}
	}

	#Study the Swiss social reforms
	focus = {
		id = AUS_study_the_swiss_social_reforms
		icon = GFX_Focus_Study_Swiss_Law
		
		cost = 35
		x = 0
		y = 1
		relative_position_id = AUS_try_to_enact_social_reforms
		available_if_capitulated = no 

		prerequisite = { focus = AUS_try_to_enact_social_reforms }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_opinion_modifier = { target = SWI modifier = large_increase }
		}
	}

	#Restrict Child Labour
	focus = {
		id = AUS_restrict_child_labour
		icon = GFX_Focus_Restrict_Child_Labour
		
		cost = 20
		x = -2
		y = 1
		relative_position_id = AUS_study_the_swiss_social_reforms
		available_if_capitulated = no 

		prerequisite = { focus = AUS_study_the_swiss_social_reforms }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			hidden_trigger = {
				NOT = {
					has_completed_focus = AUS_the_trade_code_ammendment
				}
			}
		}

		completion_reward = {
			add_power_balance_value = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
				value = -0.05
				tooltip_side = AUS_BOP_Workers_Strenght
			}
			custom_effect_tooltip = AUS_restrict_child_labour_tt
		}
	}

	#Lower the Working Hours
	focus = {
		id = AUS_lower_the_working_hours
		icon = GFX_Focus_Working_Hours
		
		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_study_the_swiss_social_reforms
		available_if_capitulated = no 

		prerequisite = { focus = AUS_study_the_swiss_social_reforms }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			hidden_trigger = {
				NOT = {
					has_completed_focus = AUS_the_trade_code_ammendment
				}
			}
		}

		completion_reward = {
			add_power_balance_value = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
				value = -0.03
				tooltip_side = AUS_BOP_Workers_Strenght
			}
			custom_effect_tooltip = AUS_lower_the_working_hours_tt
		}
	}

	#Enact safety protocals
	focus = {
		id = AUS_enact_safety_protocals
		icon = GFX_Focus_Electorate_cater_to_workers
		
		cost = 20
		x = 2
		y = 1
		relative_position_id = AUS_study_the_swiss_social_reforms
		available_if_capitulated = no 

		prerequisite = { focus = AUS_study_the_swiss_social_reforms }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			hidden_trigger = {
				NOT = {
					has_completed_focus = AUS_the_trade_code_ammendment
				}
			}
		}

		completion_reward = {
			add_power_balance_value = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
				value = -0.03
				tooltip_side = AUS_BOP_Workers_Strenght
			}
			custom_effect_tooltip = AUS_enact_safety_protocals_tt
		}
	}

	#The Trade Code Ammendment of [GetYear]
	focus = {
		id = AUS_the_trade_code_ammendment
		icon = GFX_Focus_Reform_Economy
		
		cost = 50
		x = 0
		y = 1
		relative_position_id = AUS_lower_the_working_hours
		available_if_capitulated = no 
		dynamic = yes

		prerequisite = { focus = AUS_restrict_child_labour focus = AUS_lower_the_working_hours focus = AUS_enact_safety_protocals }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_trade_code_ammendment
			set_variable = {
				var = AUS_proposal_support
				value = 0.30
				tooltip = AUS_set_proposal_to_thirty_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 40
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 18
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 30
				}
			}
		}
	}

	#Insurance for the workers
	focus = {
		id = AUS_insurance_for_the_workers
		icon = GFX_Focus_social_workers_rights
		
		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_the_trade_code_ammendment
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_trade_code_ammendment }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_insurance_for_the_workers_ttt
				has_country_flag = AUS_trade_code_amendment
			}
			hidden_trigger = {
				NOT = {
					has_completed_focus = AUS_accident_insurance_law
				}
			}
		}

		completion_reward = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = AUS_insurance_for_the_workers_tt
		}
	}

	#Benefits for workplace incidents
	focus = {
		id = AUS_benefits_for_workplace_incidents
		icon = GFX_Focus_social_workers
		
		cost = 20
		x = 1
		y = 1
		relative_position_id = AUS_the_trade_code_ammendment
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_trade_code_ammendment }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_insurance_for_the_workers_ttt
				has_country_flag = AUS_trade_code_amendment
			}
			hidden_trigger = {
				NOT = {
					has_completed_focus = AUS_accident_insurance_law
				}
			}
		}

		completion_reward = {
			increase_legitimacy_by_one = yes
			custom_effect_tooltip = AUS_benefits_for_workplace_incidents_tt
		}
	}

	#Accident Insurance law of [GetYear]
	focus = {
		id = AUS_accident_insurance_law
		icon = GFX_Focus_Accident_Insurance_Law
		
		cost = 50
		x = 1
		y = 1
		relative_position_id = AUS_insurance_for_the_workers
		available_if_capitulated = no 
		dynamic = yes

		prerequisite = { focus = AUS_insurance_for_the_workers focus = AUS_benefits_for_workplace_incidents }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_health_insurance_law
			set_variable = {
				var = AUS_proposal_support
				value = 0.25
				tooltip = AUS_set_proposal_to_thirty_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 45
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 18
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 30
				}
			}
		}
	}

	#Mandatory health insurance
	focus = {
		id = AUS_mandatory_health_insurance
		icon = GFX_Focus_medicine_cross
		
		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_accident_insurance_law
		available_if_capitulated = no 

		prerequisite = { focus = AUS_accident_insurance_law }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mandatory_health_insurance_ttt
				has_country_flag = AUS_accident_law
			}
			hidden_trigger = {
				NOT = {
					has_completed_focus = AUS_health_insurance_law
				}
			}
		}

		completion_reward = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			add_power_balance_value = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
				value = -0.02
				tooltip_side = AUS_BOP_Workers_Strenght
			}
			custom_effect_tooltip = AUS_mandatory_health_insurance_tt
		}
	}

	#Provide sick leaves for the workers
	focus = {
		id = AUS_provide_sick_leaves_for_the_workers
		icon = GFX_Focus_SER_Poor_Working_Condition
		
		cost = 20
		x = 1
		y = 1
		relative_position_id = AUS_accident_insurance_law
		available_if_capitulated = no 

		prerequisite = { focus = AUS_accident_insurance_law }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mandatory_health_insurance_ttt
				has_country_flag = AUS_accident_law
			}
			hidden_trigger = {
				NOT = {
					has_completed_focus = AUS_health_insurance_law
				}
			}
		}

		completion_reward = {
			add_stability = 0.03
			add_power_balance_value = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
				value = -0.05
				tooltip_side = AUS_BOP_Workers_Strenght
			}
			custom_effect_tooltip = AUS_provide_sick_leaves_for_the_workers_tt
		}
	}

	#Health Insurance law
	focus = {
		id = AUS_health_insurance_law
		icon = GFX_Focus_Health_Insurance
		
		cost = 50
		x = 1
		y = 1
		relative_position_id = AUS_mandatory_health_insurance
		available_if_capitulated = no 
		dynamic = yes

		prerequisite = { focus = AUS_mandatory_health_insurance focus = AUS_provide_sick_leaves_for_the_workers }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_health_insurance_law
			set_variable = {
				var = AUS_proposal_support
				value = 0.40
				tooltip = AUS_set_proposal_to_thirty_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 18
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 10
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 5
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 30
				}
			}
		}
	}

	#The laborers are angered
	focus = {
		id = AUS_the_laborers_are_angered
		icon = GFX_Focus_Worker_Strike_2
		
		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_health_insurance_law
		available_if_capitulated = no 

		prerequisite = { focus = AUS_health_insurance_law }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			add_stability = -0.03
			add_power_balance_value = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
				value = 0.05
				tooltip_side = AUS_BOP_Labourers_Strength
			}
		}
	}

	#Give them concessions
	focus = {
		id = AUS_give_them_concessions
		icon = GFX_Focus_Worker_Strike
		
		cost = 30
		x = -2
		y = 1
		relative_position_id = AUS_the_laborers_are_angered
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_laborers_are_angered }
		mutually_exclusive = { focus = AUS_deny_their_requests }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_political_power = -20
			add_power_balance_value = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
				value = 0.03
				tooltip_side = AUS_BOP_Labourers_Strength
			}
		}
	}

	#Major concessions
	focus = {
		id = AUS_major_concessions
		icon = GFX_Focus_Worker_Pact
		
		cost = 35
		x = -1
		y = 1
		relative_position_id = AUS_give_them_concessions
		available_if_capitulated = no 

		prerequisite = { focus = AUS_give_them_concessions }
		mutually_exclusive = { focus = AUS_minor_consessions }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_pay_all_the_damages_to_the_labourers
		}
	}

	#Minor consessions
	focus = {
		id = AUS_minor_consessions
		icon = GFX_Focus_State_of_the_People
		
		cost = 35
		x = 1
		y = 1
		relative_position_id = AUS_give_them_concessions
		available_if_capitulated = no 

		prerequisite = { focus = AUS_give_them_concessions }
		mutually_exclusive = { focus = AUS_major_concessions }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_pay_half_of_the_damages_to_the_labourers
		}
	}

	#Deny their requests
	focus = {
		id = AUS_deny_their_requests
		icon = GFX_Focus_Break_Treaty
		
		cost = 25
		x = 2
		y = 1
		relative_position_id = AUS_the_laborers_are_angered
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_laborers_are_angered }
		mutually_exclusive = { focus = AUS_give_them_concessions }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_power_balance_value = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
				value = -0.10
				tooltip_side = AUS_BOP_Workers_Strenght
			}
			add_stability = -0.03
			hidden_effect = {
				country_event = { id = austria_hungary.320 days = 20 random_days = 5 }
			}
		}
	}

	#Aristocrats start to move away from us
	focus = {
		id = AUS_aristocrats_start_to_move_away_from_us
		icon = GFX_Focus_Dissolve_Council
		
		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_deny_their_requests
		available_if_capitulated = no 

		prerequisite = { focus = AUS_deny_their_requests }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = AUS_aristocrats_start_to_move_away_from_us_tt
			add_stability = -0.05
			remove_power_balance = {
				id = AUS_Balance_Of_Power_Struggles_Of_The_Working_Class
			}
		}
	}

	#Continue the democratisation process
	focus = {
		id = AUS_continue_the_democratisation_process
		icon = GFX_Focus_Ideology_social_democracy
		
		cost = 30
		x = 4
		y = 1
		relative_position_id = AUS_only_include_the_germans
		available_if_capitulated = no 

		prerequisite = { focus = AUS_only_include_the_germans  focus = AUS_include_the_nationals_too }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.05
			add_political_power = 30
		}
	}

	#A bigger change
	focus = {
		id = AUS_a_bigger_change
		icon = GFX_Focus_Government_Reform
		
		cost = 40
		x = -1
		y = 1
		relative_position_id = AUS_continue_the_democratisation_process
		available_if_capitulated = no 

		prerequisite = { focus = AUS_continue_the_democratisation_process }
		mutually_exclusive = { focus = AUS_only_bring_down_the_tax_line }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_a_bigger_change_tt
				NOT = { has_completed_focus = AUS_bring_the_age_limit_down_to_18_auersperg }
			}
		}

		completion_reward = {
			add_popularity = {
				ideology = centrism
				popularity = 0.02
			}
			add_stability = 0.02
		}
	}

	#Bring the age limit down to 18
	focus = {
		id = AUS_bring_the_age_limit_down_to_18
		icon = GFX_Focus_Voting_Age_18
		
		cost = 30
		x = 0
		y = 1
		relative_position_id = AUS_a_bigger_change
		available_if_capitulated = no 

		prerequisite = { focus = AUS_a_bigger_change }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			decrease_ps_by_one = yes
			add_political_power = 15
		}
	}

	#Only bring down the tax line
	focus = {
		id = AUS_only_bring_down_the_tax_line
		icon = GFX_Focus_pay_metric_system
		
		cost = 35
		x = 1
		y = 1
		relative_position_id = AUS_continue_the_democratisation_process
		available_if_capitulated = no 

		prerequisite = { focus = AUS_continue_the_democratisation_process }
		mutually_exclusive = { focus = AUS_a_bigger_change }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_popularity = {
				ideology = traditional_conservatism
				popularity = 0.03
			}
			increase_legitimacy_by_one = yes
		}
	}

	#Election Reform of [Get Year]
	focus = {
		id = AUS_first_election_reform
		icon = GFX_Focus_Vote_generic
		
		cost = 50
		x = 1
		y = 1
		relative_position_id = AUS_bring_the_age_limit_down_to_18
		available_if_capitulated = no 
		dynamic = yes

		prerequisite = { focus = AUS_bring_the_age_limit_down_to_18 focus = AUS_only_bring_down_the_tax_line }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_first_election_reform_taaffe
			set_variable = {
				var = AUS_proposal_support
				value = 0.30
				tooltip = AUS_set_proposal_to_thirty_tt
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 18
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 12
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 25
				}
			}
		}
	}

	#We don't need more voters
	focus = {
		id = AUS_we_dont_need_more_voters
		icon = GFX_Focus_Vote_arrest_suffragetes
		
		cost = 20
		x = 2
		y = 1
		relative_position_id = AUS_first_election_reform
		available_if_capitulated = no 

		prerequisite = { focus = AUS_first_election_reform  }
		mutually_exclusive = { focus = AUS_further_reforms  }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_further_reforms_tt
				has_country_flag = AUS_suffrage
			}
		}

		completion_reward = {
			increase_legitimacy_by_three = yes
			hidden_effect = { country_event = { id = austria_hungary.321 days = 20 random_days = 10 } }
		}
	}

	#The liberal opposition grows
	focus = {
		id = AUS_the_liberal_opposition_grows
		icon = GFX_Focus_Opposition_Grows
		
		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_we_dont_need_more_voters
		available_if_capitulated = no 

		prerequisite = { focus = AUS_we_dont_need_more_voters }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			if = {
				limit = {
					has_country_flag = AUS_eduard_von_taaffe_stays_a_liberal
				}

				add_popularity = {
					ideology = centrism
					popularity = -0.04
				}
			}
			else = {
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.04
				}
			}
		}
	}

	#Try to win them back
	focus = {
		id = AUS_try_to_win_them_back
		icon = GFX_Focus_Liberal_Alliance
		
		cost = 20
		x = -1
		y = 1
		relative_position_id = AUS_the_liberal_opposition_grows
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_liberal_opposition_grows }
		mutually_exclusive = { focus = AUS_they_are_a_lost_cause }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_convincing_the_liberal_representatives
		}
	}

	#They are a lost cause...
	focus = {
		id = AUS_they_are_a_lost_cause
		icon = GFX_Focus_Lose_Support_Liberals
		
		cost = 30
		x = 1
		y = 1
		relative_position_id = AUS_the_liberal_opposition_grows
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_liberal_opposition_grows }
		mutually_exclusive = { focus = AUS_try_to_win_them_back }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			increase_legitimacy_by_three = yes
			add_political_power = 40
		}
	}

	#Further reforms
	focus = {
		id = AUS_further_reforms
		icon = GFX_Focus_Government_Reform_Administration
		
		cost = 40
		x = -2
		y = 1
		relative_position_id = AUS_first_election_reform
		available_if_capitulated = no 

		prerequisite = { focus = AUS_first_election_reform }
		mutually_exclusive = { focus = AUS_we_dont_need_more_voters }
		ai_will_do = { 
			base = 200 
			modifier = {
				factor = 5
				is_historical_focus_on = yes
			}
		}

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
			custom_trigger_tooltip = {
				tooltip = AUS_further_reforms_tt
				has_country_flag = AUS_suffrage
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			add_political_power = 30
			increase_ps_by_one = yes
		}
	}

	#Remove the minimum tax line
	focus = {
		id = AUS_remove_the_minimum_tax_line
		icon = GFX_Focus_pay_metric_system
		
		cost = 25
		x = 0
		y = 1
		relative_position_id = AUS_further_reforms
		available_if_capitulated = no 

		prerequisite = { focus = AUS_further_reforms }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			add_stability = 0.02
			add_political_power = 30
			increase_legitimacy_by_one = yes
		}
	}

	#Get support from the lower class citizens
	focus = {
		id = AUS_get_support_from_the_lower_class_citizens
		icon = GFX_Focus_Electorate_cater_to_workers
		
		cost = 30
		x = -1
		y = 1
		relative_position_id = AUS_remove_the_minimum_tax_line
		available_if_capitulated = no 

		prerequisite = { focus = AUS_remove_the_minimum_tax_line }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_placate_the_lower_classes
		}
	}

	#Try to get consessions for the aristocrats
	focus = {
		id = AUS_try_to_get_consessions_for_the_aristocrats
		icon = GFX_Focus_Support_Elites
		
		cost = 35
		x = 1
		y = 1
		relative_position_id = AUS_remove_the_minimum_tax_line
		available_if_capitulated = no 

		prerequisite = { focus = AUS_remove_the_minimum_tax_line }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			unlock_decision_tooltip = AUS_decision_placate_the_aristocrats
		}
	}

	#A Second Election Reform of [GetYear]
	focus = {
		id = AUS_second_election_reform
		icon = GFX_Focus_Vote_Election
		
		cost = 60
		x = -1
		y = 1
		relative_position_id = AUS_try_to_get_consessions_for_the_aristocrats
		available_if_capitulated = no 
		dynamic = yes

		prerequisite = { focus = AUS_try_to_get_consessions_for_the_aristocrats focus = AUS_get_support_from_the_lower_class_citizens }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_second_election_reform_taaffe
			if = {
				limit = {
					has_country_flag = AUS_placated_the_lower_classes
					NOT = {
						OR = {
							has_country_flag = AUS_placated_the_aristocrats_1
							has_country_flag = AUS_placated_the_aristocrats_2
						}
					}
				}

				set_variable = {
					var = AUS_proposal_support
					value = 0.15
					tooltip = AUS_set_proposal_to_fifteen_tt
				}
			}
			else_if = {
				limit = {
					has_country_flag = AUS_placated_the_aristocrats_1
					NOT = {
						OR = {
							has_country_flag = AUS_placated_the_lower_classes
							has_country_flag = AUS_placated_the_aristocrats_2
						}
					}
				}

				set_variable = {
					var = AUS_proposal_support
					value = 0.15
					tooltip = AUS_set_proposal_to_fifteen_tt
				}
			}
			else_if = {
				limit = {
					has_country_flag = AUS_placated_the_aristocrats_2
					NOT = {
						OR = {
							has_country_flag = AUS_placated_the_lower_classes
							has_country_flag = AUS_placated_the_aristocrats_1
						}
					}
				}

				set_variable = {
					var = AUS_proposal_support
					value = 0.18
					tooltip = AUS_set_proposal_to_eightteen_tt
				}
			}
			else_if = {
				limit = {
					has_country_flag = AUS_placated_the_aristocrats_1
					has_country_flag = AUS_placated_the_lower_classes
					NOT = {
						has_country_flag = AUS_placated_the_aristocrats_2
					}
				}

				set_variable = {
					var = AUS_proposal_support
					value = 0.20
					tooltip = AUS_set_proposal_to_twenty_tt
				}
			}
			else_if = {
				limit = {
					has_country_flag = AUS_placated_the_aristocrats_2
					has_country_flag = AUS_placated_the_lower_classes
					NOT = {
						has_country_flag = AUS_placated_the_aristocrats_1
					}
				}

				set_variable = {
					var = AUS_proposal_support
					value = 0.23
					tooltip = AUS_set_proposal_to_twentythree_tt
				}
			}
			else = {
				set_variable = {
					var = AUS_proposal_support
					value = 0.10
					tooltip = AUS_set_proposal_to_ten_tt
				}
			}
			unlock_decision_tooltip = AUS_meet_with_the_conservative_representatives
			unlock_decision_tooltip = AUS_convince_the_moderates
			unlock_decision_tooltip = AUS_negotiate_with_the_hard_liners
			unlock_decision_tooltip = AUS_bribe_some_of_the_representatives
			hidden_effect = {
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 45
				}
				set_variable = {
					var = AUS_bribe_reveal_chance
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_1
					value = 18
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_1
					value = 15
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_2
					value = 20
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_2
					value = 12
				}
				set_variable = {
					var = AUS_reichsrat_days_remove_3
					value = 30
				}
				set_variable = {
					var = AUS_reichsrat_days_re_enable_3
					value = 25
				}
			}
		}
	}

	#The law is denied by the aristocrats
	focus = {
		id = AUS_the_law_is_denied_by_the_aristocrats
		icon = GFX_Focus_Electorate_fight_the_elite
		
		cost = 0
		x = 2
		y = 1
		relative_position_id = AUS_second_election_reform
		available_if_capitulated = no 

		prerequisite = { focus = AUS_second_election_reform }
		mutually_exclusive = { focus = AUS_the_law_has_passed }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			decrease_ps_by_two = yes
			add_stability = -0.10
		}
	}

	#Try to get the Emperor's support
	focus = {
		id = AUS_try_to_get_the_emperors_support
		icon = GFX_Focus_AUH_Seek_Emperor_Support
		
		cost = 100
		x = -1
		y = 1
		relative_position_id = AUS_the_law_is_denied_by_the_aristocrats
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_law_is_denied_by_the_aristocrats }
		mutually_exclusive = { focus = AUS_give_up_our_efforts }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		select_effect = {
			add_political_power = 50
			set_power_balance = {
				id = AUS_Balance_Of_Power_The_Emperors_Support
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			effect_tooltip = {
				add_political_power = 50
				set_power_balance = {
					id = AUS_Balance_Of_Power_The_Emperors_Support
				}
			}
			custom_effect_tooltip = AUS_try_to_get_the_emperors_support_tt
			if = {
				limit = {
					power_balance_value = {
						id = AUS_Balance_Of_Power_The_Emperors_Support
						value > 0.4
					}
				}

				complete_national_focus = AUS_he_supports_us
			}
			else = {
				complete_national_focus = AUS_he_denies_support
			}
		}
	}

	#He denies support
	focus = {
		id = AUS_he_denies_support
		icon = GFX_Focus_AUH_Emperor_Denies
		
		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_try_to_get_the_emperors_support
		available_if_capitulated = no 

		prerequisite = { focus = AUS_try_to_get_the_emperors_support }
		mutually_exclusive = { focus = AUS_he_supports_us }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = historical_option
			decrease_legitimacy_by_five = yes
			hidden_effect = { country_event = { id = austria_hungary.323 days = 10 random_days = 5 } }
		}
	}

	#He supports us
	focus = {
		id = AUS_he_supports_us
		icon = GFX_Focus_AUH_Emperor_Approves
		
		cost = 0
		x = -2
		y = 1
		relative_position_id = AUS_try_to_get_the_emperors_support
		available_if_capitulated = no 

		prerequisite = { focus = AUS_try_to_get_the_emperors_support }
		mutually_exclusive = { focus = AUS_he_denies_support }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			increase_ps_by_two = yes
			add_stability = 0.05
			add_political_power = 35
			add_days_mission_timeout = {
				mission = AUS_mission_eduard_von_taaffe_second_term
				days = 80
			}
		}
	}

	#The Law is passed
	focus = {
		id = AUS_the_law_is_passed
		icon = GFX_Focus_Law_Vote_1
		
		cost = 20
		x = 0
		y = 1
		relative_position_id = AUS_he_supports_us
		available_if_capitulated = no 

		prerequisite = { focus = AUS_he_supports_us }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			increase_legitimacy_by_two = yes
			if = {
				limit = {
					has_country_flag = AUS_eduard_von_taaffe_stays_a_liberal
				}

				add_popularity = {
					ideology = centrism
					popularity = 0.05
				}
			}
			else = {
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.05
				}
			}
			
			if = {
				limit = { has_idea = absolutism }
				swap_ideas = {
					remove_idea = absolutism
					add_idea = parliamentary_suffrage
				}
			}
			else_if = {
				limit = { has_idea = parliamentary_suffrage }
				swap_ideas = {
					remove_idea = parliamentary_suffrage
					add_idea = property_owners_suffrage
				}
			}
			else_if = {
				limit = { has_idea = property_owners_suffrage }
				swap_ideas = {
					remove_idea = property_owners_suffrage
					add_idea = universal_male_suffrage
				}
			}
			else_if = {
				limit = { has_idea = universal_male_suffrage }
				swap_ideas = {
					remove_idea = universal_male_suffrage
					add_idea = universal_suffrage
				}
			}
			else_if = {
				limit = { has_idea = universal_suffrage }
				add_political_power = 80
				add_stability = 0.10
			}
		}
	}

	#Give up our efforts
	focus = {
		id = AUS_give_up_our_efforts
		icon = GFX_Focus_Repeal_Law
		
		cost = 35
		x = 1
		y = 1
		relative_position_id = AUS_the_law_is_denied_by_the_aristocrats
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_law_is_denied_by_the_aristocrats }
		mutually_exclusive = { focus = AUS_try_to_get_the_emperors_support  }
		ai_will_do = { base = 200 }

		available = { 
			has_country_leader = {
				character = AUS_eduard_von_taaffe
				ruling_only = yes
			}
		}

		completion_reward = {
			decrease_legitimacy_by_five = yes
			hidden_effect = { country_event = { id = austria_hungary.323 days = 10 random_days = 5 } }
		}
	}

	#We have lost all support
	focus = {
		id = AUS_we_have_lost_all_support
		icon = GFX_focus_politics_government_chaos
		
		cost = 0
		x = 0
		y = 2
		relative_position_id = AUS_give_up_our_efforts
		available_if_capitulated = no 

		prerequisite = { focus = AUS_he_denies_support focus = AUS_give_up_our_efforts }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			decrease_ps_by_one = yes
			if = {
				limit = {
					has_country_flag = AUS_eduard_von_taaffe_stays_a_liberal
				}

				add_popularity = {
					ideology = centrism
					popularity = -0.05
				}
			}
			else = {
				add_popularity = {
					ideology = traditional_conservatism
					popularity = -0.05
				}
			}
			effect_tooltip = {
				remove_mission = AUS_mission_eduard_von_taaffe_second_term
			}
		}
	}

	#The law has passed
	focus = {
		id = AUS_the_law_has_passed
		icon = GFX_Focus_Law_Vote_1
		
		cost = 0
		x = -2
		y = 1
		relative_position_id = AUS_second_election_reform
		available_if_capitulated = no 

		prerequisite = { focus = AUS_second_election_reform }
		mutually_exclusive = { focus = AUS_the_law_is_denied_by_the_aristocrats }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			add_days_mission_timeout = {
				mission = AUS_mission_eduard_von_taaffe_second_term
				days = 80
			}
			if = {
				limit = {
					has_country_flag = AUS_eduard_von_taaffe_stays_a_liberal
				}

				add_popularity = {
					ideology = centrism
					popularity = 0.05
				}
			}
			else = {
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.05
				}
			}
			
			if = {
				limit = { has_idea = absolutism }
				swap_ideas = {
					remove_idea = absolutism
					add_idea = parliamentary_suffrage
				}
			}
			else_if = {
				limit = { has_idea = parliamentary_suffrage }
				swap_ideas = {
					remove_idea = parliamentary_suffrage
					add_idea = property_owners_suffrage
				}
			}
			else_if = {
				limit = { has_idea = property_owners_suffrage }
				swap_ideas = {
					remove_idea = property_owners_suffrage
					add_idea = universal_male_suffrage
				}
			}
			else_if = {
				limit = { has_idea = universal_male_suffrage }
				swap_ideas = {
					remove_idea = universal_male_suffrage
					add_idea = universal_suffrage
				}
			}
			else_if = {
				limit = { has_idea = universal_suffrage }
				add_political_power = 30
				add_stability = 0.05
			}
			hidden_effect = { country_event = { id = austria_hungary.322 days = 10 random_days = 10 } }
		}
	}

	#Conservative outrage
	focus = {
		id = AUS_conservative_outrage
		icon = GFX_Focus_Politician_Outrage
		
		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_the_law_has_passed
		available_if_capitulated = no 

		prerequisite = { focus = AUS_the_law_has_passed }
		ai_will_do = { base = 200 }

		available = { 
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			decrease_legitimacy_by_three = yes
			add_popularity = {
				ideology = autocracy
				popularity = 0.02
			}
		}
	}

	### PANIC OF 1873 TREE ###
	#The panic of 1873
	focus = {
		id = AUS_the_panic_of_1873
		icon = GFX_Focus_financial_westernisation

		cost = 0
		x = 6
		y = 1
		relative_position_id = AUS_the_political_landscape
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_political_landscape }
		ai_will_do = { base = 200 }

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		completion_reward = {
			activate_mission = AUS_mission_panic_of_1873
			custom_effect_tooltip = AUS_cabinet_panic_desc 
			set_country_flag = AUS_panic_under_current_leader
		}
	}

	#Ignore the words of the bankers
	focus = {
		id = AUS_ignore_the_words_of_the_bankers
		icon = GFX_Focus_Ignore_Bankers

		cost = 30
		x = 2
		y = 1
		relative_position_id = AUS_the_panic_of_1873
		available_if_capitulated = no  

		prerequisite = { focus = AUS_the_panic_of_1873 }
		ai_will_do = { 
			base = 10

			modifier = {
				add = 1000
				has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}
		mutually_exclusive = { focus = AUS_work_with_the_bankers }

		completion_reward = {
			activate_mission = AUS_mission_the_rich_move_away_from_us
			unlock_decision_tooltip = AUS_decision_take_out_a_loan_to_fix_the_situation
			unlock_decision_tooltip = AUS_decision_bribe_some_bankers
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
			custom_effect_tooltip = AUS_break_up_with_the_bankers
			custom_effect_tooltip = AUS_reduce_the_effects_of_the_panic_tt
			add_to_variable = {AUS_panic_cgf = -0.10 tooltip = consumer_goods_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_cgf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ppf = 0.05 tooltip = political_power_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ppf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ifrf = 0.06 tooltip = industry_free_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ifrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_irf = 0.10 tooltip = industry_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_irf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icd = 0.06 tooltip = industrial_capacity_dockyard_tooltip }
			clamp_variable = {
				var = AUS_panic_icd
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icfc = 0.06 tooltip = industrial_capacity_factory_tooltip }
			clamp_variable = {
				var = AUS_panic_icfc
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_psbf = 0.10 tooltip = production_speed_buildings_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_psbf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mif = 0.07 tooltip = money_income_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_mif
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icf = -0.01 tooltip = inflation_change_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_icf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_lrf = 0.10 tooltip = local_resources_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_lrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_sf = 0.08 tooltip = stability_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_sf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_wsf = 0.2 tooltip = war_support_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_wsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mp = 0.01 tooltip = monthly_population_tooltip }
			clamp_variable = {
				var = AUS_panic_mp
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_rsf = 0.03 tooltip = research_speed_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_rsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfsef = 0.06 tooltip = production_factory_start_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfsef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfmef = 0.02 tooltip = production_factory_max_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfmef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfegf = 0.04 tooltip = production_factory_efficiency_gain_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfegf
				min = 0
				max = 1
			}

			if = {
				limit = {
					check_variable = {
						var = AUS_panic_cgf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ppf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ifrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_irf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icd
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icfc
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_psbf 
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mif
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_lrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_sf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_wsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mp
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_rsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfsef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfmef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfegf
						value = 0
						compare = greater_than_or_equals
					}
				}

				remove_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}
	}

	#The rich moves away from our government
	focus = {
		id = AUS_the_rich_moves_away_from_our_government
		icon = GFX_Focus_Elite_Arrested

		cost = 	0
		x = 0
		y = 1
		relative_position_id = AUS_ignore_the_words_of_the_bankers
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_ignore_the_words_of_the_bankers }
		ai_will_do = { base = 200 }

		completion_reward = {
			activate_mission = AUS_mission_we_are_doomed
			add_timed_idea = {
				idea = AUS_idea_lost_the_support_of_the_bankers
				years = 2
			}
		}
	}

	#The government crumbles under the weight of the crisis
	focus = {
		id = AUS_the_government_crumbles_under_the_weight_of_the_crisis
		icon = GFX_focus_politics_government_chaos

		cost = 0
		x = 0
		y = 1
		relative_position_id = AUS_the_rich_moves_away_from_our_government
		available_if_capitulated = no  

		available = {
			custom_trigger_tooltip = {
				tooltip = GENERIC_Triggered_By_Event_tt
				always = no
			}
		}

		prerequisite = { focus = AUS_the_rich_moves_away_from_our_government }
		ai_will_do = { base = 200 }

		completion_reward = {
			custom_effect_tooltip = AUS_your_government_crumbled_tt
			if = {
				limit = {
					has_country_leader = {
						character = AUS_adolf_von_auersperg
						ruling_only = yes
					}
				}

				remove_mission = AUS_mission_adolf_von_auersperg
				decrease_ps_by_two = yes
				decrease_legitimacy_by_three = yes
				add_stability = -0.12
				add_political_power = -50

				AUS_karl_von_stremayr = { promote_character = yes }
				country_event = { id = austria_hungary.309 days = 179 }
			}

			if = {
				limit = {
					has_country_leader = {
						character = AUS_alfred_jozef_potocki
						ruling_only = yes
					}
					has_country_flag = AUS_potocki_alt_history_tree
				}

				remove_mission = AUS_mission_alfred_jozef_potocki
				decrease_ps_by_two = yes
				decrease_legitimacy_by_three = yes
				add_stability = -0.12
				add_political_power = -50

				complete_national_focus = AUS_the_next_auersperg_is_here
				activate_mission = AUS_mission_adolf_von_auersperg
				set_politics = { ruling_party = centrism }
				AUS_adolf_von_auersperg = { promote_character = yes }
				set_country_flag = AUS_adolf_von_auersperg_tree
			}

			if = {
				limit = {
					has_country_leader = {
						character = AUS_karl_sigmund_von_hohenwart
						ruling_only = yes
					}
				}

				set_country_flag = AUS_government_crumbled_panic_flag
				remove_mission = AUS_mission_karl_sigmund_von_hohenwart
				decrease_ps_by_two = yes
				decrease_legitimacy_by_three = yes
				add_stability = -0.12
				add_political_power = -50

				if = {
					limit = {
						NOT = {
							has_completed_focus = AUS_with_the_help_of_the_emperor_we_have_prevailed
						}
					}

					complete_national_focus = AUS_the_next_auersperg_is_here
					activate_mission = AUS_mission_adolf_von_auersperg
					set_politics = { ruling_party = centrism }
					AUS_adolf_von_auersperg = { promote_character = yes }
					set_country_flag = AUS_adolf_von_auersperg_tree
				}
				else_if = {
					limit = {
						has_completed_focus = AUS_with_the_help_of_the_emperor_we_have_prevailed
					}

					complete_national_focus = AUS_he_returns_even_stronger
					activate_mission = AUS_mission_eduard_von_taaffe_second_term
					set_politics = { ruling_party = centrism }
					AUS_eduard_von_taaffe = { promote_character = yes }
					set_country_flag = AUS_eduard_von_taaffe_ahistorical_tree
					set_country_flag = AUS_eduard_von_taaffe_second_term_tree
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
					}

					uncomplete_national_focus = {
						focus = AUS_ignore_the_words_of_the_bankers
						uncomplete_children = yes
					}
					uncomplete_national_focus = {
						focus = AUS_nationalise_the_important_railroads
						uncomplete_children = yes
					}
					uncomplete_national_focus = {
						focus = AUS_ask_the_help_of_the_nationalities
						uncomplete_children = yes
					}
				}
			}
		}
	}

	#Nationalise the important railroads
	focus = {
		id = AUS_nationalise_the_important_railroads
		icon = GFX_focus_train

		cost = 20
		x = -2
		y = 1
		relative_position_id = AUS_the_panic_of_1873
		available_if_capitulated = no  

		available = {
			has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
		}

		prerequisite = { focus = AUS_the_panic_of_1873 }
		ai_will_do = { 
			base = 10

			modifier = {
				add = 1000
				has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}

		completion_reward = {
			add_timed_idea = {
				idea = AUS_idea_important_railroads_nationalisied
				days = 180
			}
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
			custom_effect_tooltip = AUS_reduce_the_effects_of_the_panic_tt
			add_to_variable = {AUS_panic_cgf = -0.03 tooltip = consumer_goods_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_cgf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ppf = 0.02 tooltip = political_power_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ppf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ifrf = 0.05 tooltip = industry_free_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ifrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_irf = 0.08 tooltip = industry_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_irf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icd = 0.12 tooltip = industrial_capacity_dockyard_tooltip }
			clamp_variable = {
				var = AUS_panic_icd
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icfc = 0.12 tooltip = industrial_capacity_factory_tooltip }
			clamp_variable = {
				var = AUS_panic_icfc
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_psbf = 0.08 tooltip = production_speed_buildings_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_psbf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mif = 0.05 tooltip = money_income_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_mif
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icf = -0.02 tooltip = inflation_change_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_icf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_lrf = 0.08 tooltip = local_resources_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_lrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_sf = 0.03 tooltip = stability_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_sf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_wsf = 0.05 tooltip = war_support_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_wsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mp = 0.08 tooltip = monthly_population_tooltip }
			clamp_variable = {
				var = AUS_panic_mp
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_rsf = 0.04 tooltip = research_speed_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_rsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfsef = 0.04 tooltip = production_factory_start_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfsef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfmef = 0.03 tooltip = production_factory_max_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfmef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfegf = 0.06 tooltip = production_factory_efficiency_gain_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfegf
				min = 0
				max = 1
			}

			if = {
				limit = {
					check_variable = {
						var = AUS_panic_cgf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ppf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ifrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_irf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icd
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icfc
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_psbf 
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mif
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_lrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_sf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_wsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mp
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_rsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfsef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfmef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfegf
						value = 0
						compare = greater_than_or_equals
					}
				}

				remove_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}
	}

	#Work with the bankers
	focus = {
		id = AUS_work_with_the_bankers
		icon = GFX_Focus_new_fiscal_system

		cost = 35
		x = -0
		y = 1
		relative_position_id = AUS_the_panic_of_1873
		available_if_capitulated = no  

		available = {
			has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
		}

		prerequisite = { focus = AUS_the_panic_of_1873 }
		ai_will_do = { 
			base = 10

			modifier = {
				add = 100
				is_historical_focus_on = yes
			}
			modifier = {
				add = 1000
				has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}
		mutually_exclusive = { focus = AUS_ignore_the_words_of_the_bankers }

		completion_reward = {
			custom_effect_tooltip = historical_option
			custom_effect_tooltip = AUS_the_banks_will_ask_for_their_money_tt
			set_temp_variable = { money_to_gain = 10 }
			add_money_with_tooltip_effect = yes
			add_ideas = {
				AUS_idea_the_banks_are_on_our_side
			}
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
			custom_effect_tooltip = AUS_reduce_the_effects_of_the_panic_tt
			add_to_variable = {AUS_panic_cgf = -0.10 tooltip = consumer_goods_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_cgf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ppf = 0.05 tooltip = political_power_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ppf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ifrf = 0.06 tooltip = industry_free_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ifrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_irf = 0.10 tooltip = industry_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_irf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icd = 0.06 tooltip = industrial_capacity_dockyard_tooltip }
			clamp_variable = {
				var = AUS_panic_icd
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icfc = 0.06 tooltip = industrial_capacity_factory_tooltip }
			clamp_variable = {
				var = AUS_panic_icfc
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_psbf = 0.10 tooltip = production_speed_buildings_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_psbf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mif = 0.07 tooltip = money_income_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_mif
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icf = -0.01 tooltip = inflation_change_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_icf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_lrf = 0.10 tooltip = local_resources_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_lrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_sf = 0.08 tooltip = stability_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_sf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_wsf = 0.2 tooltip = war_support_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_wsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mp = 0.01 tooltip = monthly_population_tooltip }
			clamp_variable = {
				var = AUS_panic_mp
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_rsf = 0.03 tooltip = research_speed_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_rsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfsef = 0.06 tooltip = production_factory_start_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfsef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfmef = 0.02 tooltip = production_factory_max_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfmef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfegf = 0.04 tooltip = production_factory_efficiency_gain_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfegf
				min = 0
				max = 1
			}

			if = {
				limit = {
					check_variable = {
						var = AUS_panic_cgf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ppf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ifrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_irf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icd
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icfc
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_psbf 
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mif
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_lrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_sf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_wsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mp
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_rsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfsef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfmef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfegf
						value = 0
						compare = greater_than_or_equals
					}
				}

				remove_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}
	}

	#Ask the help of the nationalities
	focus = {
		id = AUS_ask_the_help_of_the_nationalities
		icon = GFX_Focus_AUH_Nationalities_Help

		cost = 20
		x = 1
		y = 1
		relative_position_id = AUS_nationalise_the_important_railroads
		available_if_capitulated = no  

		prerequisite = { focus = AUS_nationalise_the_important_railroads }
		prerequisite = { focus = AUS_work_with_the_bankers focus = AUS_ignore_the_words_of_the_bankers }
		ai_will_do = { 
			base = 10

			modifier = {
				add = 1000
				has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}

		completion_reward = {
			add_stability = 0.03
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = -0.05
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = -0.05
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	#Give them consessions for the help
	focus = {
		id = AUS_give_them_consessions_for_the_help
		icon = GFX_Focus_Economy_Increase_Wages

		cost = 10
		x = -1
		y = 1
		relative_position_id = AUS_ask_the_help_of_the_nationalities
		available_if_capitulated = no  

		prerequisite = { focus = AUS_ask_the_help_of_the_nationalities }
		ai_will_do = { 
			base = 10

			modifier = {
				add = 1000
				has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}
		mutually_exclusive = { focus = AUS_exploit_them }

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = -0.04
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = -0.04
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = -0.04
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = -0.04
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = -0.04
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = -0.04
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = -0.04
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	#Exploit them
	focus = {
		id = AUS_exploit_them
		icon = GFX_goal_SWE_economic_control

		cost = 10
		x = 1
		y = 1
		relative_position_id = AUS_ask_the_help_of_the_nationalities
		available_if_capitulated = no  

		prerequisite = { focus = AUS_ask_the_help_of_the_nationalities }
		ai_will_do = { 
			base = 10

			modifier = {
				add = 1000
				has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}
		mutually_exclusive = { focus = AUS_give_them_consessions_for_the_help }

		completion_reward = {
			add_ideas = {
				AUS_idea_expoliting_the_helping_hands
			}
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_five_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.10
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.10
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.10
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.10
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = 0.10
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = 0.10
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = 0.10
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
	}

	#Start Public Work Projects
	focus = {
		id = AUS_start_public_work_projects
		icon = GFX_Focus_urbanization

		cost = 25
		x = -1
		y = 1
		relative_position_id = AUS_exploit_them
		available_if_capitulated = no  

		prerequisite = { focus = AUS_give_them_consessions_for_the_help focus = AUS_exploit_them }
		ai_will_do = { 
			base = 10

			modifier = {
				add = 1000
				has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}

		completion_reward = {
			set_temp_variable = {
				unemployment_value = -0.008
			}
			add_unemployment_effect = yes
			unlock_decision_tooltip = AUS_decison_clear_space_after_the_panic
			unlock_decision_tooltip = AUS_decison_rebuild_factories_after_the_panic
			unlock_decision_tooltip = AUS_decison_give_jobs_on_abandoned_farms_after_the_panic
			custom_effect_tooltip = AUS_reduce_the_effects_of_the_panic_tt
			add_to_variable = {AUS_panic_cgf = -0.02 tooltip = consumer_goods_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_cgf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ppf = 0.05 tooltip = political_power_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ppf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ifrf = 0.02 tooltip = industry_free_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ifrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_irf = 0.04 tooltip = industry_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_irf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icd = 0.06 tooltip = industrial_capacity_dockyard_tooltip }
			clamp_variable = {
				var = AUS_panic_icd
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icfc = 0.06 tooltip = industrial_capacity_factory_tooltip }
			clamp_variable = {
				var = AUS_panic_icfc
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_psbf = 0.03 tooltip = production_speed_buildings_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_psbf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mif = 0.01 tooltip = money_income_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_mif
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icf = -0.01 tooltip = inflation_change_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_icf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_lrf = 0.02 tooltip = local_resources_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_lrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_sf = 0.05 tooltip = stability_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_sf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_wsf = 0.02 tooltip = war_support_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_wsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mp = 0.01 tooltip = monthly_population_tooltip }
			clamp_variable = {
				var = AUS_panic_mp
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_rsf = 0.03 tooltip = research_speed_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_rsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfsef = 0.01 tooltip = production_factory_start_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfsef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfmef = 0.02 tooltip = production_factory_max_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfmef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfegf = 0.04 tooltip = production_factory_efficiency_gain_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfegf
				min = 0
				max = 1
			}

			if = {
				limit = {
					check_variable = {
						var = AUS_panic_cgf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ppf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ifrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_irf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icd
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icfc
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_psbf 
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mif
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_lrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_sf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_wsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mp
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_rsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfsef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfmef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfegf
						value = 0
						compare = greater_than_or_equals
					}
				}

				remove_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
			hidden_effect = {
				set_country_flag = {
					flag = AUS_panic_public_works
					value = 0
				}
			}
		}
	}

	#Give help to the bankrupted buisnesses
	focus = {
		id = AUS_give_help_to_the_bankrupted_buisnesses
		icon = GFX_Focus_social_investments

		cost = 15
		x = 0
		y = 1
		relative_position_id = AUS_start_public_work_projects
		available_if_capitulated = no  

		prerequisite = { focus = AUS_start_public_work_projects }
		ai_will_do = { 
			base = 10

			modifier = {
				add = 1000
				has_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}

		completion_reward = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = AUS_reduce_the_effects_of_the_panic_tt
			add_to_variable = {AUS_panic_cgf = -0.08 tooltip = consumer_goods_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_cgf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ppf = 0.10 tooltip = political_power_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ppf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_ifrf = 0.07 tooltip = industry_free_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_ifrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_irf = 0.05 tooltip = industry_repair_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_irf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icd = 0.03 tooltip = industrial_capacity_dockyard_tooltip }
			clamp_variable = {
				var = AUS_panic_icd
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icfc = 0.08 tooltip = industrial_capacity_factory_tooltip }
			clamp_variable = {
				var = AUS_panic_icfc
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_psbf = 0.05 tooltip = production_speed_buildings_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_psbf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mif = 0.06 tooltip = money_income_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_mif
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_icf = -0.07 tooltip = inflation_change_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_icf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_lrf = 0.08 tooltip = local_resources_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_lrf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_sf = 0.04 tooltip = stability_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_sf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_wsf = 0.04 tooltip = war_support_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_wsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_mp = 0.08 tooltip = monthly_population_tooltip }
			clamp_variable = {
				var = AUS_panic_mp
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_rsf = 0.09 tooltip = research_speed_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_rsf
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfsef = 0.06 tooltip = production_factory_start_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfsef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfmef = 0.05 tooltip = production_factory_max_efficiency_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfmef
				min = 0
				max = 1
			}
			add_to_variable = {AUS_panic_pfegf = 0.03 tooltip = production_factory_efficiency_gain_factor_tooltip }
			clamp_variable = {
				var = AUS_panic_pfegf
				min = 0
				max = 1
			}

			if = {
				limit = {
					check_variable = {
						var = AUS_panic_cgf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ppf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_ifrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_irf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icd
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icfc
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_psbf 
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mif
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_icf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_lrf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_sf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_wsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_mp
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_rsf
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfsef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfmef
						value = 0
						compare = greater_than_or_equals
					}
					check_variable = {
						var = AUS_panic_pfegf
						value = 0
						compare = greater_than_or_equals
					}
				}

				remove_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
			}
		}
	}
}