AUS_decision_category_italian_unrest = {
	
	#Uproar in Italy
	AUS_decision_uproar_in_italy_countdown = {

		icon = generic_ignite_civil_war

		#allowed = { tag = AUS }

		available = {
			hidden_trigger = { always = no }
		}
		
		visible = {
			has_variable = ITA_UPROAR_RISK
			LVN = { is_puppet_of = AUS }
		}
		
		priority = 50
		
		days_remove = 30
		
		cancel_trigger = {
			custom_trigger_tooltip = {
				tooltip = AUS_decision_uproar_in_italy_countdown_trigger_tt
				hidden_trigger = {
					OR = {
						NOT = { has_variable = ITA_UPROAR_RISK }
						NOT = { LVN = { is_puppet_of = AUS } }
					}
				}
			}
		}

		remove_effect = {
			custom_effect_tooltip = AUS_decision_uproar_in_italy_countdown_effect_tt
			hidden_effect = {
				if = {
					limit = {
						if = {
							limit = {
								LVN = {
									controls_state = 159
								}
							}
							army_manpower_in_state = {
								amount > 19999
								state = 159
							}
						}
						if = {
							limit = {
								LVN = {
									controls_state = 160
								}
							}
							army_manpower_in_state = {
								amount > 19999
								state = 160
							}
						}
					}
					add_to_variable = {
						ITA_UPROAR_RISK = -0.01
					}
				}
				#if = {
				#	limit = {
				#		LVN = {
				#			has_idea = human_rights
				#		}
				#	}
				#	add_to_variable = {
				#		ITA_UPROAR_RISK = -0.005
				#	}
				#}
				if = {
					limit = {
						LVN = {
							has_idea = free_press
						}
					}
					add_to_variable = {
						ITA_UPROAR_RISK = -0.005
					}
				}
				if = {
					limit = {
						is_ai = yes
					}
					add_to_variable = {
						ITA_UPROAR_RISK = -0.01
					}
				}
				add_to_variable = {
					ITA_UPROAR_RISK = modifier@AUS_Italian_Uproar_Risk_Modifier
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				country_event = { id = austria.151 }
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Calm the Unrest in Italy
	AUS_mission_calm_the_unrest_in_italy = {

		icon = generic_nationalism

		allowed = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = AUS_mission_calm_the_unrest_in_italy_trigger_tt
				hidden_trigger = {
					NOT = {
						has_dynamic_modifier = {
							modifier = AUS_Italian_Unrest_Modifier
						}
					}
				}
			}
		}
		
		activation = { always = no }
		
		priority = 40
		
		highlight_states = {
			highlight_state_targets = {
				state = 159
				state = 160
			}
		}

		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 365
		
		cancel_trigger = {
			NOT = {
				LVN = { 
					is_puppet_of = AUS 
					owns_state = 159
				}
			}
		}

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				decrease_ps_by_one = yes
				add_stability = -0.05
				add_war_support = -0.1
				LVN = {
					decrease_ps_by_one = yes
					add_stability = -0.1
					add_war_support = -0.15
				}
			}
			hidden_effect = {
				set_country_flag = AUS_mission_calm_the_unrest_in_italy_fail_flag
				clr_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_remove_effect_flag
			}
		}

		complete_effect = {
			add_political_power = 50
			add_stability = 0.05
			LVN = {
				add_political_power = 50
				add_stability = 0.05
			}
			hidden_effect = {
				set_country_flag = AUS_mission_calm_the_unrest_in_italy_success_flag
				clr_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_remove_effect_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Make Promises of Liberalization in Italy
	AUS_decision_make_promises_of_liberalization_in_italy = {

		icon = eng_puppet_usa

		available = {
			#has_completed_focus = AUS_focus_token_liberalization
			#has_war = no
			NOT = {
				AUS = { has_country_flag = aus_mne_category_17_decision_ongoing }
			}
		}

		visible = {
			LVN = {
				is_puppet_of = AUS
				OR = {
					#NOT = { has_idea = human_rights }
					NOT = {	has_idea = free_press }
				}
			}
			NOT = { has_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_remove_effect_flag }
			has_active_mission = AUS_mission_calm_the_unrest_in_italy
		}

		cost = 10
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.05
		}
		
		cancel_trigger = {
			LVN = {
				NOT = { is_puppet_of = AUS }
			}
		}
		
		complete_effect = {
			set_country_flag = {
				flag = aus_mne_category_17_decision_ongoing
				days = 90
				value = 1
			}
			custom_effect_tooltip = AUS_unrest_in_italy_minus_two_effect_tt
			#if = {
			#	limit = {
			#		LVN = {
			#			NOT = { has_idea = human_rights }
			#		}
			#	}
			#	unlock_decision_tooltip = AUS_decision_grant_human_rights_in_lvn
			#}
			if = {
				limit = {
					LVN = {
						NOT = { has_idea = free_press }
					}
				}
				unlock_decision_tooltip = AUS_decision_grant_free_press_in_lvn
			}
			add_stability = 0.01
			LVN = {
				add_stability = 0.02
				add_political_power = 10
			}
			hidden_effect = {
				add_to_variable = {
					ITA_UPROAR_RISK = -0.02
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				set_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_complete_effect_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_make_promises_of_liberalization_in_italy_effect_tt
			hidden_effect = {
				set_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_remove_effect_flag
				clr_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_complete_effect_flag
				country_event = { days = 60 id = austria.154 }
				
				set_temp_variable = { mne_decision_token = token:AUS_decision_make_promises_of_liberalization_in_italy }
                set_temp_variable = { mne_decision_category = 17 }
                austria_mne_hide_decision = yes
			}	
		}

		ai_will_do = {
			base = 250
		}
	}
	
	#Grant Human Rights to the Citizens of Lombardy-Venetia
	AUS_decision_grant_human_rights_in_lvn = {

		icon = generic_independence

		available = {
			has_war = no
		}

		visible = {
			LVN = {
				is_puppet_of = AUS
				#NOT = { has_idea = human_rights }
			}
			has_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_complete_effect_flag
			has_active_mission = AUS_mission_calm_the_unrest_in_italy
		}

		cost = 50
		
		complete_effect = {
			custom_effect_tooltip = AUS_unrest_in_italy_minus_ten_effect_tt
			LVN = {
				#add_ideas = human_rights
				add_stability = 0.03
			}
			hidden_effect = {
				add_to_variable = {
					ITA_UPROAR_RISK = -0.1
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
			}
		}

		ai_will_do = {
			base = 250
			#modifier = {
			#	factor = 0.25
			#	is_historical_focus_on = yes
			#}
		}
	}
	
	#Grant Freedom of the Press in Lombardy-Venetia
	AUS_decision_grant_free_press_in_lvn = {

		icon = ger_mefo_bills

		available = {
			has_war = no
		}

		visible = {
			LVN = {
				is_puppet_of = AUS
				NOT = { has_idea = free_press }
			}
			has_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_complete_effect_flag
			has_active_mission = AUS_mission_calm_the_unrest_in_italy
		}

		cost = 25
		
		complete_effect = {
			custom_effect_tooltip = AUS_unrest_in_italy_minus_five_effect_tt
			LVN = {
				add_ideas = free_press
				add_stability = 0.01
			}
			hidden_effect = {
				add_to_variable = {
					ITA_UPROAR_RISK = -0.05
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
			}
		}

		ai_will_do = {
			base = 250
			#modifier = {
			#	factor = 0.25
			#	is_historical_focus_on = yes
			#}
		}
	}
}

AUS_decision_category_external_threats = {
	
	#Cooperate with France and Britain to Stabilize the Mediterranean
	AUS_decision_stabilize_the_mediterranean = {

		icon = eng_trade_unions_support
		
		#allowed = { tag = AUS }

		available = {
			has_completed_focus = AUS_focus_aftermath_of_the_crimean_war
			has_war = no
			AUS = {
				if = {
					limit = {
						is_ai = no
					}
					has_navy_size = {
						size > 29
					}
				}
				else = {
					has_navy_size = {
						size > 25
					}
				}
			}
			ENG = {
				has_navy_size = {
					size > 149
				}
			}
			FRA = {
				has_navy_size = {
					size > 69
				}
			}
			OTO = { has_war = no }
		}

		visible = {
			AUS = {
				is_puppet = no 
			}
			ENG = {
				is_puppet = no 
			}
			FRA = {
				is_puppet = no 
			}
			OTO = {
				is_puppet = no 
			}
		}

		fire_only_once = yes
		
		cost = 10
		
		days_remove = 60
		 
		modifier = {
			political_power_gain = -0.05
		}
		
		complete_effect = {
			ENG = { country_event = { days = 7 id = austria.102 } }
			FRA = { country_event = { days = 7 id = austria.102 } }
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_stabilize_the_mediterranean_effect_tt
			if = {
				limit = {
					has_country_flag = AUS_decision_stabilize_the_mediterranean_ENG_flag
					has_country_flag = AUS_decision_stabilize_the_mediterranean_FRA_flag
				}
				country_event = { id = austria.105 }
			}
			else = {
				country_event = { id = austria.106 }
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Austro-Russian Rapprochement
	AUS_decision_austro_russian_rapprochement = {

		icon = hol_exchange_intelligence_data
		
		#allowed = { tag = AUS }

		available = {
			has_completed_focus = AUS_focus_reapproach_russia
		}

		visible = {
			NOT = { has_completed_focus = AUS_focus_loosen_russian_ties_further }
			AUS = {
				is_puppet = no 
			}
			RUS = {
				is_puppet = no 
			}
		}

		fire_only_once = yes
		
		cost = 10
		
		days_remove = 120
		 
		modifier = {
			political_power_gain = -0.05
		}
		
		complete_effect = {
			add_stability = -0.03
		}
		
		remove_effect = {
			remove_opinion_modifier = {
				target = RUS
				modifier = AUS_CRIMEAN_WAR_AFTERMATH_VERY_BAD
			}
			RUS = {
				remove_opinion_modifier = {
					target = AUS
					modifier = AUS_CRIMEAN_WAR_AFTERMATH_VERY_BAD
				}
			}
			add_opinion_modifier = { target = RUS modifier = AUS_CRIMEAN_WAR_AFTERMATH_BAD }
			reverse_add_opinion_modifier = { target = RUS modifier = AUS_CRIMEAN_WAR_AFTERMATH_BAD }
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Try to Mend the Divide
	AUS_decision_try_to_mend_the_divide = {

		icon = eng_ally_imperialist_coup
		
		#allowed = { tag = AUS }

		available = {
			has_completed_focus = AUS_focus_mending_the_divide
		}

		visible = {
			AUS = {
				is_puppet = no
			}
			RUS = { 
				is_puppet = no
				has_opinion_modifier = AUS_CRIMEAN_WAR_AFTERMATH_BAD
			}
		}
		
		cost = 10
		
		days_remove = 120
		 
		modifier = {
			political_power_gain = -0.05
		}
		
		complete_effect = {
			add_stability = -0.01
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_try_to_mend_the_divide_effect_tt
			remove_opinion_modifier = {
				target = RUS
				modifier = AUS_CRIMEAN_WAR_AFTERMATH_BAD
			}
			RUS = {
				remove_opinion_modifier = {
					target = AUS
					modifier = AUS_CRIMEAN_WAR_AFTERMATH_BAD
				}
			}
			hidden_effect = {
				RUS = { country_event = { days = 60 id = austria.107 } }
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Tighten Cooperation with Britain
	AUS_decision_tighten_cooperation_with_britain = {

		icon = eng_ally_imperialist_coup
		
		#allowed = { tag = AUS }

		available = {
			has_completed_focus = AUS_focus_tighten_cooperation_with_britain
		}

		visible = {
			NOT = { has_completed_focus = AUS_focus_reapproach_russia }
			AUS = {
				is_puppet = no
			}
			ENG = {
				is_puppet = no
				has_opinion_modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD
			}
		}
		
		cost = 10
		
		days_remove = 120
		 
		modifier = {
			political_power_gain = -0.05
		}
		
		complete_effect = {
			add_stability = 0.02
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_tighten_cooperation_with_britain_effect_tt
			add_opinion_modifier = { target = ENG modifier = AUS_CRIMEAN_WAR_AFTERMATH_VERY_GOOD }
			reverse_add_opinion_modifier = { target = ENG modifier = AUS_CRIMEAN_WAR_AFTERMATH_VERY_GOOD }
			hidden_effect = {
				remove_opinion_modifier = {
					target = ENG
					modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD
				}
				ENG = {
					remove_opinion_modifier = {
						target = AUS
						modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD
					}
				}
				ENG = { country_event = { days = 60 id = austria.108 } }
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Bolster Our Defenses
	AUS_mission_bolster_our_defenses = {

		icon = fort

		allowed = { always = no }

		available = {
			OR = {
				LVN = { 
					is_puppet_of = AUS 
					owns_state = 160
				}
				AUS = {
					owns_state = 160
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_bolster_our_defenses_trigger_tt
				hidden_trigger = {
					160 = {
						any_province_building_level = {
							province = {
								id = 603 #Peschiera
							}
							building = bunker
							level > 2
						}
						any_province_building_level = {
							province = {
								id = 3604 #Legnago
							}
							building = bunker
							level > 2
						}
						any_province_building_level = {
							province = {
								id = 3657 #Verona
							}
							building = bunker
							level > 2
						}
						any_province_building_level = {
							province = {
								id = 6656 #Mantova
							}
							building = bunker
							level > 2
						}
					}
				}
			}
		}
		
		activation = { always = no }
		
		priority = 50
		
		highlight_states = {
			highlight_state_targets = {
				state = 160
			}
		}

		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 365

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				decrease_ps_by_one = yes
				add_stability = -0.05
				add_war_support = -0.1
				add_command_power = -50
			}
		}

		complete_effect = {
			add_political_power = 50
			add_stability = 0.05
			add_war_support = 0.01
			add_command_power = 25
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Refit the Fortifications at Peschiera
	AUS_decision_refit_fort_peschiera = {

		icon = fort_flag

		available = {
			has_completed_focus = AUS_focus_refit_the_forts
		}

		visible = {
			has_active_mission = AUS_mission_bolster_our_defenses
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 160
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.5 }
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 120
		
		cancel_trigger = {
			NOT = { owns_state = 160 }
			NOT = { has_active_mission = AUS_mission_bolster_our_defenses }
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			army_experience = 5
			add_war_support = 0.01
			160 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 603
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Refit the Fortifications at Legnago
	AUS_decision_refit_fort_legnago = {

		icon = fort_flag

		available = {
			has_completed_focus = AUS_focus_refit_the_forts
		}

		visible = {
			has_active_mission = AUS_mission_bolster_our_defenses
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 160
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		
		days_remove = 120
		
		cancel_trigger = {
			NOT = { owns_state = 160 }
			NOT = { has_active_mission = AUS_mission_bolster_our_defenses }
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			army_experience = 5
			add_war_support = 0.01
			160 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 3604
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Refit the Fortifications at Verona
	AUS_decision_refit_fort_verona = {

		icon = fort_flag

		available = {
			has_completed_focus = AUS_focus_refit_the_forts
		}

		visible = {
			has_active_mission = AUS_mission_bolster_our_defenses
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 160
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		
		days_remove = 120
		
		cancel_trigger = {
			NOT = { owns_state = 160 }
			NOT = { has_active_mission = AUS_mission_bolster_our_defenses }
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}

		
		remove_effect = {
			army_experience = 5
			add_war_support = 0.01
			160 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 3657
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Refit the Fortifications at Mantua
	AUS_decision_refit_fort_mantua = {

		icon = fort_flag

		available = {
			has_completed_focus = AUS_focus_refit_the_forts
		}

		visible = {
			has_active_mission = AUS_mission_bolster_our_defenses
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 160
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		
		days_remove = 120
		
		cancel_trigger = {
			NOT = { owns_state = 160 }
			NOT = { has_active_mission = AUS_mission_bolster_our_defenses }
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			army_experience = 5
			add_war_support = 0.01
			160 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 6656
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Russian Troops at the Galician Border
	AUS_mission_russian_troops_galician_border = {
		
		allowed = { always = no }
		
		available = {
			OR = {
				#AND = {
				#	army_manpower_in_state = {
				#		amount > 19999
				#		state = 88
				#	}
				#	army_manpower_in_state = {
				#		amount > 19999
				#		state = 91
				#	}
				#}
				NOT = {
					has_war_with = PIE
				}
				NOT = {
					controls_state = 88
					controls_state = 91
				}
			}
		}
		
		activation = { always = no }
		
		priority = 10
		
		is_good = no
		
		days_mission_timeout = 30
		
		war_with_on_timeout = RUS
		
		timeout_effect = {
			custom_effect_tooltip = AUS_mission_russian_troops_galician_border_trigger_tt
			if = {
				limit = {
					NOT = {
						army_manpower_in_state = {
							amount > 19999
							state = 88
						}
						army_manpower_in_state = {
							amount > 19999
							state = 91
						}
					}
				}
				random_list = {
					40 = {
						add_manpower = -250
						add_equipment_to_stockpile = {
							type = infantry_equipment
							amount = -500
						}
						add_equipment_to_stockpile = {
							type = uniform_equipment
							amount = -500
						}
					}
					5 = {
						RUS = {
							transfer_state = 88
							transfer_state = 1321
							country_event = {
								id = risorgimento.220
							}
							hidden_effect = {
								add_state_core = 88
								add_state_core = 1321
							}
						}
						modifier = {
							factor = 0
							OR = {
								RUS = {
									controls_state = 88
								}
								AUS = {
									is_ai = yes
								}
							}
						}
					}
					5 = {
						RUS = {
							transfer_state = 91
							country_event = {
								id = risorgimento.220
							}
							hidden_effect = {
								add_state_core = 91
							}
						}
						modifier = {
							factor = 0
							OR = {
								RUS = {
									controls_state = 91
								}
								AUS = {
									is_ai = yes
								}
							}
							
						}
					}
					#### Needs changes so that always requires a border war to annex land, on_win and what not
					25 = {
						start_border_war = {
							change_state_after_war = no
							attacker = {
								state = 93
								num_provinces = 4
							}			
							defender = {
								state = 91
								num_provinces = 3
							}
						}
						modifier = {
							factor = 0
							RUS = {
								controls_state = 91
							}
						}
					}
					25 = {
						start_border_war = {
							change_state_after_war = no
							attacker = {
								state = 92
								num_provinces = 2
							}			
							defender = {
								state = 88
								num_provinces = 2
							}
						}
						modifier = {
							factor = 0
							RUS = {
								controls_state = 88
							}
						}
					}
				}
			}
			activate_mission = AUS_mission_russian_troops_galician_border
		}
		
		complete_effect = {
			## event about Russians leaving
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	#Romanian Troops at the Border
	AUS_mission_romanian_troops_transylvanian_border = {
	
		allowed = { always = no }
		
		available = {
			NOT = {
				has_war_with = PIE
			}	
		}
		
		activation = { always = no }
		
		priority = 10
		
		is_good = no
		
		days_mission_timeout = 200
		
		war_with_on_timeout = ROM
		war_with_on_timeout = MOL
		
		timeout_effect = {
			custom_effect_tooltip = AUS_mission_romanian_troops_transylvanian_border_trigger_tt
			if = {
				limit = {
					NOT = {
						AND = {
							army_manpower_in_state = {
								amount > 15999
								state = 84
							}
							army_manpower_in_state = {
								amount > 7999
								state = 967
							}
							army_manpower_in_state = {
								amount > 5999
								state = 1055
							}
						}
					}
				}
				add_war_support = -0.1
				add_stability = -0.1
			}
			activate_mission = AUS_mission_romanian_troops_transylvanian_border
		}
		
		complete_effect = {
			## none, decision is canceled when Piedmont unironically does invade
		}
		
		ai_will_do = {
			base = 100
		}
	}
}

AUS_decision_category_multinational_empire = {
	
	#Nationalist Agitation
	AUS_decision_nationalist_agitation_countdown = {

		icon = generic_nationalism

		available = {
			hidden_trigger = { always = no }
		}
		
		visible = {
			is_ai = yes
		}
		
		priority = 50

		days_remove = 90
		
		cancel_trigger = {
			custom_trigger_tooltip = {
				tooltip = AUS_decision_nationalist_agitation_countdown_trigger_tt
				hidden_trigger = {
					has_country_flag = AUS_no_more_nationalist_agitation_flag
				}
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_nationalist_agitation_countdown_effect_tt
			hidden_effect = {
				country_event = { id = austria.205 }
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}

	#Open Multination Empire Gui
	AUS_decision_open_multination_empire_gui = {

		icon = eng_propaganda_campaigns

		available = {
			NOT = {
				has_country_flag = AUS_multinational_empire_open
			}
		}

		visible = {
			is_ai = yes
		}
		
		cost = 0

		complete_effect = {
			set_country_flag = AUS_multinational_empire_open
		}
		
		ai_will_do = {
			base = 100
		}
	}

	#Stop Promoting the German Language
	AUS_decision_stop_promoting_the_german_language = {

		icon = generic_break_treaty

		available = {
			has_stability > 0.2
		}

		visible = {
			has_decision = AUS_decision_promote_the_german_language
		}
		
		cost = 25

		complete_effect = {
			add_stability = -0.03
			remove_decision = AUS_decision_promote_the_german_language
			hidden_effect = {
				clr_country_flag = AUS_promote_german_language_flag
			}
		}
		
		ai_will_do = {
			base = 0
			modifier = {
				add = 500
				OR = {
					check_variable = {
						var = HUN_REVOLT_RISK
						value = 0.6
						compare = greater_than
					}
					check_variable = {
						var = CZE_REVOLT_RISK
						value = 0.6
						compare = greater_than
					}
					check_variable = {
						var = CRO_REVOLT_RISK
						value = 0.6
						compare = greater_than
					}
					check_variable = {
						var = POL_REVOLT_RISK
						value = 0.6
						compare = greater_than
					}
					check_variable = {
						var = ITA_UPROAR_RISK
						value = 0.6
						compare = greater_than
					}
					check_variable = {
						var = UKR_REVOLT_RISK
						value = 0.6
						compare = greater_than
					}
					check_variable = {
						var = ROM_REVOLT_RISK
						value = 0.6
						compare = greater_than
					}
				}
			}
		}
	}
	
	#Adapt the Curriculum
	AUS_decision_adapt_the_curriculum = {

		icon = university

		available = {
			has_stability > 0.4
		}

		visible = {
			has_decision = AUS_decision_promote_the_german_language
 			NOT = {
 				has_country_flag = {
 					flag = AUS_promote_german_language_flag
 					days > 243
 				}
 			}
		}
		
		cost = 25
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.05
			resistance_growth = 0.1
			research_speed_factor = 0.01
		}
		
		cancel_trigger = {
			NOT = { has_decision = AUS_decision_promote_the_german_language }
		}

		complete_effect = {
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_all_nationalisms_by_one_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.01
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.01
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.01
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.01
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ITA_UPROAR_RISK
					value = 0.01
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = UKR_REVOLT_RISK
					value = 0.01
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = ROM_REVOLT_RISK
					value = 0.01
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
				add_to_variable = {
					var = GER_REVOLT_RISK
					value = 0.01
				}
				clamp_variable = {
					var = GER_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		
		remove_effect = {
			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
				}
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Enforce German as Administrative Language
	AUS_decision_enforce_german_as_administrative_language = {

		icon = eng_trade_unions_demand

		available = {
			has_stability > 0.5
		}

		visible = {
			has_decision = AUS_decision_promote_the_german_language
 			NOT = {
 				has_country_flag = {
 					flag = AUS_promote_german_language_flag
 					days > 243
 				}
 			}
		}
		
		cost = 75
		
		days_remove = 120
		
		modifier = {
			political_power_gain = 0.05
			resistance_growth = 0.15
		}
		
		cancel_trigger = {
			NOT = { has_decision = AUS_decision_promote_the_german_language }
		}

		complete_effect = {
			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
				}
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_three_tt
			hidden_effect = {
				subtract_from_variable = {
					var = HUN_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = CZE_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = CRO_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = POL_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = ITA_UPROAR_RISK
					value = 0.03
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = UKR_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = UKR_REVOLT_RISK
					min = 0
					max = 1
				}
				subtract_from_variable = {
					var = ROM_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = ROM_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Promote the German Language
	AUS_decision_promote_the_german_language = {

		icon = eng_propaganda_campaigns

		available = {
			has_stability > 0.5
 			has_completed_focus = AUS_focus_the_challenges_of_a_multinational_empire
		}

		visible = {
			#
		}
		
		cost = 100
		
		days_remove = 365
		
		modifier = {
			political_power_gain = 0.05
			drift_defence_factor = 0.25
			stability_weekly = 0.001
			resistance_growth = 0.25
			autocracy_drift = 0.04
			traditional_conservatism_drift = 0.02
		}

		complete_effect = {
			add_stability = -0.01
			custom_effect_tooltip = AUS_decision_promote_the_german_language_effect_tt
			hidden_effect = {
				country_event = { days = 1 id = austria.212 }
				set_country_flag = AUS_promote_german_language_flag
			}
		}
		
		remove_effect = {
			country_event = { id = austria.211 }
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Restore Order in the Empire
	AUS_decision_restore_order = {

		icon = franz_joseph

		available = {
			has_stability > 0.4
 			has_completed_focus = AUS_focus_aftermath_of_the_revolutions_of_1848
		}

		visible = {

		}
		
		fire_only_once = yes
		
		cost = 100
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.25
			autocracy_drift = 0.05
		}

		complete_effect = {
			add_stability = -0.02
			decrease_ps_by_two = yes
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_restore_order_effect_tt
			hidden_effect = {
				set_country_flag = AUS_restore_order_flag
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	#Grant Amnesty to the Insurgents of 1848/49
	AUS_decision_grant_insurgents_amnesty = {

		icon = generic_independence

		available = {
			has_stability > 0.4
		}

		visible = {
			has_country_flag = AUS_rudolf_born_flag
		}
		
		cost = 25

		complete_effect = {
			add_stability = 0.02
			custom_effect_tooltip = AUS_decrease_all_nationalisms_by_two_tt
			hidden_effect = {
				clr_country_flag = AUS_rudolf_born_flag
				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
				}
			}
		}
		
		ai_will_do = {
			base = 100
			modifier = {
				factor = 5
				check_variable = {
					var = HUN_REVOLT_RISK
					value = 0.4
					compare = greater_than
				}
			}
		}
	}
	
	#Suppress Hungarian Nationalism
	AUS_decision_suppress_hungarian_nationalism = {

		icon = oppression_hun_autocracy

		available = {
			has_stability > 0.4
 			has_completed_focus = AUS_focus_hungarian_situation
			NOT = {
				AUS = { has_country_flag = aus_mne_category_10_decision_ongoing }
			}
		}

		visible = {
			is_ai = yes
		}
		
		cost = 25
		
		days_remove = 180
		 
		modifier = {
			political_power_gain = -0.05
			drift_defence_factor = 0.25
			resistance_growth = -0.5
			resistance_decay = 0.5
			stability_weekly = -0.001
		}

		complete_effect = {
			set_country_flag = {
				flag = aus_mne_category_10_decision_ongoing
				days = 180
				value = 1
			}
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				custom_effect_tooltip = AUS_increase_hungarian_nationalism_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
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				custom_effect_tooltip = AUS_increase_hungarian_nationalism_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
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_one_tt
				hidden_effect = {
					add_to_variable = {
						var = HUN_REVOLT_RISK
						value = 0.01
					}
					clamp_variable = {
						var = HUN_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				add_stability = 0.02
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = HUN_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = HUN_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_three_tt
					hidden_effect = {
						subtract_from_variable = {
							var = HUN_REVOLT_RISK
							value = 0.03
						}
						clamp_variable = {
							var = HUN_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				add_stability = 0.01
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_five_tt
					hidden_effect = {
						subtract_from_variable = {
							var = HUN_REVOLT_RISK
							value = 0.05
						}
						clamp_variable = {
							var = HUN_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = HUN_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = HUN_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else = {
				add_stability = 0.03
				custom_effect_tooltip = AUS_decrease_hungarian_nationalism_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
					}
				}
			}

			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_hungarian_nationalism }
                set_temp_variable = { mne_decision_category = 10 }
                austria_mne_hide_decision = yes

				country_event = { id = austria_hungary.968 days = 35 }
			}
		}
		
		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				check_variable = {
					var = HUN_REVOLT_RISK
					value = 0.3
					compare = greater_than_or_equals
				}
			}
			modifier = {
				factor = 0.5
				check_variable = {
					var = HUN_REVOLT_RISK
					value = 0.2
					compare = less_than
				}
			}
			modifier = {
				factor = 0.2
				check_variable = {
					var = HUN_REVOLT_RISK
					value = 0.1
					compare = less_than
				}
			}
			modifier = {
				factor = 0.1
				check_variable = {
					var = HUN_REVOLT_RISK
					value = 0.05
					compare = less_than
				}
			}
			modifier = {
				factor = 3
				has_country_flag = AUS_restore_order_flag
			}
		}
	}

	#Suppress Romanian Nationalism
	AUS_decision_suppress_romanian_nationalism = {

		icon = oppression_cze_autocracy

		available = {
			has_stability > 0.4
			is_ai = yes
			NOT = {
				OR = {
					AUS = { has_country_flag = aus_mne_category_11_decision_ongoing }
					AUS = { has_country_flag = aus_mne_category_14_decision_ongoing }
				}
			}
		}

		visible = {
			is_ai = yes
		}
		
		cost = 25
		
		days_remove = 180
		 
		modifier = {
			political_power_gain = -0.05
			drift_defence_factor = 0.25
			resistance_growth = -0.5
			resistance_decay = 0.5
			stability_weekly = -0.001
		}

		complete_effect = {
			set_country_flag = {
				flag = aus_mne_category_11_decision_ongoing
				days = 180
				value = 1
			}
			set_country_flag = {
				flag = aus_mne_category_14_decision_ongoing
				days = 180
				value = 1
			}
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				custom_effect_tooltip = AUS_increase_romanian_nationalism_by_two_tt
				hidden_effect = {
					add_to_variable = {
						var = ROM_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = ROM_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				custom_effect_tooltip = AUS_increase_romanian_nationalism_by_three_tt
				hidden_effect = {
					add_to_variable = {
						var = ROM_REVOLT_RISK
						value = 0.03
					}
					clamp_variable = {
						var = ROM_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_increase_romanian_nationalism_by_one_tt
				hidden_effect = {
					add_to_variable = {
						var = ROM_REVOLT_RISK
						value = 0.01
					}
					clamp_variable = {
						var = ROM_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				add_stability = 0.02
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = ROM_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = ROM_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_three_tt
					hidden_effect = {
						subtract_from_variable = {
							var = ROM_REVOLT_RISK
							value = 0.03
						}
						clamp_variable = {
							var = ROM_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				add_stability = 0.01
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_five_tt
					hidden_effect = {
						subtract_from_variable = {
							var = ROM_REVOLT_RISK
							value = 0.05
						}
						clamp_variable = {
							var = ROM_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = ROM_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = ROM_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else = {
				add_stability = 0.03
				custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_two_tt
				hidden_effect = {
					subtract_from_variable = {
						var = ROM_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = ROM_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}

			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_romanian_nationalism }
				set_temp_variable = { mne_decision_category = 11 }
				austria_mne_hide_decision = yes
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_romanian_nationalism }
				set_temp_variable = { mne_decision_category = 14 }
				austria_mne_hide_decision = yes

				country_event = { id = austria_hungary.964 days = 35 }
			}
		}
		
		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				check_variable = {
					var = ROM_REVOLT_RISK
					value = 0.3
					compare = greater_than_or_equals
				}
			}
			modifier = {
				factor = 0.5
				check_variable = {
					var = ROM_REVOLT_RISK
					value = 0.2
					compare = less_than
				}
			}
			modifier = {
				factor = 0.2
				check_variable = {
					var = ROM_REVOLT_RISK
					value = 0.1
					compare = less_than
				}
			}
			modifier = {
				factor = 0.1
				check_variable = {
					var = ROM_REVOLT_RISK
					value = 0.05
					compare = less_than
				}
			}
			modifier = {
				factor = 3
				has_country_flag = AUS_restore_order_flag
			}
		}
	}

	#Suppress German Nationalism
	AUS_decision_suppress_german_nationalism = {

		icon = oppression_cze_autocracy

		available = {
			has_stability > 0.4
			is_ai = yes
			NOT = {
				OR = {
					AUS = { has_country_flag = aus_mne_category_1_decision_ongoing }
					AUS = { has_country_flag = aus_mne_category_18_decision_ongoing }
				}
			}
		}

		visible = {
			is_ai = yes
		}
		
		cost = 25
		
		days_remove = 180
		 
		modifier = {
			political_power_gain = -0.05
			drift_defence_factor = 0.25
			resistance_growth = -0.5
			resistance_decay = 0.5
			stability_weekly = -0.001
		}

		complete_effect = {
			set_country_flag = {
				flag = aus_mne_category_1_decision_ongoing
				days = 180
				value = 1
			}
			set_country_flag = {
				flag = aus_mne_category_18_decision_ongoing
				days = 180
				value = 1
			}
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				custom_effect_tooltip = AUS_increase_romanian_nationalism_by_two_tt
				hidden_effect = {
					add_to_variable = {
						var = GER_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = GER_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				custom_effect_tooltip = AUS_increase_romanian_nationalism_by_three_tt
				hidden_effect = {
					add_to_variable = {
						var = GER_REVOLT_RISK
						value = 0.03
					}
					clamp_variable = {
						var = GER_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_increase_romanian_nationalism_by_one_tt
				hidden_effect = {
					add_to_variable = {
						var = GER_REVOLT_RISK
						value = 0.01
					}
					clamp_variable = {
						var = GER_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				add_stability = 0.02
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = GER_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = GER_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_three_tt
					hidden_effect = {
						subtract_from_variable = {
							var = GER_REVOLT_RISK
							value = 0.03
						}
						clamp_variable = {
							var = GER_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				add_stability = 0.01
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_five_tt
					hidden_effect = {
						subtract_from_variable = {
							var = GER_REVOLT_RISK
							value = 0.05
						}
						clamp_variable = {
							var = GER_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = GER_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = GER_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else = {
				add_stability = 0.03
				custom_effect_tooltip = AUS_decrease_romanian_nationalism_by_two_tt
				hidden_effect = {
					subtract_from_variable = {
						var = GER_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = GER_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}

			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_german_nationalism }
				set_temp_variable = { mne_decision_category = 1 }
				austria_mne_hide_decision = yes
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_german_nationalism }
				set_temp_variable = { mne_decision_category = 18 }
				austria_mne_hide_decision = yes

				country_event = { id = austria_hungary.967 days = 35 }
			}
		}
		
		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				check_variable = {
					var = GER_REVOLT_RISK
					value = 0.3
					compare = greater_than_or_equals
				}
			}
			modifier = {
				factor = 0.5
				check_variable = {
					var = GER_REVOLT_RISK
					value = 0.2
					compare = less_than
				}
			}
			modifier = {
				factor = 0.2
				check_variable = {
					var = GER_REVOLT_RISK
					value = 0.1
					compare = less_than
				}
			}
			modifier = {
				factor = 0.1
				check_variable = {
					var = GER_REVOLT_RISK
					value = 0.05
					compare = less_than
				}
			}
			modifier = {
				factor = 3
				has_country_flag = AUS_restore_order_flag
			}
		}
	}
	
	#Suppress West Slavic Nationalism
	AUS_decision_suppress_west_slavic_nationalism = {

		icon = oppression_cze_autocracy

		available = {
			has_stability > 0.4
			is_ai = yes
			NOT = {
				OR = {
					AUS = { has_country_flag = aus_mne_category_3_decision_ongoing }
					AUS = { has_country_flag = aus_mne_category_7_decision_ongoing }
				}
			}
		}

		visible = {
			is_ai = yes
		}
		
		cost = 25
		
		days_remove = 180
		 
		modifier = {
			political_power_gain = -0.05
			drift_defence_factor = 0.25
			resistance_growth = -0.5
			resistance_decay = 0.5
			stability_weekly = -0.001
		}

		complete_effect = {
			set_country_flag = {
				flag = aus_mne_category_3_decision_ongoing
				days = 180
				value = 1
			}
			set_country_flag = {
				flag = aus_mne_category_7_decision_ongoing
				days = 180
				value = 1
			}
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = 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
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = 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
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_increase_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
					}
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				add_stability = 0.02
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = CZE_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = CZE_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_three_tt
					hidden_effect = {
						subtract_from_variable = {
							var = CZE_REVOLT_RISK
							value = 0.03
						}
						clamp_variable = {
							var = CZE_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				add_stability = 0.01
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_five_tt
					hidden_effect = {
						subtract_from_variable = {
							var = CZE_REVOLT_RISK
							value = 0.05
						}
						clamp_variable = {
							var = CZE_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = CZE_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = CZE_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else = {
				add_stability = 0.03
				custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_two_tt
				hidden_effect = {
					subtract_from_variable = {
						var = CZE_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = CZE_REVOLT_RISK
						min = 0
						max = 1
					}
				}

				hidden_effect = {
					set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_west_slavic_nationalism }
					set_temp_variable = { mne_decision_category = 3 }
					austria_mne_hide_decision = yes

					set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_west_slavic_nationalism }
					set_temp_variable = { mne_decision_category = 7 }
					austria_mne_hide_decision = yes

					country_event = { id = austria_hungary.963 days = 35 }
				}
			}
		}
		
		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				check_variable = {
					var = CZE_REVOLT_RISK
					value = 0.3
					compare = greater_than_or_equals
				}
			}
			modifier = {
				factor = 0.5
				check_variable = {
					var = CZE_REVOLT_RISK
					value = 0.2
					compare = less_than
				}
			}
			modifier = {
				factor = 0.2
				check_variable = {
					var = CZE_REVOLT_RISK
					value = 0.1
					compare = less_than
				}
			}
			modifier = {
				factor = 0.1
				check_variable = {
					var = CZE_REVOLT_RISK
					value = 0.05
					compare = less_than
				}
			}
			modifier = {
				factor = 3
				has_country_flag = AUS_restore_order_flag
			}
		}
	}
	
	#Suppress South Slavic Nationalism
	AUS_decision_suppress_south_slavic_nationalism = {

		icon = oppression_cro

		available = {
			is_ai = yes
			has_stability > 0.4
			has_completed_focus = AUS_focus_croatian_situation
			NOT = {
				OR = {
					AUS = { has_country_flag = aus_mne_category_4_decision_ongoing }
					AUS = { has_country_flag = aus_mne_category_8_decision_ongoing }
					AUS = { has_country_flag = aus_mne_category_12_decision_ongoing }
					AUS = { has_country_flag = aus_mne_category_13_decision_ongoing }
				}
			}
		}

		visible = {
			always = no
		}
		
		cost = 25
		
		days_remove = 180
		 
		modifier = {
			political_power_gain = -0.05
			drift_defence_factor = 0.25
			resistance_growth = -0.5
			resistance_decay = 0.5
			stability_weekly = -0.001
		}

		complete_effect = {
			set_country_flag = {
				flag = aus_mne_category_4_decision_ongoing
				days = 180
				value = 1
			}
			set_country_flag = {
				flag = aus_mne_category_8_decision_ongoing
				days = 180
				value = 1
			}
			set_country_flag = {
				flag = aus_mne_category_12_decision_ongoing
				days = 180
				value = 1
			}
			set_country_flag = {
				flag = aus_mne_category_13_decision_ongoing
				days = 180
				value = 1
			}
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_two_tt
				hidden_effect = {
					add_to_variable = {
						var = CRO_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = CRO_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_three_tt
				hidden_effect = {
					add_to_variable = {
						var = CRO_REVOLT_RISK
						value = 0.03
					}
					clamp_variable = {
						var = CRO_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_one_tt
				hidden_effect = {
					add_to_variable = {
						var = CRO_REVOLT_RISK
						value = 0.01
					}
					clamp_variable = {
						var = CRO_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				add_stability = 0.02
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = CRO_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = CRO_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_three_tt
					hidden_effect = {
						subtract_from_variable = {
							var = CRO_REVOLT_RISK
							value = 0.03
						}
						clamp_variable = {
							var = CRO_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				add_stability = 0.01
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_five_tt
					hidden_effect = {
						subtract_from_variable = {
							var = CRO_REVOLT_RISK
							value = 0.05
						}
						clamp_variable = {
							var = CRO_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = CRO_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = CRO_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else = {
				add_stability = 0.03
				custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_two_tt
				hidden_effect = {
					subtract_from_variable = {
						var = CRO_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = CRO_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}

			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_south_slavic_nationalism }
				set_temp_variable = { mne_decision_category = 4 }
				austria_mne_hide_decision = yes

				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_south_slavic_nationalism }
				set_temp_variable = { mne_decision_category = 8 }
				austria_mne_hide_decision = yes

				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_south_slavic_nationalism }
				set_temp_variable = { mne_decision_category = 12 }
				austria_mne_hide_decision = yes

				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_south_slavic_nationalism }
				set_temp_variable = { mne_decision_category = 13 }
				austria_mne_hide_decision = yes

				country_event = { id = austria_hungary.969 days = 35 }
			}
		}
		
		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				check_variable = {
					var = CRO_REVOLT_RISK
					value = 0.3
					compare = greater_than_or_equals
				}
			}
			modifier = {
				factor = 0.5
				check_variable = {
					var = CRO_REVOLT_RISK
					value = 0.2
					compare = less_than
				}
			}
			modifier = {
				factor = 0.2
				check_variable = {
					var = CRO_REVOLT_RISK
					value = 0.1
					compare = less_than
				}
			}
			modifier = {
				factor = 0.1
				check_variable = {
					var = CRO_REVOLT_RISK
					value = 0.05
					compare = less_than
				}
			}
			modifier = {
				factor = 3
				has_country_flag = AUS_restore_order_flag
			}
		}
	}

	#Suppress Ukranian Nationalism
	AUS_decision_suppress_ukranian_nationalism = {

		icon = oppression_ukr

		available = {
			has_stability > 0.4
			is_ai = yes
		}

		visible = {
			is_ai = yes
		}
		
		cost = 25
		
		days_remove = 180
		 
		modifier = {
			political_power_gain = -0.05
			drift_defence_factor = 0.25
			resistance_growth = -0.5
			resistance_decay = 0.5
			stability_weekly = -0.001
		}

		complete_effect = {
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				custom_effect_tooltip = AUS_increase_ukranian_nationalism_by_two_tt
				hidden_effect = {
					add_to_variable = {
						var = UKR_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = UKR_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				custom_effect_tooltip = AUS_increase_ukranian_nationalism_by_three_tt
				hidden_effect = {
					add_to_variable = {
						var = UKR_REVOLT_RISK
						value = 0.03
					}
					clamp_variable = {
						var = UKR_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_increase_ukranian_nationalism_by_one_tt
				hidden_effect = {
					add_to_variable = {
						var = UKR_REVOLT_RISK
						value = 0.01
					}
					clamp_variable = {
						var = UKR_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				add_stability = 0.02
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_ukranian_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = UKR_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = UKR_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_ukranian_nationalism_by_three_tt
					hidden_effect = {
						subtract_from_variable = {
							var = UKR_REVOLT_RISK
							value = 0.03
						}
						clamp_variable = {
							var = UKR_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				add_stability = 0.01
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_ukranian_nationalism_by_five_tt
					hidden_effect = {
						subtract_from_variable = {
							var = UKR_REVOLT_RISK
							value = 0.05
						}
						clamp_variable = {
							var = UKR_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_ukranian_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = UKR_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = UKR_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else = {
				add_stability = 0.03
				custom_effect_tooltip = AUS_decrease_ukranian_nationalism_by_two_tt
				hidden_effect = {
					subtract_from_variable = {
						var = UKR_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = UKR_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}

			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_ukranian_nationalism }
				set_temp_variable = { mne_decision_category = 6 }
				austria_mne_hide_decision = yes
				country_event = { id = austria_hungary.966 days = 35 }
			}
		}
		
		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				check_variable = {
					var = UKR_REVOLT_RISK
					value = 0.3
					compare = greater_than_or_equals
				}
			}
			modifier = {
				factor = 0.5
				check_variable = {
					var = UKR_REVOLT_RISK
					value = 0.2
					compare = less_than
				}
			}
			modifier = {
				factor = 0.2
				check_variable = {
					var = UKR_REVOLT_RISK
					value = 0.1
					compare = less_than
				}
			}
			modifier = {
				factor = 0.1
				check_variable = {
					var = UKR_REVOLT_RISK
					value = 0.05
					compare = less_than
				}
			}
			modifier = {
				factor = 3
				has_country_flag = AUS_restore_order_flag
			}
		}
	}
	
	#Suppress Polish Nationalism
	AUS_decision_suppress_polish_nationalism = {

		icon = oppression_pol

		available = {
			has_stability > 0.4
			is_ai = yes
			NOT = {
				OR = {
					AUS = { has_country_flag = aus_mne_category_5_decision_ongoing }
					AUS = { has_country_flag = aus_mne_category_6_decision_ongoing }
					AUS = { has_country_flag = aus_mne_category_19_decision_ongoing }
				}
			}
		}

		visible = {
			is_ai = yes
		}
		
		cost = 25
		
		days_remove = 180
		 
		modifier = {
			political_power_gain = -0.05
			drift_defence_factor = 0.25
			resistance_growth = -0.5
			resistance_decay = 0.5
			stability_weekly = -0.001
		}

		complete_effect = {
			set_country_flag = {
				flag = aus_mne_category_5_decision_ongoing
				days = 180
				value = 1
			}
			set_country_flag = {
				flag = aus_mne_category_19_decision_ongoing
				days = 180
				value = 1
			}
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				custom_effect_tooltip = AUS_increase_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
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				custom_effect_tooltip = AUS_increase_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
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_increase_polish_nationalism_by_one_tt
				hidden_effect = {
					add_to_variable = {
						var = POL_REVOLT_RISK
						value = 0.01
					}
					clamp_variable = {
						var = POL_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					PS_pol_negative_null = yes
					NOT = {
						OR = {
							PS_pol_stab_minus_three = yes
							PS_pol_stab_minus_four = yes
							PS_pol_stab_minus_five = yes
						}
					}
				}
				add_stability = 0.02
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_polish_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = POL_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = POL_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_polish_nationalism_by_three_tt
					hidden_effect = {
						subtract_from_variable = {
							var = POL_REVOLT_RISK
							value = 0.03
						}
						clamp_variable = {
							var = POL_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else_if = {
				limit = {
					OR = {
						PS_pol_stab_minus_three = yes
						PS_pol_stab_minus_four = yes
						PS_pol_stab_minus_five = yes
					}
				}
				add_stability = 0.01
				if = {
					limit = {
						has_country_flag = AUS_restore_order_flag
					}
					custom_effect_tooltip = AUS_decrease_polish_nationalism_by_five_tt
					hidden_effect = {
						subtract_from_variable = {
							var = POL_REVOLT_RISK
							value = 0.05
						}
						clamp_variable = {
							var = POL_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
				else = {
					custom_effect_tooltip = AUS_decrease_polish_nationalism_by_four_tt
					hidden_effect = {
						subtract_from_variable = {
							var = POL_REVOLT_RISK
							value = 0.04
						}
						clamp_variable = {
							var = POL_REVOLT_RISK
							min = 0
							max = 1
						}
					}
				}
			}
			else = {
				add_stability = 0.03
				custom_effect_tooltip = AUS_decrease_polish_nationalism_by_two_tt
				hidden_effect = {
					subtract_from_variable = {
						var = POL_REVOLT_RISK
						value = 0.02
					}
					clamp_variable = {
						var = POL_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}

			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_polish_nationalism }
				set_temp_variable = { mne_decision_category = 5 }
				austria_mne_hide_decision = yes
				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_polish_nationalism }
				set_temp_variable = { mne_decision_category = 19 }
				austria_mne_hide_decision = yes

				country_event = { id = austria_hungary.965 days = 35 }
			}
		}
		
		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				check_variable = {
					var = POL_REVOLT_RISK
					value = 0.3
					compare = greater_than_or_equals
				}
			}
			modifier = {
				factor = 0.5
				check_variable = {
					var = POL_REVOLT_RISK
					value = 0.2
					compare = less_than
				}
			}
			modifier = {
				factor = 0.2
				check_variable = {
					var = POL_REVOLT_RISK
					value = 0.1
					compare = less_than
				}
			}
			modifier = {
				factor = 0.1
				check_variable = {
					var = POL_REVOLT_RISK
					value = 0.05
					compare = less_than
				}
			}
			modifier = {
				factor = 3
				has_country_flag = AUS_restore_order_flag
			}
		}
	}
}

AUS_decision_category_domestic_politics = {

	###ALT-HISTORY PATH AFTER VICTORY IN 2IW
	
	#Create a Secret State Debt Commission
	AUS_decision_create_a_secret_state_debt_commission = {

		icon = money

		available = {
			has_war = no
		}

		visible = {
			has_completed_focus = AUS_focus_tackle_the_debt_situation
			set_temp_variable = { loan_size_to_check = 50 }
			has_less_than_specific_loan_size = yes
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.1
		}
		
		remove_effect = {
			country_event = { id = austria.541 }
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	#Prepare Centralization Measures
	AUS_decision_prepare_centralization_measures = {

		icon = eng_trade_unions_support

		available = {
			has_war = no
		}

		visible = {
			has_completed_focus = AUS_focus_centralization_efforts
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 150
		
		modifier = {
			political_power_gain = -0.15
		}
		
		remove_effect = {
			country_event = { id = austria.545 }
		}
		
		ai_will_do = {
			base = 2000
		}
	}
	
	#Enforce Enhanced Centralization
	AUS_decision_enforce_enhanced_centralization = {

		icon = infiltrate_state

		available = {
			has_war = no
		}

		visible = {
			has_country_flag = AUS_centralization_measures_ready_flag
		}
		
		fire_only_once = yes
		
		cost = 150
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.2
		}
		
		remove_effect = {
			country_event = { id = austria.546 }
			hidden_effect = {
				clr_country_flag = AUS_centralization_measures_ready_flag
			}
		}
		
		ai_will_do = {
			base = 2000
		}
	}
	
	#Appoint Moritz Pálffy as Governor of Hungary
	AUS_decision_appoint_new_hungarian_governor = {

		icon = eng_ally_imperialist_coup

		available = {
			has_completed_focus = AUS_focus_deal_with_the_opposition
 			has_idea = AUS_idea_enhanced_centralization
 			AUS_CZE_REVOLT_RISK_LESS_THAN_25 = yes
			is_ai = yes
			NOT = { has_country_flag = aus_mne_category_10_decision_ongoing }
		}

		visible = {
			has_completed_focus = AUS_focus_appoint_a_hardliner
 			OR = {
 				has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
 				has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
 				has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
 			}
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			add_stability = -0.01
			set_country_flag = {
                flag = aus_mne_category_10_decision_ongoing
                days = 60
                value = 1
            }
		}
		
		remove_effect = {
			if = {
				limit = {
					amount_taken_ideas = {
						amount < 3
						slots = { political_advisor }
					}
				}
				AUS_moritz_palffy_von_erdod = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							idea_token = AUS_advisor_moritz_palffy_von_erdod
							traits = {
								AUS_trait_Moritz_Palffy_von_Erdod
							}
						}
						activate = yes
					}
				}
			}
			else = {
				AUS_moritz_palffy_von_erdod = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							idea_token = AUS_advisor_moritz_palffy_von_erdod
							traits = {
								AUS_trait_Moritz_Palffy_von_Erdod
							}
						}
					}
				}
			}
			custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_three_tt
			hidden_effect = {
				subtract_from_variable = {
					var = HUN_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				set_country_flag = AUS_new_governor_hungary_flag
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_minor_resistance_against_centralization_hungary_flag
				}

				set_temp_variable = { mne_decision_token = token:AUS_decision_appoint_new_hungarian_governor }
                set_temp_variable = { mne_decision_category = 10 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Appoint Richard Belcredi as Governor of Bohemia
	AUS_decision_appoint_new_bohemian_governor = {

		icon = eng_ally_imperialist_coup

		available = {
			has_completed_focus = AUS_focus_deal_with_the_opposition
 			has_idea = AUS_idea_enhanced_centralization
 			AUS_CRO_REVOLT_RISK_LESS_THAN_25 = yes
			NOT = { has_country_flag = aus_mne_category_3_decision_ongoing }
			is_ai = yes
		}

		visible = {
			has_completed_focus = AUS_focus_appoint_a_hardliner
 			OR = {
 				has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
 				has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
 				has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
 			}
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			add_stability = -0.01
			set_country_flag = {
                flag = aus_mne_category_3_decision_ongoing
                days = 60
                value = 1
            }
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_three_tt
			hidden_effect = {
				subtract_from_variable = {
					var = CZE_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				set_country_flag = AUS_new_governor_bohemia_flag
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag
				}

				set_temp_variable = { mne_decision_token = token:AUS_decision_appoint_new_bohemian_governor }
				set_temp_variable = { mne_decision_category = 3 }
				austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Appoint Johann Coronini-Cronberg as Governor of Croatia
	AUS_decision_appoint_new_croatian_governor = {

		icon = eng_ally_imperialist_coup

		available = {
			has_completed_focus = AUS_focus_deal_with_the_opposition
 			has_idea = AUS_idea_enhanced_centralization
 			AUS_POL_REVOLT_RISK_LESS_THAN_25 = yes
			NOT = { has_country_flag = aus_mne_category_4_decision_ongoing }
			is_ai = yes
		}

		visible = {
			has_completed_focus = AUS_focus_appoint_a_hardliner
 			OR = {
 				has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
 				has_country_flag = AUS_significant_resistance_against_centralization_poland_flag
 			}
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			add_stability = -0.01
			set_country_flag = {
                flag = aus_mne_category_4_decision_ongoing
                days = 60
                value = 1
            }
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_three_tt
			hidden_effect = {
				subtract_from_variable = {
					var = CRO_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				set_country_flag = AUS_new_governor_croatia_flag
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_minor_resistance_against_centralization_croatia_flag
				}

				set_temp_variable = { mne_decision_token = token:AUS_decision_appoint_new_croatian_governor }
				set_temp_variable = { mne_decision_category = 4 }
				austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Appoint Alexander Mensdorff-Pouilly as Governor of Galicia
	AUS_decision_appoint_new_galician_governor = {

		icon = eng_ally_imperialist_coup

		available = {
			always = no
			NOT = { has_country_flag = aus_mne_category_5_decision_ongoing }
		}

		visible = {
			always = no
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			add_stability = -0.01
			set_country_flag = {
                flag = aus_mne_category_5_decision_ongoing
                days = 60
                value = 1
            }
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decrease_polish_nationalism_by_three_tt
			hidden_effect = {
				subtract_from_variable = {
					var = POL_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				set_country_flag = AUS_new_governor_galicia_flag
				if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
					set_country_flag = AUS_significant_resistance_against_centralization_poland_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_poland_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_poland_flag
					set_country_flag = AUS_minor_resistance_against_centralization_poland_flag
				}

				set_temp_variable = { mne_decision_token = token:AUS_decision_appoint_new_galician_governor }
				set_temp_variable = { mne_decision_category = 5 }
				austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Coerce the Hungarian Gentry
	AUS_decision_coerce_hungarian_gentry = {

		icon = hol_attract_foreign_investors	#customize icon

		available = {
			has_idea = AUS_idea_enhanced_centralization
			AUS_HUN_REVOLT_RISK_LESS_THAN_45 = yes
			NOT = { has_country_flag = aus_mne_category_10_decision_ongoing }
		}

		visible = {
			is_ai = yes
			has_country_flag = AUS_carrot_and_stick_policy_enabled_flag
			OR = {
				has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
				has_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
				has_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
			}
		}
		
		fire_only_once = yes
		
		cost = 100
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_10_decision_ongoing
                days = 120
                value = 1
            }
		}
		
		remove_effect = {
			swap_ideas = {
				remove_idea = AUS_idea_hungarian_tax_refusal_1
				add_idea = AUS_idea_hungarian_tax_refusal_2
			}
			custom_effect_tooltip = AUS_decrease_hungarian_nationalism_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
				}
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_minor_resistance_against_centralization_hungary_flag
				}

				
				set_temp_variable = { mne_decision_token = token:AUS_decision_coerce_hungarian_gentry }
                set_temp_variable = { mne_decision_category = 10 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Coerce the Bohemian Gentry
	AUS_decision_coerce_bohemian_gentry = {

		icon = hol_attract_foreign_investors	#customize icon

		available = {
			has_idea = AUS_idea_enhanced_centralization
			AUS_CZE_REVOLT_RISK_LESS_THAN_25 = yes
			NOT = { has_country_flag = aus_mne_category_3_decision_ongoing }
		}

		visible = {
			is_ai = yes
			has_country_flag = AUS_carrot_and_stick_policy_enabled_flag
			OR = {
				has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
				has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
				has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
			}
		}
		
		fire_only_once = yes
		
		cost = 100
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_3_decision_ongoing
                days = 120
                value = 1
            }
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_two_tt
			hidden_effect = {
				subtract_from_variable = {
					var = CZE_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag
				}

				set_temp_variable = { mne_decision_token = token:AUS_decision_coerce_bohemian_gentry }
                set_temp_variable = { mne_decision_category = 3 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Coerce the Croatian Gentry
	AUS_decision_coerce_croatian_gentry = {

		icon = hol_attract_foreign_investors	#customize icon

		available = {
			has_idea = AUS_idea_enhanced_centralization
			AUS_CRO_REVOLT_RISK_LESS_THAN_25 = yes
			NOT = { has_country_flag = aus_mne_category_3_decision_ongoing }
		}

		visible = {
			is_ai = yes
			has_country_flag = AUS_carrot_and_stick_policy_enabled_flag
			OR = {
				has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
				has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
				has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
			}
		}
		
		fire_only_once = yes
		
		cost = 100
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_4_decision_ongoing
                days = 120
                value = 1
            }
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_two_tt
			hidden_effect = {
				subtract_from_variable = {
					var = CRO_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_minor_resistance_against_centralization_croatia_flag
				}

				set_temp_variable = { mne_decision_token = token:AUS_decision_coerce_croatian_gentry }
                set_temp_variable = { mne_decision_category = 4 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Coerce the Galician Gentry
	AUS_decision_coerce_galician_gentry = {

		icon = hol_attract_foreign_investors	#customize icon

		available = {
			has_idea = AUS_idea_enhanced_centralization
			AUS_POL_REVOLT_RISK_LESS_THAN_25 = yes
			NOT = { has_country_flag = aus_mne_category_5_decision_ongoing }
		}

		visible = {
			is_ai = yes
			has_country_flag = AUS_carrot_and_stick_policy_enabled_flag
			OR = {
				has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
				has_country_flag = AUS_significant_resistance_against_centralization_poland_flag
			}
		}
		
		fire_only_once = yes
		
		cost = 100
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_5_decision_ongoing
                days = 120
                value = 1
            }
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decrease_polish_nationalism_by_two_tt
			hidden_effect = {
				subtract_from_variable = {
					var = POL_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
					set_country_flag = AUS_significant_resistance_against_centralization_poland_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_poland_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_poland_flag
					set_country_flag = AUS_minor_resistance_against_centralization_poland_flag
				}

				set_temp_variable = { mne_decision_token = token:AUS_decision_coerce_galician_gentry }
                set_temp_variable = { mne_decision_category = 5 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}

	#Bruck's Carrot-and-Stick Policy
	AUS_decision_brucks_carrot_and_stick_policy = {

		icon = eng_trade_unions_support

		available = {
			has_completed_focus = AUS_focus_coerce_the_nobility
			has_country_leader = {
				character = AUS_karl_ludwig_bruck
				ruling_only = yes
			}
		}

		visible = {
			has_completed_focus = AUS_focus_appoint_a_hardliner
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			add_stability = -0.01
		}
		
		remove_effect = {
			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_coerce_hungarian_gentry } 
				set_temp_variable = { mne_decision_lp_cost = 100 } 
				set_temp_variable = { mne_decision_category = 10 }
				set_temp_variable = { mne_decision_icon = 27 } 
				AUS_multinational_empire_propose_decision = yes
			}
			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_coerce_bohemian_gentry } 
				set_temp_variable = { mne_decision_lp_cost = 100 } 
				set_temp_variable = { mne_decision_category = 3 }
				set_temp_variable = { mne_decision_icon = 24 } 
				AUS_multinational_empire_propose_decision = yes
			}
			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_coerce_croatian_gentry } 
				set_temp_variable = { mne_decision_lp_cost = 100 } 
				set_temp_variable = { mne_decision_category = 4 }
				set_temp_variable = { mne_decision_icon = 25 } 
				AUS_multinational_empire_propose_decision = yes
			}
			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_coerce_galician_gentry } 
				set_temp_variable = { mne_decision_lp_cost = 100 } 
				set_temp_variable = { mne_decision_category = 5 }
				set_temp_variable = { mne_decision_icon = 23 } 
				AUS_multinational_empire_propose_decision = yes
			}
			hidden_effect = {
				set_country_flag = AUS_carrot_and_stick_policy_enabled_flag
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Force Adversaries into Submission
	AUS_mission_force_adversaries_into_submission = {

		icon = eng_trade_unions_demand

		allowed = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = AUS_mission_force_adversaries_into_submission_trigger_1_tt
				hidden_trigger = {
					has_country_flag = AUS_minor_resistance_against_centralization_hungary_flag
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_force_adversaries_into_submission_trigger_2_tt
				hidden_trigger = {
					has_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_force_adversaries_into_submission_trigger_3_tt
				hidden_trigger = {
					has_country_flag = AUS_minor_resistance_against_centralization_croatia_flag
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_force_adversaries_into_submission_trigger_4_tt
				hidden_trigger = {
					NOT = {
						OR = {
							has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
							has_country_flag = AUS_significant_resistance_against_centralization_poland_flag
						}
					}
				}
			}
		}
		
		activation = { always = no }
		
		priority = 50

		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 1200
		
		#cancel_trigger = {
		#	has_war = yes
		#}

		timeout_effect = {
			complete_national_focus = AUS_focus_a_failed_state
			hidden_effect = {
				clr_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
				clr_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
				clr_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
				clr_country_flag = AUS_minor_resistance_against_centralization_hungary_flag
				clr_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
				clr_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
				clr_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
				clr_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag
				clr_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
				clr_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
				clr_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
				clr_country_flag = AUS_minor_resistance_against_centralization_croatia_flag
				clr_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
				clr_country_flag = AUS_significant_resistance_against_centralization_poland_flag
				clr_country_flag = AUS_minor_resistance_against_centralization_poland_flag
			}
		}

		complete_effect = {
			custom_effect_tooltip = AUS_mission_force_adversaries_into_submission_complete_effect_tt
			country_event = { id = austria.552 days = 1 }	#Central Authority Successfully Enforced
			hidden_effect = {
				clr_country_flag = AUS_minor_resistance_against_centralization_hungary_flag
				clr_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag
				clr_country_flag = AUS_minor_resistance_against_centralization_croatia_flag
				clr_country_flag = AUS_minor_resistance_against_centralization_poland_flag
			}
		}

		ai_will_do = {
			base = 5000
		}
	}
	
	#Suppress the Resistance in Hungary
	AUS_decision_suppress_resistance_in_hungary = {

		icon = civil_support_hun_autocracy

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers_alt
 			NOT = { has_country_flag = AUS_suppressing_the_resistance_flag }
 			AUS_HUN_REVOLT_RISK_LESS_THAN_35 = yes
			is_ai = yes
			NOT = { has_country_flag = aus_mne_category_10_decision_ongoing }
		}

		visible = {
			has_active_mission = AUS_mission_force_adversaries_into_submission
 			has_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_10_decision_ongoing
                days = 180
                value = 1
            }
			custom_effect_tooltip = AUS_increase_hungarian_nationalism_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
				}
				set_country_flag = AUS_suppressing_the_resistance_flag
			}
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_suppress_resistance_effect_tt
			hidden_effect = {
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_hungary_flag
					set_country_flag = AUS_minor_resistance_against_centralization_hungary_flag
				}
				clr_country_flag = AUS_suppressing_the_resistance_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_resistance_in_hungary }
				set_temp_variable = { mne_decision_category = 10 }
				austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	#Suppress the Resistance in Bohemia
	AUS_decision_suppress_resistance_in_bohemia = {

		icon = civil_support_boh

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers_alt
 			NOT = { has_country_flag = AUS_suppressing_the_resistance_flag }
			NOT = { has_country_flag = aus_mne_category_3_decision_ongoing }
 			AUS_CZE_REVOLT_RISK_LESS_THAN_25 = yes
			is_ai = yes
		}

		visible = {
			has_active_mission = AUS_mission_force_adversaries_into_submission
 			has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_3_decision_ongoing
                days = 180
                value = 1
            }
			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
				}
				set_country_flag = AUS_suppressing_the_resistance_flag
			}
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_suppress_resistance_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_suppressing_the_resistance_flag
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
					set_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag
				}

				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_resistance_in_bohemia }
				set_temp_variable = { mne_decision_category = 3 }
				austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	#Suppress the Resistance in Croatia
	AUS_decision_suppress_resistance_in_croatia = {

		icon = civil_support_cro_autocracy

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers_alt
			NOT = { has_country_flag = aus_mne_category_4_decision_ongoing }
 			NOT = { has_country_flag = AUS_suppressing_the_resistance_flag }
 			AUS_CRO_REVOLT_RISK_LESS_THAN_25 = yes
			is_ai = yes
		}

		visible = {
			has_active_mission = AUS_mission_force_adversaries_into_submission
 			has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_4_decision_ongoing
                days = 180
                value = 1
            }
			custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				set_country_flag = AUS_suppressing_the_resistance_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_resistance_in_croatia }
				set_temp_variable = { mne_decision_category = 4 }
				austria_mne_hide_decision = yes
			}
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_suppress_resistance_effect_tt
			hidden_effect = {
				if = {
					limit = {
						has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
				}
				else_if = {
					limit = {
						has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
					}
					clr_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
					set_country_flag = AUS_minor_resistance_against_centralization_croatia_flag
				}
				clr_country_flag = AUS_suppressing_the_resistance_flag
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	###HISTORICAL PATH AFTER DEFEAT IN 2IW
	
	#The Empire in Peril
	AUS_mission_the_empire_in_peril = {

		icon = revolt

		allowed = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = AUS_mission_the_empire_in_peril_trigger_1_tt
				hidden_trigger = {
					has_country_flag = AUS_new_prime_minister_flag
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_the_empire_in_peril_trigger_2_tt
				hidden_trigger = {
					has_country_flag = AUS_reichsrat_has_gathered_flag
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_the_empire_in_peril_trigger_3_tt
				hidden_trigger = {
					has_country_flag = AUS_state_debt_commission_created_flag
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_the_empire_in_peril_trigger_4_tt
				hidden_trigger = {
					has_country_flag = AUS_constitutional_diploma_enacted_flag
				}
			}
		}
		
		activation = { always = no }
		
		priority = 50
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 600

		timeout_effect = {
			decrease_ps_by_two = yes
			add_political_power = -200
			add_stability = -0.2
			hidden_effect = {
				clr_country_flag = AUS_new_prime_minister_flag
				clr_country_flag = AUS_reichsrat_has_gathered_flag
				clr_country_flag = AUS_state_debt_commission_created_flag
				clr_country_flag = AUS_constitutional_diploma_enacted_flag
			}
		}

		complete_effect = {
			increase_ps_by_one = yes
			add_political_power = 100
			add_stability = 0.1
			hidden_effect = {
				clr_country_flag = AUS_new_prime_minister_flag
				clr_country_flag = AUS_reichsrat_has_gathered_flag
				clr_country_flag = AUS_state_debt_commission_created_flag
				clr_country_flag = AUS_constitutional_diploma_enacted_flag
			}
		}

		ai_will_do = {
			base = 2500
		}
	}
	
	#Summon the Reichsrat
	AUS_decision_summon_the_reichsrat = {

		icon = generic_speech

		available = {
			has_war = no
			NOT = {
				has_country_leader = {
					character = AUS_alexander_von_bach
					ruling_only = yes
				}
			}
		}

		visible = {
			has_completed_focus = AUS_focus_summon_the_reichsrat
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			add_stability = 0.02
		}
		
		remove_effect = {
			country_event = { id = austria.303 }
		}
		
		ai_will_do = {
			base = 2000
		}
	}
	
	#Create a State Debt Commission
	AUS_decision_create_a_state_debt_commission = {

		icon = money

		available = {
			has_war = no
			set_temp_variable = { loan_size_to_check = 75 }
			has_less_than_specific_loan_size = yes
		}

		visible = {
			has_completed_focus = AUS_focus_create_a_state_debt_commission
		}
		
		fire_only_once = yes
		
		cost = 0
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.1
		}
		
		remove_effect = {
			country_event = { id = austria.304 }
		}
		
		ai_will_do = {
			base = 2000
		}
	}
	
	#Draft a Constitutional Diploma
	AUS_decision_draft_a_constitutional_diploma = {

		icon = eng_trade_unions_support

		available = {
			has_war = no
		}

		visible = {
			has_completed_focus = AUS_focus_enact_a_constitutional_diploma
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.15
		}
		
		remove_effect = {
			country_event = { id = austria.306 }
		}
		
		ai_will_do = {
			base = 2000
		}
	}
	
	#Enact the Constitutional Diploma
	AUS_decision_enact_the_constitutional_diploma = {

		icon = constitution

		available = {
			has_war = no
		}

		visible = {
			has_country_flag = AUS_draft_constitutional_diploma_ready_flag
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.2
		}
		
		remove_effect = {
			country_event = { id = austria.307 }
			hidden_effect = {
				clr_country_flag = AUS_draft_constitutional_diploma_ready_flag
			}
		}
		
		ai_will_do = {
			base = 2000
		}
	}
	
	#Revise the Constitution
	AUS_decision_revise_the_constitution = {

		icon = eng_trade_unions_support

		available = {
			has_war = no
			has_completed_focus = AUS_focus_revise_the_constitution
		}

		visible = {
			has_country_leader = {
				character = AUS_anton_von_schmerling
				ruling_only = yes
			}
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.25
		}

		complete_effect = {
			hidden_effect = {
				country_event = { id = austria.312 days = 5 }	#Temporary Calm
			}
		}
		
		remove_effect = {
			country_event = { id = austria.313 }	#The Imperial Constitution of 1861
		}
		
		ai_will_do = {
			base = 2000
		}
	}
	
	#Enact Personal Liberties
	AUS_decision_enact_personal_liberties = {

		icon = constitution

		available = {
			has_stability > 0.4
			centrism > 0.4
			has_completed_focus = AUS_focus_enact_personal_liberties
		}

		visible = {
			has_idea = AUS_idea_imperial_constitution_of_1861
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.1
			resistance_growth = -0.25
		}

		complete_effect = {
			add_stability = 0.01
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_enact_personal_liberties_effect_tt
			country_event = { id = austria.327 }	#Laws to Protect Personal Liberty and Property
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Enforce Constitutionality Across the Empire
	AUS_mission_enforce_constitutionality_across_the_empire = {

		icon = eng_trade_unions_demand

		allowed = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = AUS_mission_enforce_constitutionality_across_the_empire_trigger_1_tt
				hidden_trigger = {
					has_country_flag = AUS_delegates_agree_to_constitution_flag
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_enforce_constitutionality_across_the_empire_trigger_2_tt
				hidden_trigger = {
					NOT = {
						OR = {
							has_country_flag = AUS_hungarian_protest_flag
							has_country_flag = AUS_hungarian_disobedience_flag
							has_country_flag = AUS_hungarian_resistance_flag
						}
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_enforce_constitutionality_across_the_empire_trigger_3_tt
				hidden_trigger = {
					NOT = {
						OR = {
							has_country_flag = AUS_croatian_protest_flag
							has_country_flag = AUS_croatian_disobedience_flag
						}
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_enforce_constitutionality_across_the_empire_trigger_4_tt
				hidden_trigger = {
					NOT = {
						has_country_flag = AUS_bohemian_protest_flag
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_enforce_constitutionality_across_the_empire_trigger_5_tt
				hidden_trigger = {
					NOT = {
						has_country_flag = AUS_galician_protest_flag
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_enforce_constitutionality_across_the_empire_trigger_6_tt
				hidden_trigger = {
					NOT = {
						has_country_flag = AUS_transylvanian_protest_flag
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_enforce_constitutionality_across_the_empire_trigger_7_tt
				hidden_trigger = {
					NOT = {
						has_country_flag = AUS_istrian_protest_flag
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_enforce_constitutionality_across_the_empire_trigger_8_tt
				hidden_trigger = {
					NOT = {
						has_country_flag = AUS_south_tyrolean_protest_flag
					}
				}
			}
		}
		
		activation = { always = no }
		
		priority = 50

		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 1500
		
		#cancel_trigger = {
		#	has_war = yes
		#}

		timeout_effect = {
			custom_effect_tooltip = AUS_mission_enforce_constitutionality_across_the_empire_timeout_effect_tt
			hidden_effect = {
				country_event = { id = austria.328 days = 7 }	#Resignation of Anton von Schmerling
				clr_country_flag = AUS_delegates_agree_to_constitution_flag
				clr_country_flag = AUS_hungarian_protest_flag
				clr_country_flag = AUS_hungarian_disobedience_flag
				clr_country_flag = AUS_hungarian_resistance_flag
				clr_country_flag = AUS_croatian_protest_flag
				clr_country_flag = AUS_croatian_disobedience_flag
				clr_country_flag = AUS_bohemian_protest_flag
				clr_country_flag = AUS_galician_protest_flag
				clr_country_flag = AUS_transylvanian_protest_flag
				clr_country_flag = AUS_istrian_protest_flag
				clr_country_flag = AUS_south_tyrolean_protest_flag
			}
		}

		complete_effect = {
			custom_effect_tooltip = AUS_mission_enforce_constitutionality_across_the_empire_complete_effect_tt
			country_event = { id = austria.331 days = 30 }	#Constitutionality Established
			hidden_effect = {
				clr_country_flag = AUS_delegates_agree_to_constitution_flag
			}
		}

		ai_will_do = {
			base = 5000
		}
	}

	#Bring the Hungarians to Reason
	AUS_decision_bring_hungarians_to_reason = {

		icon = civil_support_hun_autocracy

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
 			AUS_moritz_palffy_von_erdod = {
 				is_advisor = yes
 				is_character_slot = political_advisor
 			}
 			AUS_HUN_REVOLT_RISK_LESS_THAN_35 = yes
			is_ai = yes
			NOT = { has_country_flag = aus_mne_category_10_decision_ongoing }
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_hungarian_protest_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 10
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
			}
			set_country_flag = {
                flag = aus_mne_category_10_decision_ongoing
                days = 90
                value = 1
            }
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_bring_to_reason_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_hungarian_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_hungarians_to_reason }
                set_temp_variable = { mne_decision_category = 10 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	#Appoint Moritz Pálffy as Imperial Governor in Hungary
	AUS_decision_appoint_hungarian_governor = {

		icon = franz_joseph

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
 			AUS_HUN_REVOLT_RISK_LESS_THAN_45 = yes
			is_ai = yes
			NOT = { has_country_flag = aus_mne_category_10_decision_ongoing }
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_hungarian_disobedience_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 60
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
				set_country_flag = {
					flag = aus_mne_category_10_decision_ongoing
					days = 60
					value = 1
				}
			}
		}
		
		remove_effect = {
			add_stability = -0.01
			if = {
				limit = {
					amount_taken_ideas = {
						amount < 3
						slots = { political_advisor }
					}
				}
				AUS_moritz_palffy_von_erdod = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							idea_token = AUS_advisor_moritz_palffy_von_erdod
							traits = {
								AUS_trait_Moritz_Palffy_von_Erdod
							}
						}
						activate = yes
					}
				}
			}
			else = {
				AUS_moritz_palffy_von_erdod = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							idea_token = AUS_advisor_moritz_palffy_von_erdod
							traits = {
								AUS_trait_Moritz_Palffy_von_Erdod
							}
						}
					}
				}
			}
			custom_effect_tooltip = AUS_increase_hungarian_nationalism_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
				}
				clr_country_flag = AUS_hungarian_disobedience_flag
				set_country_flag = AUS_hungarian_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_appoint_hungarian_governor }
                set_temp_variable = { mne_decision_category = 10 }
                austria_mne_hide_decision = yes

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_hungarians_to_reason } 
				set_temp_variable = { mne_decision_lp_cost = 10 } 
				set_temp_variable = { mne_decision_category = 10 }
				set_temp_variable = { mne_decision_icon = 27 } 
				AUS_multinational_empire_propose_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Dissolve the Hungarian Landtag
	AUS_decision_dissolve_the_hungarian_landtag = {

		icon = parliament_speech_denied_hun_autocracy

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
			AUS_HUN_REVOLT_RISK_LESS_THAN_55 = yes
			NOT = { has_country_flag = aus_mne_category_10_decision_ongoing }
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
			has_country_flag = AUS_hungarian_resistance_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
				set_country_flag = {
					flag = aus_mne_category_10_decision_ongoing
					days = 120
					value = 1
				}
			}
		}
		
		remove_effect = {
			add_stability = -0.01
			custom_effect_tooltip = AUS_decision_dissolve_the_hungarian_landtag_effect_tt
			custom_effect_tooltip = AUS_increase_hungarian_nationalism_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
				}
				clr_country_flag = AUS_hungarian_resistance_flag
				set_country_flag = AUS_hungarian_disobedience_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_dissolve_the_hungarian_landtag }
                set_temp_variable = { mne_decision_category = 10 }
                austria_mne_hide_decision = yes

				set_temp_variable = { mne_decision_token = token:AUS_decision_appoint_hungarian_governor } 
				set_temp_variable = { mne_decision_lp_cost = 10 } 
				set_temp_variable = { mne_decision_category = 10 }
				set_temp_variable = { mne_decision_icon = 27 } 
				AUS_multinational_empire_propose_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}

	#Bring the Croatians to Reason
	AUS_decision_bring_croatians_to_reason = {

		icon = civil_support_cro_autocracy

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
			NOT = { has_country_flag = aus_mne_category_3_decision_ongoing }
 			AUS_CRO_REVOLT_RISK_LESS_THAN_25 = yes
			is_ai = yes
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_croatian_protest_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 10
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_4_decision_ongoing
                days = 90
                value = 1
            }
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
			}
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_bring_to_reason_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_croatian_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_croatians_to_reason }
                set_temp_variable = { mne_decision_category = 4 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	#Adjourn the Croatian Landtag
	AUS_decision_adjourn_the_croatian_landtag = {

		icon = parliament_speech_denied_cro_autocracy

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
 			AUS_CRO_REVOLT_RISK_LESS_THAN_35 = yes
			is_ai = yes
			NOT = { has_country_flag = aus_mne_category_4_decision_ongoing }
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_croatian_disobedience_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 30
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_4_decision_ongoing
                days = 120
                value = 1
            }
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
			}
		}
		
		remove_effect = {
			add_stability = -0.01
			custom_effect_tooltip = AUS_decision_adjourn_the_croatian_landtag_effect_tt
			custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_three_tt
			hidden_effect = {
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.03
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				clr_country_flag = AUS_croatian_disobedience_flag
				set_country_flag = AUS_croatian_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_adjourn_the_croatian_landtag }
                set_temp_variable = { mne_decision_category = 4 }
                austria_mne_hide_decision = yes

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_croatians_to_reason } 
				set_temp_variable = { mne_decision_lp_cost = 10 } 
				set_temp_variable = { mne_decision_category = 4 }
				set_temp_variable = { mne_decision_icon = 25 } 
				AUS_multinational_empire_propose_decision = yes
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Bring the Bohemians to Reason
	AUS_decision_bring_bohemians_to_reason = {

		icon = civil_support_boh

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
 			AUS_CZE_REVOLT_RISK_LESS_THAN_25 = yes
			is_ai = yes
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_bohemian_protest_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 10
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
			}
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_bring_to_reason_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_bohemian_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_bohemians_to_reason }
                set_temp_variable = { mne_decision_category = 3 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	#Bring the Galicians to Reason
	AUS_decision_bring_galicians_to_reason = {

		icon = civil_support_glm

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
 			AUS_POL_REVOLT_RISK_LESS_THAN_25 = yes
			is_ai = yes
			NOT = { has_country_flag = aus_mne_category_5_decision_ongoing }
			NOT = { has_country_flag = aus_mne_category_6_decision_ongoing }
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_galician_protest_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 10
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_5_decision_ongoing
                days = 90
                value = 1
            }
			set_country_flag = {
                flag = aus_mne_category_6_decision_ongoing
                days = 90
                value = 1
            }
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
			}
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_bring_to_reason_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_galician_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_galicians_to_reason }
                set_temp_variable = { mne_decision_category = 5 }
                austria_mne_hide_decision = yes

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_galicians_to_reason }
                set_temp_variable = { mne_decision_category = 6 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	#Bring the Transylvanians to Reason
	AUS_decision_bring_transylvanians_to_reason = {

		icon = civil_support_trn

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
 			AUS_HUN_REVOLT_RISK_LESS_THAN_55 = yes
			is_ai = yes
			NOT = { has_country_flag = aus_mne_category_11_decision_ongoing }
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_transylvanian_protest_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 5
		
		days_remove = 90

		complete_effect = {
			set_country_flag = {
                flag = aus_mne_category_11_decision_ongoing
                days = 90
                value = 1
            }
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
			}
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_bring_to_reason_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_transylvanian_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_transylvanians_to_reason }
                set_temp_variable = { mne_decision_category = 11 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 200
		}
	}
	
	#Bring the Istrians to Reason
	AUS_decision_bring_istrians_to_reason = {

		icon = civil_support_ita

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
			NOT = { has_country_flag = aus_mne_category_2_decision_ongoing }
 			AUS_ITA_UPROAR_RISK_LESS_THAN_60 = yes
			is_ai = yes
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_istrian_protest_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 5
		
		days_remove = 90

		complete_effect = {
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
			}
			set_country_flag = {
                flag = aus_mne_category_2_decision_ongoing
                days = 90
                value = 1
            }
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_bring_to_reason_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_istrian_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_istrians_to_reason }
                set_temp_variable = { mne_decision_category = 2 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 150
		}
	}
	
	#Bring the South Tyroleans to Reason
	AUS_decision_bring_south_tyroleans_to_reason = {

		icon = civil_support_ita

		available = {
			has_completed_focus = AUS_focus_deal_with_the_troublemakers
 			NOT = { has_country_flag = AUS_bringing_to_reason_flag }
			NOT = { has_country_flag = aus_mne_category_2_decision_ongoing }
 			AUS_ITA_UPROAR_RISK_LESS_THAN_60 = yes
			is_ai = yes
		}

		visible = {
			has_active_mission = AUS_mission_enforce_constitutionality_across_the_empire
 			has_country_flag = AUS_south_tyrolean_protest_flag
			is_ai = yes
		}
		
		fire_only_once = yes
		
		cost = 5
		
		days_remove = 90

		complete_effect = {
			hidden_effect = {
				set_country_flag = AUS_bringing_to_reason_flag
			}
			set_country_flag = {
                flag = aus_mne_category_2_decision_ongoing
                days = 90
                value = 1
            }
		}
		
		remove_effect = {
			add_stability = 0.005
			custom_effect_tooltip = AUS_decision_bring_to_reason_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_south_tyrolean_protest_flag
				clr_country_flag = AUS_bringing_to_reason_flag

				set_temp_variable = { mne_decision_token = token:AUS_decision_bring_south_tyroleans_to_reason }
                set_temp_variable = { mne_decision_category = 2 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 150
		}
	}
	
	#Enforce the Concordat
	AUS_decision_enforce_the_concordat = {

		icon = catholicism

		available = {
			has_stability > 0.5
			has_completed_focus = AUS_focus_ramifications_of_the_concordat_of_1855
		}

		visible = {
			has_idea = AUS_idea_concordat_of_1855_1
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 365
		
		modifier = {
			political_power_gain = -0.1
			autocracy_drift = 0.05
			fundamentalism_drift = 0.03
		}

		complete_effect = {
			add_stability = -0.01
			decrease_ps_by_one = yes
		}
		
		remove_effect = {
			swap_ideas = {
				remove_idea = AUS_idea_concordat_of_1855_1
				add_idea = AUS_idea_concordat_of_1855_2
			}
		}
		
		ai_will_do = {
			base = 250
		}
	}
	
	#Enact the Protestantenpatent
	AUS_decision_enact_the_protestantenpatent = {

		icon = protestantism

		available = {
			has_stability > 0.3
			if = {
				limit = {
					has_completed_focus = AUS_focus_protestantenpatent_alt
				}
				has_idea = AUS_idea_enhanced_centralization
			}
			else_if = {
				limit = {
					has_completed_focus = AUS_focus_protestantenpatent
				}
				has_idea = AUS_idea_imperial_constitution_of_1861
			}
		}

		visible = {
			OR = {
				has_completed_focus = AUS_focus_protestantenpatent_alt
				has_completed_focus = AUS_focus_protestantenpatent
			}
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 30
		
		modifier = {
			political_power_gain = -0.1
			resistance_growth = -0.1
		}

		complete_effect = {
			add_stability = 0.01
		}
		
		remove_effect = {
			country_event = { id = austria.393 }	#The Protestantenpatent
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Crack Down on Heretics
	AUS_decision_crack_down_on_heretics = {

		icon = oppression

		available = {
			has_stability > 0.25
 			has_completed_focus = AUS_focus_denominational_unrest
			is_ai = yes
			NOT = {
				OR = {
					AUS = { has_country_flag = aus_mne_category_3_decision_ongoing}
					AUS = { has_country_flag = aus_mne_category_7_decision_ongoing}
				}
				has_decision = AUS_decision_crack_down_on_heretics
			}
		}

		visible = {
			check_variable = {
 				var = CZE_REVOLT_RISK
 				value = 0
 				compare = greater_than
 			}
			is_ai = yes
		}
		
		fire_only_once = no
		
		cost = 25
		
		days_remove = 365
		
		modifier = {
			political_power_gain = -0.05
			autocracy_drift = 0.02
			fundamentalism_drift = 0.01
		}

		complete_effect = {
			custom_effect_tooltip = AUS_increase_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
				}
			}
			set_country_flag = {
                flag = aus_mne_category_3_decision_ongoing
                days = 365
                value = 1
            }
			set_country_flag = {
                flag = aus_mne_category_7_decision_ongoing
                days = 365
                value = 1
            }
		}
		
		remove_effect = {
			add_stability = 0.02
			hidden_effect = {
				set_temp_variable = { mne_decision_token = token:AUS_decision_crack_down_on_heretics }
                set_temp_variable = { mne_decision_category = 3 }
                austria_mne_hide_decision = yes

				set_temp_variable = { mne_decision_token = token:AUS_decision_crack_down_on_heretics }
                set_temp_variable = { mne_decision_category = 7 }
                austria_mne_hide_decision = yes
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
}

AUS_decision_category_financial_affairs = {

	#Avoid Bankruptcy
	AUS_mission_avoid_bankruptcy = {

		icon = money

		allowed = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = AUS_mission_avoid_bankruptcy_trigger_tt
				hidden_trigger = {
					set_temp_variable = { loan_size_to_check = 500 }
					has_less_than_specific_loan_size = no					
				}
			}
		}
		
		activation = { always = no }
		
		priority = 50
		
		fire_only_once = no
		
		is_good = yes
		
		days_mission_timeout = 3650

		timeout_effect = {
			increase_ps_by_one = yes
			add_political_power = 250
			add_stability = 0.15
			add_war_support = 0.15
		}

		complete_effect = {
			decrease_ps_by_two = yes
			add_political_power = -250
			add_stability = -0.15
			add_war_support = -0.15
		}

		ai_will_do = {
			base = 2000
		}
	}
	#Restrict Stock Exchange Speculation
	AUS_decision_restrict_stock_exchange_speculation = {

		icon = gre_paying_ifc_debt

		available = {
			has_stability > 0.4
			has_completed_focus = AUS_focus_financial_crisis
			NOT = { has_country_flag = AUS_fiscal_measure_in_progress_flag }
		}

		visible = {
			#
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			custom_effect_tooltip = AUS_financial_management_effect_tt
			hidden_effect = {
				set_country_flag = AUS_fiscal_measure_in_progress_flag
				set_country_flag = AUS_restrict_stock_exchange_speculation_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_country_flag = AUS_seize_paper_money_in_favor_of_coins_flag
				}
				 
				hidden_effect = {
					clr_country_flag = AUS_restrict_stock_exchange_speculation_flag
					clr_country_flag = AUS_seize_paper_money_in_favor_of_coins_flag
				}
			}
			else = {
				add_stability = 0.03
			}
			hidden_effect = {
				clr_country_flag = AUS_fiscal_measure_in_progress_flag
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Seize Paper Money in Favor of Coins
	AUS_decision_seize_paper_money_in_favor_of_coins = {

		icon = hol_attract_foreign_investors

		available = {
			has_stability > 0.4
			has_completed_focus = AUS_focus_financial_crisis
			NOT = { has_country_flag = AUS_fiscal_measure_in_progress_flag }
		}

		visible = {
			#
		}
		
		fire_only_once = yes
		
		cost = 25
		
		days_remove = 120
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			custom_effect_tooltip = AUS_financial_management_effect_tt
			hidden_effect = {
				set_country_flag = AUS_fiscal_measure_in_progress_flag
				set_country_flag = AUS_seize_paper_money_in_favor_of_coins_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_country_flag = AUS_restrict_stock_exchange_speculation_flag
				}
				 
				hidden_effect = {
					clr_country_flag = AUS_restrict_stock_exchange_speculation_flag
					clr_country_flag = AUS_seize_paper_money_in_favor_of_coins_flag
				}
			}
			else = {
				add_stability = 0.03
			}
			hidden_effect = {
				clr_country_flag = AUS_fiscal_measure_in_progress_flag
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	#Reduce Army Budget
	AUS_decision_reduce_army_budget = {

		icon = money

		available = {
			NOT = { has_country_flag = AUS_fiscal_measure_in_progress_flag }
		}

		visible = {
			has_completed_focus = AUS_focus_cut_army_budget
			OR = {
				has_idea = army_spending_level_5
				has_idea = army_spending_level_4
				has_idea = army_spending_level_3
			}
		}
		
		fire_only_once = no
		
		cost = 50
		
		days_remove = 400
		
		modifier = {
			political_power_gain = -0.05
			war_support_weekly = -0.003
			stability_weekly = -0.001
		}

		complete_effect = {
			add_stability = -0.02
			if = {
				limit = {
					has_idea = army_spending_level_3
				}
				swap_ideas = { remove_idea = army_spending_level_3 add_idea = army_spending_level_2 }
				hidden_effect = {
					set_country_flag = AUS_army_budget_was_army_spending_level_3
				}
			}
			else_if = {
				limit = {
					has_idea = army_spending_level_4
				}
				swap_ideas = { remove_idea = army_spending_level_4 add_idea = army_spending_level_3 }
				hidden_effect = {
					set_country_flag = AUS_army_budget_was_army_spending_level_4
				}
			}
			else_if = {
				limit = {
					has_idea = army_spending_level_5
				}
				swap_ideas = { remove_idea = army_spending_level_5 add_idea = army_spending_level_4 }
				hidden_effect = {
					set_country_flag = AUS_army_budget_was_army_spending_level_5
				}
			}
			hidden_effect = {
				set_country_flag = AUS_fiscal_measure_in_progress_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_reduce_army_budget_effect_tt
			 
			hidden_effect = {
				clr_country_flag = AUS_fiscal_measure_in_progress_flag
				country_event = { id = austria.904 days = 365 }
			}
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	#Levy Newspaper Tax
	AUS_decision_levy_newspaper_tax = {

		icon = newspaper_folded

		available = {
			has_stability > 0.3
			NOT = { has_country_flag = AUS_fiscal_measure_in_progress_flag }
		}

		visible = {
			has_completed_focus = AUS_focus_newspaper_tax
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = AUS_fiscal_measure_in_progress_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_levy_newspaper_tax_effect_tt
			add_ideas = AUS_idea_newspaper_tax
			hidden_effect = {
				clr_country_flag = AUS_fiscal_measure_in_progress_flag
				country_event = { id = austria.906 days = 500 }
			}
		}
		
		ai_will_do = {
			base = 300
		}
	}
	
	#Cooperate with the Kreditanstalt
	AUS_decision_cooperate_with_the_kreditanstalt = {

		icon = gre_investment_decisions

		available = {
			has_stability > 0.4
			has_completed_focus = AUS_focus_cooperate_with_the_kreditanstalt
			NOT = { has_country_flag = AUS_fiscal_measure_in_progress_flag }
		}

		visible = {
			#
		}
		
		fire_only_once = yes
		
		cost = 150
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = AUS_fiscal_measure_in_progress_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					amount_taken_ideas = {
						amount < 3
						slots = { political_advisor }
					}
				}
				AUS_anselm_salomon_von_rothschild = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							idea_token = AUS_advisor_anselm_salomon_von_rothschild
							research_bonus = {
								economics_tech = 0.02
								humanities_tech = 0.02
							}
							traits = {
								AUS_trait_Anselm_Salomon_von_Rothschild
							}
						}
						activate = yes
					}
				}
			}
			else = {
				AUS_anselm_salomon_von_rothschild = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							idea_token = AUS_advisor_anselm_salomon_von_rothschild
							research_bonus = {
								economics_tech = 0.02
								humanities_tech = 0.02
							}
							traits = {
								AUS_trait_Anselm_Salomon_von_Rothschild
							}
						}
					}
				}
			}
			custom_effect_tooltip = AUS_decision_cooperate_with_the_kreditanstalt_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_fiscal_measure_in_progress_flag
			}
		}
		
		ai_will_do = {
			base = 300
		}
	}
}

AUS_decision_category_habsburg_industry = {

	#Es ist mein Wille - Decree
	eoanb_decision_AUS_mein_wille = {
		icon = franz_joseph

		available = {
			controls_state = 956
			956 = { 
				# Check current infrastructure level instead of free slots
				infrastructure < 10  # Assuming max infrastructure is 10
			}
			num_of_civilian_factories_available_for_projects > 0
		}

		visible = {
			has_completed_focus = AUS_focus_privatize_railways
		}

		fire_only_once = yes

		days_remove = 180

		cost = 25

		remove_effect = {
			956 = { 
				add_building_construction = { 
					type = infrastructure 
					level = 1 
					instant_build = yes 
				} 
			}
			set_temp_variable = { eoanb_prestige_change = 3 }
			eoanb_change_prestige_score = yes
			hidden_effect = {
				set_country_flag = eoanb_flag_AUS_completed_mein_wille
			}
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Profit from the Südbahn
	AUS_decision_profit_from_the_sudbahn = {

		icon = railway

		#allowed = { tag = AUS }

		available = {
			owns_state = 736
			736 = { infrastructure > 5 }
			owns_state = 1235
			1235 = { infrastructure > 5 }
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_privatize_railways
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_railway_connection = {
				start_province = 11666
				target_province = 6626
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 736
				state = 1235
			}
		}

		fire_only_once = yes
		
		cost = 25

		days_remove = 365
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		
		remove_effect = {
			736 = { add_extra_state_shared_building_slots = 1 }
			1235 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = 6626
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = transport_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Profit from the Carl Ludwig-Bahn
	AUS_decision_profit_from_the_carl_ludwig_bahn = {

		icon = railway

		#allowed = { tag = AUS }

		available = {
			owns_state = 88
			88 = { infrastructure > 5 }
			owns_state = 91
			91 = { infrastructure > 5 }
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_galician_railways
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_railway_connection = {
				start_province = 11666
				target_province = 11479
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 88
				state = 91
			}
		}

		fire_only_once = yes
		
		cost = 25

		days_remove = 365
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		
		remove_effect = {
			88 = { add_extra_state_shared_building_slots = 1 }
			91 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
					province = 11479
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = transport_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Profit from the Tiroler Staatsbahnen
	AUS_decision_profit_from_the_tiroler_staatsbahnen = {

		icon = railway

		#allowed = { tag = AUS }

		available = {
			owns_state = 39
			39 = { infrastructure > 5 }
			owns_state = 153
			153 = { infrastructure > 5 }
			owns_state = 1234
			1234 = { infrastructure > 5 }
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_tyrolean_railways
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_railway_connection = {
				start_province = 11634
				target_province = 673
			}
			has_railway_connection = {
				start_province = 3657
				target_province = 6675
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 39
				state = 153
				state = 1234
			}
		}

		fire_only_once = yes
		
		cost = 25

		days_remove = 365
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		
		remove_effect = {
			39 = { add_extra_state_shared_building_slots = 1 }
			153 = { add_extra_state_shared_building_slots = 1 }
			1234 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = bunker	#Festung Trient/Trentino
					level = 1
					instant_build = yes
					province = 11598
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = transport_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Profit from the Theiss-Eisenbahn
	AUS_decision_profit_from_the_theiss_eisenbahn = {

		icon = railway

		#allowed = { tag = AUS }

		available = {
			owns_state = 43
			43 = { infrastructure > 5 }
			owns_state = 154
			154 = { infrastructure > 5 }
			owns_state = 664
			664 = { infrastructure > 5 }
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_hungarian_railways
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_railway_connection = {
				start_province = 9660
				target_province = 11659
			}
			has_railway_connection = {
				start_province = 11659
				target_province = 6573
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 43
				state = 154
				state = 664
			}
		}

		fire_only_once = yes
		
		cost = 25

		days_remove = 365
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		
		remove_effect = {
			43 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = bunker	#Zitadelle Gellertberg
					level = 1
					instant_build = yes
					province = 9660
				}
			}
			154 = { add_extra_state_shared_building_slots = 1 }
			664 = { add_extra_state_shared_building_slots = 1 }
			add_tech_bonus = { bonus = 0.25 uses = 1 category = transport_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Profit from the Böhmische Eisenbahnen
	AUS_decision_profit_from_the_bohmische_eisenbahnen = {

		icon = railway	#customize icons

		#allowed = { tag = AUS }

		available = {
			owns_state = 9
			9 = { infrastructure > 5 }
			owns_state = 75
			75 = { infrastructure > 5 }
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_czech_railways
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_railway_connection = {
				start_province = 11666
				target_province = 11542
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 9
				state = 75
			}
		}

		fire_only_once = yes
		
		cost = 25

		days_remove = 365
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		
		remove_effect = {
			9 = {
				add_extra_state_shared_building_slots = 1
				add_resource = {
					type = fabric
					amount = 2
				}
			}
			75 = { add_extra_state_shared_building_slots = 1 }
			add_tech_bonus = { bonus = 0.25 uses = 1 category = transport_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Prospect for Coal in Styria
	AUS_decision_styrian_coal = {

		icon = coal
		
		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 1
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			has_completed_focus = AUS_focus_styrian_coal
		}

		visible = {
			owns_state = 152
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120
		
		modifier = {
			civilian_factory_use = 2
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		
		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
			152 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = coal_mine
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = resource_extraction_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Expand the Tyrolean Lumber Industry
	AUS_decision_tyrolean_lumber = {

		icon = wood
		
		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 1
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			has_completed_focus = AUS_focus_tyrolean_lumber
		}

		visible = {
			owns_state = 153
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120
		
		modifier = {
			civilian_factory_use = 2
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
			153 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = logging_camp
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = biochemistry_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Tap the Oil Deposits at Gorlice
	AUS_decision_galician_oil_1 = {

		icon = oil
		
		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			if = {
				limit = {
					AUS_ignacy_lukasiewicz = {
						is_advisor = yes
					}
				}
				has_idea = AUS_advisor_ignacy_lukasiewicz
			}
			has_tech = refining
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			has_completed_focus = AUS_focus_galician_oil
		}

		visible = {
			owns_state = 88
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120
		
		modifier = {
			civilian_factory_use = 1
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		
		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
			88 = {
				add_resource = {
					type = oil
					amount = 3
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = resource_extraction_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Tap the Oil Deposits at Drohobych
	AUS_decision_galician_oil_2 = {

		icon = oil
		
		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			if = {
				limit = {
					AUS_ignacy_lukasiewicz = {
						is_advisor = yes
					}
				}
				has_idea = AUS_advisor_ignacy_lukasiewicz
			}
			has_tech = refining
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			has_completed_focus = AUS_focus_galician_oil
		}

		visible = {
			owns_state = 89
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120
		
		modifier = {
			civilian_factory_use = 1
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}
		
		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
			89 = {
				add_resource = {
					type = oil
					amount = 3
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = resource_extraction_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Support Hungarian Agriculture in Alföld
	AUS_decision_hungarian_wheat_1 = {

		icon = POL_looming_peasants_strike
		
		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 1
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			has_completed_focus = AUS_focus_hungarian_wheat
		}

		visible = {
			owns_state = 154
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120
		
		modifier = {
			civilian_factory_use = 2
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
			154 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = biochemistry_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Support Hungarian Agriculture in Transdanubia
	AUS_decision_hungarian_wheat_2 = {

		icon = POL_looming_peasants_strike
		
		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 1
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			has_completed_focus = AUS_focus_hungarian_wheat
		}

		visible = {
			owns_state = 155
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120
		
		modifier = {
			civilian_factory_use = 2
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
			155 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = biochemistry_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Prospect for Iron in South Transylvania
	AUS_decision_transylvanian_iron = {

		icon = iron
		
		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			has_completed_focus = AUS_focus_gold_and_precious_metals
		}

		visible = {
			owns_state = 84
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120
		
		modifier = {
			civilian_factory_use = 1
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
			84 = {
				add_resource = {
					type = iron
					amount = 4
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = resource_extraction_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Hungarian Gold
	AUS_decision_hungarian_gold = {

		icon = gold
		
		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 1
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			has_completed_focus = AUS_focus_gold_and_precious_metals
		}

		visible = {
			owns_state = 43
		}

		fire_only_once = yes
		
		cost = 50

		days_remove = 120
		
		modifier = {
			civilian_factory_use = 2
		}
		
		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			country_event = { id = austria.934 }
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Steyr Factory
	AUS_mission_steyr_factory = {

		icon = generic_industry

		allowed = { always = no }

		available = {
			owns_state = 152
			152 = { arms_factory > 1 }
		}

		activation = { always = no }

		highlight_states = {
			highlight_state_targets = {
				state = 152
			}
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 1600

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}

		complete_effect = {
			152 = { add_extra_state_shared_building_slots = 2 }
			add_stability = 0.02
			EOANBSYS_institutions_innovative_add_two = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	AUS_decision_support_steyr = {

		icon = generic_industry

		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_steyr_arms
			152 = { arms_factory > 1 }
			152 = { industrial_complex > 0 }
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_completed_focus = AUS_focus_privatize_railways
		}

		fire_only_once = yes

		cost = 75

		modifier = {
			civilian_factory_use = 1
		}

		days_remove = 180

		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			152 = { add_extra_state_shared_building_slots = 1 }
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	AUS_mission_viennamaschinenfabrik = {

		icon = steel

		allowed = { always = no }

		available = {
			owns_state = 956
			956 = {
				OR = {
					machine_parts_factory > 0
					steel_mill > 0
				}
			}
		}

		activation = { always = no }

		highlight_states = {
			highlight_state_targets = {
				state = 956
			}
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 1600

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}

		complete_effect = {
			956 = { add_extra_state_shared_building_slots = 2 }
			add_stability = 0.02
			EOANBSYS_institutions_innovative_add_one = yes
		}

		ai_will_do = {
			base = 100
		}
	}
	
	AUS_decision_support_viennamaschinenfabrik = {

		icon = steel

		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_vienna_maschinenfabrik
			956 = { industrial_complex > 1 }
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_completed_focus = AUS_focus_privatize_railways
		}

		fire_only_once = yes

		cost = 75

		modifier = {
			civilian_factory_use = 1
		}

		days_remove = 180

		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			956 = { add_extra_state_shared_building_slots = 1 }
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
			EOANBSYS_institutions_innovative_add_two = yes
		}

		ai_will_do = {
			base = 100
		}
	}
	
	AUS_mission_ganzworks = {

		icon = steel

		allowed = { always = no }

		available = {
			owns_state = 43
			43 = {
				OR = {
					machine_parts_factory > 0
					steel_mill > 0
				}
			}
		}

		activation = { always = no }

		highlight_states = {
			highlight_state_targets = {
				state = 43
			}
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 1600

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}

		complete_effect = {
			43 = { add_extra_state_shared_building_slots = 2 }
			add_stability = 0.02
			EOANBSYS_institutions_innovative_add_one = yes
		}

		ai_will_do = {
			base = 100
		}
	}
	
	AUS_decision_support_ganzworks = {

		icon = steel

		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_ganz_works
			43 = { industrial_complex > 1 }
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_completed_focus = AUS_focus_ganz_works
			owns_state = 43
		}

		fire_only_once = yes

		cost = 75

		modifier = {
			civilian_factory_use = 1
		}

		days_remove = 180

		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			43 = { add_extra_state_shared_building_slots = 1 }
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
			EOANBSYS_institutions_innovative_add_two = yes
		}

		ai_will_do = {
			base = 100
		}
	}
	
	AUS_decision_bank_galicyjski = {

		icon = money

		#allowed = { tag = AUS }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = AUS_focus_bank_galicyjski
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_completed_focus = AUS_focus_privatize_railways
		}

		fire_only_once = yes

		cost = 50

		modifier = {
			civilian_factory_use = 1
		}

		days_remove = 150

		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			set_temp_variable = { eoanb_prestige_change = 5 }
			eoanb_change_prestige_score = yes
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
			add_timed_idea = {
				idea = AUS_idea_bank_galicyjski
				days = 1800
			}
			EOANBSYS_institutions_innovative_add_two = yes
		}

		ai_will_do = {
			base = 100
		}
	}
	
	AUS_mission_moravian_manchester = {

		icon = steel

		allowed = { always = no }

		available = {
			owns_state = 75
			75 = { fabric_weavery > 1 }
		}

		activation = { always = no }

		highlight_states = {
			highlight_state_targets = {
				state = 75
			}
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 1600

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}

		complete_effect = {
			75 = {
				add_extra_state_shared_building_slots = 1
				add_resource = {
					type = fabric
					amount = 2
				}
			}
			add_stability = 0.03
			EOANBSYS_institutions_innovative_add_one = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	AUS_mission_vic_Prague_Migration_1 = {

		icon = infiltrate_state

		allowed = { always = no }

		available = { always = no }

		activation = { always = no }

		highlight_states = {
			highlight_state_targets = {
				state = 9
			}
		}

		fire_only_once = yes

		is_good = yes
		
		days_mission_timeout = 140

		timeout_effect = {
			### To Prague ( 6704 )
			9 = {
				add_manpower = 6704
				add_extra_state_shared_building_slots = 1
			}
			### From other places
			69 = {
				add_manpower = -2076
			}
			1010 = {
				add_manpower = -1463
			}
			75 = {
				add_manpower = -3165
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	AUS_mission_vic_Prague_Migration_2 = {

		icon = infiltrate_state

		allowed = { always = no }

		available = { always = no }

		activation = { always = no }

		highlight_states = {
			highlight_state_targets = {
				state = 9
			}
		}

		fire_only_once = yes

		is_good = yes
		
		days_mission_timeout = 380

		timeout_effect = {
			### To Prague ( 4325 )
			9 = {
				add_manpower = 4325
				add_extra_state_shared_building_slots = 1
			}
			### From other places
			69 = {
				add_manpower = -1271
			}
			1010 = {
				add_manpower = -706
			}
			75 = {
				add_manpower = -2348
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	
	#Railway Upgrade
	AUS_decision_railway_upgrade = {

		icon = railway
		
		#allowed = { tag = AUS }

		available = {
			has_completed_focus = AUS_focus_tyrolean_railways
			has_completed_focus = AUS_focus_galician_railways
			has_completed_focus = AUS_focus_hungarian_railways
			has_completed_focus = AUS_focus_czech_railways
			has_tech = steam_locomotive_3
			has_tech = standardized_gauge
		}

		visible = {
			has_idea = NA_B_small_scale_railways
			has_completed_focus = AUS_focus_privatize_railways
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 365
		 
		modifier = {
			political_power_gain = -0.05
		}
		
		complete_effect = {
			if = {
				limit = { 
					has_idea = road_spending_level_1 
				} 
				swap_ideas = { remove_idea = road_spending_level_1 add_idea = road_spending_level_2 }
			}
			else_if = {
				limit = {
					has_idea = road_spending_level_2
				}
				swap_ideas = { remove_idea = road_spending_level_2 add_idea = road_spending_level_3 } 
			}
			else_if = {
				limit = {
					has_idea = road_spending_level_3
				}
				swap_ideas = { remove_idea = road_spending_level_3 add_idea = road_spending_level_4 } 
			}
			set_temp_variable = { money_to_gain = -2.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
			
		remove_effect = {
			swap_ideas = { remove_idea = NA_B_small_scale_railways add_idea = NA_B_medium_scale_railways }
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
		}
		
		ai_will_do = {
			base = 250
		}
	}
}

AUS_decision_category_austrian_army = {

	#Degenfeld's Army Reform Plans
	AUS_mission_degenfelds_army_reform_plans = {
		
		icon = generic_military
		
		allowed = { always = no }
		
		available = {
			has_idea = AUS_august_von_degenfeld_theorist
			has_completed_focus = AUS_focus_follow_hauslabs_ideas
			OR = {
				has_idea = army_spending_level_5
				has_idea = army_spending_level_4
			}
			has_idea = AUS_idea_modified_operational_structure
			has_idea = AUS_idea_military_railway_department
			has_idea = AUS_idea_new_infantry_regulations_degenfeld_2
			has_idea = AUS_idea_austrian_general_staff_2
		}
		
		activation = { always = no }
		
		priority = 50
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 1800
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		timeout_effect = {
			custom_effect_tooltip = AUS_mission_army_reform_timeout_effect_tt
			decrease_ps_by_one = yes
			add_political_power = -100
			add_stability = -0.05
			add_war_support = -0.15
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_mission_army_reform_complete_effect_tt
			army_experience = 50
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.15
			#add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 2 category = doctrine_victorian_innovative_tech }
			hidden_effect = {
				set_country_flag = AUS_army_reform_success_flag
			}
		}
	}
	
	#Benedek's Army Reform Plans
	AUS_mission_benedeks_army_reform_plans = {
		
		icon = generic_military
		
		allowed = { always = no }
		
		available = {
			has_idea = AUS_theorist_ludwig_von_benedek
			has_completed_focus = AUS_focus_implement_the_stosstaktik
			OR = {
				has_idea = army_spending_level_4
				has_idea = army_spending_level_3
			}
			has_idea = AUS_idea_modified_operational_structure
			has_idea = AUS_idea_new_infantry_regulations_benedek_2
			has_idea = AUS_idea_adjutantenkorps_2
			has_idea = AUS_idea_esprit_de_corps_2
		}
		
		activation = { always = no }
		
		priority = 50
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 1800
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		timeout_effect = {
			custom_effect_tooltip = AUS_mission_army_reform_timeout_effect_tt
			decrease_ps_by_one = yes
			add_political_power = -100
			add_stability = -0.05
			add_war_support = -0.15
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_mission_army_reform_complete_effect_tt
			army_experience = 50
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.15
			#add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 2 category = doctrine_victorian_traditional_tech }
			hidden_effect = {
				set_country_flag = AUS_army_reform_success_flag
			}
		}
	}
	
	#Modify Operational Structure
	AUS_decision_modify_operational_structure = {

		icon = generic_military

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_operational_restructuring
		}

		visible = {
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100
		
		days_remove = 180
		
		modifier = {
			army_org_factor = -0.05
			planning_speed = -0.05
			max_command_power = -25
		}
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_ideas = AUS_idea_modified_operational_structure
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 500
		}
	}
	
	#Introduce New Infantry Regulations
	AUS_decision_introduce_new_infantry_regulations = {

		icon = generic_prepare_civil_war

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_new_infantry_regulations
		}

		visible = {
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100
		
		days_remove = 180
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_completed_focus = AUS_focus_degenfelds_army_reform_plans
				}
				add_ideas = AUS_idea_new_infantry_regulations_degenfeld_1
			}
			else = {
				add_ideas = AUS_idea_new_infantry_regulations_benedek_1
			}
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 300
		}
	}
	
	#Expand the Kriegsschule
	AUS_decision_expand_the_kriegsschule = {

		icon = generic_construction

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_expand_the_kriegsschule
			if = {
				limit = {
					has_completed_focus = AUS_focus_degenfelds_army_reform_plans
				}
				custom_trigger_tooltip = {
					tooltip = AUS_decision_expand_the_kriegsschule_trigger_1_tt
					#hidden_trigger = {
					#	has_tech = doctrine_victorian_innovation_tactics
					#}
				}
				has_idea = AUS_idea_new_infantry_regulations_degenfeld_1
			}
			else_if = {
				limit = {
					has_completed_focus = AUS_focus_benedeks_army_reform_plans
				}
				custom_trigger_tooltip = {
					tooltip = AUS_decision_expand_the_kriegsschule_trigger_2_tt
					#hidden_trigger = {
					#	has_tech = doctrine_victorian_tradition_1848
					#}
				}
				has_idea = AUS_idea_new_infantry_regulations_benedek_1
			}
		}

		visible = {
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		
		days_remove = 180
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			army_experience = 10
			if = {
				limit = {
					has_completed_focus = AUS_focus_degenfelds_army_reform_plans
				}
				#add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 1 category = doctrine_victorian_innovative_tech }
				swap_ideas = {
					remove_idea = AUS_idea_new_infantry_regulations_degenfeld_1
					add_idea = AUS_idea_new_infantry_regulations_degenfeld_2
				}
			}
			else = {
				#add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 1 category = doctrine_victorian_traditional_tech }
				swap_ideas = {
					remove_idea = AUS_idea_new_infantry_regulations_benedek_1
					add_idea = AUS_idea_new_infantry_regulations_benedek_2
				}
			}
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Invest in Breechloader Development
	AUS_decision_invest_in_breechloader_development = {

		icon = generic_industry

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_an_austrian_breechloader_rifle
		}

		visible = {
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
			NOT = {
				OR = {
					has_country_flag = AUS_breechloader_prototype_developed_flag
					has_country_flag = AUS_breechloader_prototype_mass_production_ready_flag
					has_country_flag = AUS_breechloader_waenzel_flag
					has_idea = AUS_oewg_waenzel
				}
			}
			NOT = {
				has_completed_focus = AUS_focus_lorenz_rifle_modernization
			}
		}

		fire_only_once = no

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_invest_in_breechloader_development_effect_tt
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
				random_list = {
					60 = {
						country_event = { id = austria.651 }
					}
					40 = {
						country_event = { id = austria.652 }
					}
				}
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Optimize Breechloader Rifle for Mass Production
	AUS_decision_optimize_breechloader_rifle_for_mass_production = {

		icon = generic_industry

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_country_flag = AUS_breechloader_prototype_developed_flag
		}

		visible = {
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
			has_country_flag = AUS_breechloader_prototype_developed_flag
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		
		days_remove = 365
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_optimize_breechloader_rifle_for_mass_production_effect_tt
			army_experience = 10
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
				clr_country_flag = AUS_breechloader_prototype_developed_flag
				set_country_flag = AUS_breechloader_prototype_mass_production_ready_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Begin Breechloader Mass Production
	AUS_decision_begin_breechloader_mass_production = {

		icon = generic_industry

		#allowed = { tag = AUS }
		
		available = {
			has_completed_focus = AUS_focus_cooperate_with_the_oewg
		}

		visible = {
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
			has_country_flag = AUS_breechloader_prototype_mass_production_ready_flag
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 730
		
		modifier = {
			industrial_capacity_factory = 0.1
			production_factory_max_efficiency_factor = 0.1
			equipment_conversion_speed = 0.5
		}
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			create_equipment_variant = {
				type = infantry_equipment_rifle_2
				#parent = infantry_equipment_rifle_2
				name = "Wänzel-Gewehr"
			}
		}
		
		remove_effect = {
			hidden_effect = {
				clr_country_flag = AUS_breechloader_prototype_mass_production_ready_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Begin Mass Production of Improved Lorenz Rifle
	AUS_decision_begin_improved_lorenz_rifle_mass_production = {

		icon = generic_industry

		#allowed = { tag = AUS }
		
		available = {
			has_completed_focus = AUS_focus_cooperate_with_the_vienna_arsenal
		}

		visible = {
			has_completed_focus = AUS_focus_lorenz_rifle_modernization
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 730
		
		modifier = {
			industrial_capacity_factory = 0.1
			production_factory_max_efficiency_factor = 0.1
			equipment_conversion_speed = 0.75
		}
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			if = {
				limit = {
					has_country_flag = AUS_has_lorenz_m1862_flag
				}
				create_equipment_variant = { 
					type = infantry_equipment_rifle_2
					#parent = infantry_equipment_rifle_2
					name = "Lorenz M1862 (Improved)"
				}
			}
		}
		
		remove_effect = {
			hidden_effect = {
				clr_country_flag = AUS_breechloader_prototype_mass_production_ready_flag
				clr_country_flag = AUS_has_lorenz_m1862_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Conduct Artillery Experiments
	AUS_decision_conduct_cannon_experiment = {

		icon = artillery

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_conduct_cannon_experiments
		}

		visible = {
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100
		
		days_remove = 90
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			army_experience = 25
			add_tech_bonus = { ahead_reduction = 0.5 uses = 1 category = artillery }
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Adopt Improved Muzzle-Loading Cannons
	AUS_decision_adopt_improved_muzzle_loading_cannons = {

		icon = artillery

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_muzzle_loading_cannons
			has_tech = rml_field_gun
		}

		visible = {
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		cancel_trigger = {
			NOT = {
				set_temp_variable = { loan_size_to_check = 200}
    			has_less_than_specific_loan_size = yes
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			create_equipment_variant = {
				type = rifled_cannon_equipment_0_improved
				#parent = rifled_cannon_equipment_0
				name = "RML Field Gun (Improved)"
			}
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_adopt_improved_muzzle_loading_cannons_effect_tt
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = rifled_cannon_equipment_0_improved
					amount = 250
					producer = AUS
				}
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Acquire Trains for the Army
	AUS_decision_acquire_trains = {

		icon = train

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_creation_of_a_military_railway_department
			OR = {
				has_tech = train_1855
				has_tech = train_1865
			}
		}

		visible = {
			has_active_mission = AUS_mission_degenfelds_army_reform_plans
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		
		days_remove = 180
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_tech = basic_train
					NOT = { has_tech = train_1855 }
				}
				add_equipment_to_stockpile = {
					type = train_equipment_1
					amount = 100
					producer = AUS
				}
			}
			else_if = {
				limit = {
					has_tech = train_1855
					NOT = { has_tech = train_1865 }
				}
				add_equipment_to_stockpile = {
					type = train_equipment_2
					amount = 50
					producer = AUS
				}
			}
			else_if = {
				limit = {
					has_tech = train_1865
				}
				add_equipment_to_stockpile = {
					type = train_equipment_3
					amount = 50
					producer = AUS
				}
			}
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}

	#Edelsheim-Gyulai's Cavalry Reform Proposal
	AUS_decision_edelsheim_gyulais_proposal = {

		icon = generic_cavalry

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_repurpose_cavalry
		}

		visible = {
			has_active_mission = AUS_mission_degenfelds_army_reform_plans
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100

		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_war_support = 0.01
			army_experience = 20
			if = {
				limit = {
					NOT = { has_tech = daguerreotype }
				}
				add_tech_bonus = { bonus = 0.5 uses = 1 technology = daguerreotype }
			}
			else_if = {
				limit = {
					NOT = { has_tech = collodion_process }
				}
				add_tech_bonus = { bonus = 0.5 uses = 1 technology = collodion_process }
			}
			else_if = {
				limit = {
					NOT = { has_tech = photographic_glass_plate }
				}
				add_tech_bonus = { bonus = 0.5 uses = 1 technology = photographic_glass_plate }
			}
			else = {
				add_tech_bonus = { bonus = 0.5 uses = 1 category = tech_category_cavalry }
			}
			add_doctrine_cost_reduction = { cost_reduction = 0.25 uses = 1 category = land_doctrine }
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Introduce Exams for Promoted Officers
	AUS_decision_introduce_exams_for_promoted_officers = {

		icon = generic_decision

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_exams_for_promoted_officers
		}

		visible = {
			has_active_mission = AUS_mission_degenfelds_army_reform_plans
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100
		
		days_remove = 90
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			army_experience = 5
			swap_ideas = {
				remove_idea = AUS_idea_austrian_general_staff_1
				add_idea = AUS_idea_austrian_general_staff_2
			}
			unlock_decision_tooltip = AUS_decision_let_promoted_officers_take_the_exam
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Let Promoted Officers Take the Exam
	AUS_decision_let_promoted_officers_take_the_exam = {

		icon = generic_army_support

		#allowed = { tag = AUS }
		
		available = {
			has_war = no
		}

		visible = {
			has_idea = AUS_idea_austrian_general_staff_2
		}

		fire_only_once = no
		
		custom_cost_trigger = {
			command_power > 19.99
		}
		custom_cost_text = eoanb_command_power_20
		
		days_remove = 30
		
		days_re_enable = 365
		
		modifier = {
			experience_gain_army = 0.1
		}
		
		complete_effect = {
			add_command_power = -20
		}
		
		remove_effect = {
			army_experience = 10
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Appoint a Commission to Study our Defeat in Italy
	AUS_decision_appoint_a_commission_to_study_our_defeat = {

		icon = generic_decision

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_learn_from_the_past
		}

		visible = {
			has_country_flag = AUS_disaster_in_italy_flag
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100
		
		days_remove = 180
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			army_experience = 25
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Appoint a Commission to Study our Victory in Italy
	AUS_decision_appoint_a_commission_to_study_our_victory = {

		icon = generic_decision

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_learn_from_the_past
		}

		visible = {
			has_country_flag = AUS_triumph_in_italy_flag
			OR = {
				has_active_mission = AUS_mission_degenfelds_army_reform_plans
				has_active_mission = AUS_mission_benedeks_army_reform_plans
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100
		
		days_remove = 180
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			army_experience = 25
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Introduce New Cavalry Regulations
	AUS_decision_introduce_new_cavalry_regulations = {

		icon = generic_cavalry

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_army_reform_ongoing_flag }
			has_completed_focus = AUS_focus_cavalry_reorganization
		}

		visible = {
			has_active_mission = AUS_mission_benedeks_army_reform_plans
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100
		
		days_remove = 180
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = AUS_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_war_support = 0.03
			army_experience = 10
			add_tech_bonus = { bonus = 0.25 uses = 1 category = tech_category_cavalry }
			add_doctrine_cost_reduction = { cost_reduction = 0.25 uses = 1 category = land_doctrine }
			hidden_effect = {
				clr_country_flag = AUS_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
}

AUS_decision_category_austrian_navy = {
	
	#Reform the Imperial-Royal Navy
	AUS_mission_reform_the_imperial_royal_navy = {
		
		icon = generic_naval
		
		allowed = { always = no }
		
		available = {
			has_navy_size = {
				size > 49
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_reform_the_imperial_royal_navy_trigger_tt
				hidden_trigger = {
					OR = {
						has_completed_track = victorian_naval_screens_track
						has_completed_track = victorian_naval_capital_track
					}
				}
			}
			owns_state = 1235
			1235 = {
				dockyard > 1
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_reform_the_imperial_royal_navy_trigger_1235_tt
				hidden_trigger = {
					1235 = {
						any_province_building_level = {
							province = {
								id = 6626 # Trieste
							}
							building = naval_base
							level > 3
						}
					}
				}
			}
			owns_state = 1236
			1236 = {
				dockyard > 1
			}
			custom_trigger_tooltip = {
				tooltip = AUS_mission_reform_the_imperial_royal_navy_trigger_1236_tt
				hidden_trigger = {
					1236 = {
						any_province_building_level = {
							province = {
								id = 11735 # Pula
							}
							building = naval_base
							level > 2
						}
					}
				}
			}
			owns_state = 1278
			custom_trigger_tooltip = {
				tooltip = AUS_mission_reform_the_imperial_royal_navy_trigger_1278_tt
				hidden_trigger = {
					1278 = {
						any_province_building_level = {
							province = {
								id = 14195 # Fiume
							}
							building = naval_base
							level > 1
						}
					}
				}
			}
			owns_state = 163
			custom_trigger_tooltip = {
				tooltip = AUS_mission_reform_the_imperial_royal_navy_trigger_163_tt
				hidden_trigger = {
					163 = {
						any_province_building_level = {
							province = {
								id = 3943 # Zara
							}
							building = naval_base
							level > 1
						}
					}
				}
			}
			owns_state = 1203
			custom_trigger_tooltip = {
				tooltip = AUS_mission_reform_the_imperial_royal_navy_trigger_1203_tt
				hidden_trigger = {
					1203 = {
						any_province_building_level = {
							province = {
								id = 13778 # Kotor
							}
							building = naval_base
							level > 0
						}
					}
				}
			}
		}
		
		activation = { always = no }
		
		priority = 50
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 2000
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		timeout_effect = {
			decrease_ps_by_one = yes
			add_political_power = -75
			add_stability = -0.05
			add_war_support = -0.1
		}
		
		complete_effect = {
			navy_experience = 50
			add_political_power = 75
			add_stability = 0.05
			add_war_support = 0.1
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 2 category = naval_doctrine }
		}
	}
	
	#Protect Our Interests in the Adriatic Sea
	AUS_decision_protect_our_interests_in_the_adriatic_sea = {

		icon = hol_draw_up_staff_plans

		#allowed = { tag = AUS }
		
		available = {
			has_completed_focus = AUS_focus_improve_our_international_standing
		}

		visible = {
			#
		}

		fire_only_once = no

		custom_cost_trigger = {
			has_political_power > 19.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_20_command_power_50
		
		days_remove = 90
		
		days_re_enable = 365
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			add_political_power = -20
			add_command_power = -50
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_protect_our_interests_in_the_adriatic_sea_effect_tt
			add_war_support = 0.005
			navy_experience = 10
			hidden_effect = {
				random_list = {
					25 = {
						country_event = { id = austria.807 } #Success
					}
					65 = {
						#
					}
					10 = {
						country_event = { id = austria.808 } #Failure
					}
				}
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Send Out a Naval Expedition
	AUS_decision_send_out_a_naval_expedition = {

		icon = hol_draw_up_staff_plans

		#allowed = { tag = AUS }
		
		available = {
			has_completed_focus = AUS_focus_lessons_from_the_novara_expedition
		}

		visible = {
			#
		}

		fire_only_once = no

		custom_cost_trigger = {
			has_political_power > 19.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_20_command_power_50
		
		days_remove = 180
		
		days_re_enable = 730
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			add_political_power = -20
			add_command_power = -50
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_decision_send_out_a_naval_expedition_effect_tt
			navy_experience = 10
			hidden_effect = {
				random_list = {
					25 = {
						country_event = { id = austria.809 } #Success
					}
					65 = {
						#
					}
					10 = {
						country_event = { id = austria.810 } #Failure
					}
				}
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Strenghten Our Stronghold in Italy
	AUS_decision_strengthen_our_stronghold_in_italy = {

		icon = naval_base

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_emperor_of_the_adriatic
		}

		visible = {
			has_country_flag = AUS_triumph_in_italy_flag
			160 = {
				OR = {
					owner = {
						tag = AUS
					}
					owner = {
						is_puppet_of = AUS
					}
				}
			}
			813 = {
				OR = {
					owner = {
						tag = AUS
					}
					owner = {
						is_puppet_of = AUS
					}
				}
			}
			NOT = {
				has_idea = AUS_idea_emperor_of_the_adriatic
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 24.9
			has_navy_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_navy_experience_25_command_power_50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			add_political_power = -25
			navy_experience = -25
			add_command_power = -50
			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			160 = { add_building_construction = { type = naval_base level = 1 instant_build = yes province = 14288 } }
			160 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 14288 } }
			813 = { add_building_construction = { type = naval_base level = 1 instant_build = yes province = 6973 } }
			813 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 6973 } }
			add_timed_idea = { idea = AUS_idea_emperor_of_the_adriatic days = 1095 }
			set_temp_variable = { eoanb_prestige_change = 1 }
			eoanb_change_prestige_score = yes
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 300
		}
	}
	
	#Strenghten Our Non-Italian Naval Bases
	AUS_decision_strengthen_our_non_italian_naval_bases = {

		icon = naval_base

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_strenghten_non_italian_naval_bases
		}

		visible = {
			has_country_flag = AUS_disaster_in_italy_flag
			1235 = {
				OR = {
					owner = {
						tag = AUS
					}
					owner = {
						is_puppet_of = AUS
					}
				}
			}
			1236 = {
				OR = {
					owner = {
						tag = AUS
					}
					owner = {
						is_puppet_of = AUS
					}
				}
			}
			NOT = {
				has_idea = AUS_idea_reinforcing_naval_bases
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 24.9
			has_navy_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_navy_experience_25_command_power_50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			add_political_power = -25
			navy_experience = -25
			add_command_power = -50
			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			1235 = { add_building_construction = { type = naval_base level = 1 instant_build = yes province = 6626 } }
			1235 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 6626 } }
			1236 = { add_building_construction = { type = naval_base level = 1 instant_build = yes province = 11735 } }
			1236 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 11735 } }
			add_timed_idea = { idea = AUS_idea_reinforcing_naval_bases days = 1095 }
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 300
		}
	}
	
	#Enforce German as Command Language
	AUS_decision_enforce_german_as_command_language = {

		icon = eng_propaganda_campaigns

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_enforce_german_as_command_language
		}

		visible = {
			#
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 9.9
			command_power > 74.99
		}
		custom_cost_text = eoanb_political_power_10_command_power_75
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			add_political_power = -10
			add_command_power = -75
			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_naval_reform_effect_tt
			add_to_variable = { AUS_naval_reform_ppf = 0.02 tooltip = political_power_factor_tooltip }
			add_to_variable = { AUS_naval_reform_sf = 0.02 tooltip = stability_factor_tooltip }
			add_to_variable = { AUS_naval_reform_mcp = 10 tooltip = max_command_power_tooltip }
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Establish a Navy Department
	AUS_decision_establish_navy_department = {

		icon = generic_operation

		#allowed = { tag = AUS }
		
		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_more_independence_from_the_army
		}

		visible = {
			#
		}

		fire_only_once = yes

		cost = 75
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_command_power = 75
			custom_effect_tooltip = AUS_naval_reform_effect_tt
			add_to_variable = { AUS_naval_reform_ppf = 0.05 tooltip = political_power_factor_tooltip }
			add_to_variable = { AUS_naval_reform_mcp = 15 tooltip = max_command_power_tooltip }
			unlock_decision_tooltip = AUS_decision_reappoint_hans_dahlerup_as_naval_advisor
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
				set_country_flag = AUS_navy_department_established_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Reappoint Hans Dahlerup as a Naval Advisor
	AUS_decision_reappoint_hans_dahlerup_as_naval_advisor = {
		
		icon = generic_police_action

		#allowed = { tag = AUS }

		available = {
			has_country_flag = AUS_navy_department_established_flag
		}

		visible = {
			has_country_flag = AUS_navy_department_established_flag
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 19.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_20_command_power_50

		complete_effect = {
			add_political_power = -20
			add_command_power = -50
			if = {
				limit = {
					amount_taken_ideas = {
						amount < 3
						slots = { political_advisor }
					}
				}
				AUS_hans_dahlerup = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							idea_token = AUS_advisor_hans_dahlerup
							traits = {
								AUS_trait_Hans_Dahlerup
							}
						}
						activate = yes
					}
				}
			}
			else = {
				AUS_hans_dahlerup = {
					add_advisor_role = {
						advisor = {
							slot = political_advisor
							idea_token = AUS_advisor_hans_dahlerup
							traits = {
								AUS_trait_Hans_Dahlerup
							}
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Incorporate the Flottillenkorps
	AUS_decision_incorporate_the_flottillenkorps = {
		
		icon = generic_naval

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_incorporation_of_the_flottillenkorps
			has_country_flag = AUS_navy_department_established_flag
		}

		visible = {
			#
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 9.9
			command_power > 74.99
		}
		custom_cost_text = eoanb_political_power_10_command_power_75
		
		days_remove = 90
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			add_political_power = -10
			add_command_power = -75
			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}

		remove_effect = {
			country_event = { id = austria.803 }
			unlock_decision_tooltip = AUS_decision_sell_civilian_paddle_steamers_to_the_ddsg
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
				set_country_flag = AUS_flottillenkorps_incorporated_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Sell Civilian Paddle Steamers to the DDSG
	AUS_decision_sell_civilian_paddle_steamers_to_the_ddsg = {
		
		icon = money

		#allowed = { tag = AUS }

		available = {
			has_country_flag = AUS_flottillenkorps_incorporated_flag
		}

		visible = {
			has_country_flag = AUS_flottillenkorps_incorporated_flag
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 49.99
		}
		custom_cost_text = eoanb_command_power_50
		
		complete_effect = {
			add_command_power = -50
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				clr_country_flag = AUS_flottillenkorps_incorporated_flag
			}
		}

		ai_will_do = {
			base = 250
		}
	}
	
	#Expand the Dockyards in Trieste
	AUS_decision_expand_triest_dockyards = {

		icon = generic_construction

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_triest_dockyards
		}

		visible = {
			owns_state = 1235
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 1235
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 365
		
		cancel_trigger = {
			OR = {
				NOT = { owns_state = 1235 }
				NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_war_support = 0.02
			1235 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			EOANBSYS_institutions_innovative_add_two = yes
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Expand the Navy Arsenal in Pola
	AUS_decision_expand_pola_navy_arsenal = {

		icon = generic_construction

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_navy_arsenal_pola
		}

		visible = {
			owns_state = 1236
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 1236
			}
		}

		fire_only_once = yes

		
		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.5 }
		}
			custom_cost_text = eoanb_money_cost_text

		
		days_remove = 365
		
		cancel_trigger = {
			OR = {
				NOT = { owns_state = 1236 }
				NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_war_support = 0.02
			1236 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = 11735
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					instant_build = yes
					province = 11735
				}
			}
			EOANBSYS_institutions_innovative_add_two = yes
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Expand the Naval Academy in Fiume
	AUS_decision_expand_fiume_naval_academy = {

		icon = university

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_naval_academy_fiume
		}

		visible = {
			owns_state = 1278
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 1278
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		
		days_remove = 180
		
		cancel_trigger = {
			OR = {
				NOT = { owns_state = 1278 }
				NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes

			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_war_support = 0.01
			custom_effect_tooltip = AUS_naval_reform_effect_tt
			add_to_variable = { AUS_naval_reform_ppf = 0.01 tooltip = political_power_factor_tooltip }
			add_to_variable = { AUS_naval_reform_egn = 0.03 tooltip = experience_gain_navy_tooltip }
			add_to_variable = { AUS_naval_reform_ndcf = -0.05 tooltip = naval_doctrine_cost_factor_tooltip }
			1278 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = 14195
				}
			}
			set_temp_variable = { eoanb_prestige_change = 1 }
			eoanb_change_prestige_score = yes
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Expand the Adriatic Ports
	AUS_decision_expand_adriatic_ports = {

		icon = naval_base

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_navy_reform_ongoing_flag }
			has_completed_focus = AUS_focus_expand_the_adriatic_ports
		}

		visible = {
			owns_state = 163
			owns_state = 1203
			owns_state = 1278
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 163
				state = 1203
				state = 1278
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 180
		
		cancel_trigger = {
			OR = {
				AND = {
					NOT = {
						owns_state = 163
						owns_state = 1203
						owns_state = 1278
					}
				}
				NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
			}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_war_support = 0.01
			163 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = 3943
				}
			}
			1203 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = 13778
				}
			}
			1278 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = 14195
				}
			}
			EOANBSYS_institutions_innovative_add_one = yes
			hidden_effect = {
				clr_country_flag = AUS_navy_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 200
		}
	}
	
	#Order Screw Gunboats 1
	AUS_decision_order_screw_gunboats_1 = {

		icon = generic_naval

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_ship_order_in_progress_flag }
			has_completed_focus = AUS_focus_screw_gunboats
		}

		visible = {
			has_dlc = "Man the Guns"
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 180
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_ship_order_in_progress_effect_tt
			if = {
				set_temp_variable = { money_to_gain = -0.5 }
				add_money_with_tooltip_effect = yes
			}
			else = {
				add_political_power = -25
				navy_experience = -25
				add_command_power = -50
			}
			hidden_effect = {
				set_country_flag = AUS_ship_order_in_progress_flag
			}
		}
		
		remove_effect = {
			country_event = { id = austria.812 }
			hidden_effect = {
				clr_country_flag = AUS_ship_order_in_progress_flag
			}
		}

		ai_will_do = {
			base = 500
		}
	}
	
	#Order Screw Gunboats 2
	AUS_decision_order_screw_gunboats_2 = {

		icon = generic_naval

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_ship_order_in_progress_flag }
		}

		visible = {
			has_dlc = "Man the Guns"
			has_country_flag = AUS_first_screw_gunboat_series_delivered_flag
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 180
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_ship_order_in_progress_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_ship_order_in_progress_flag
			}
		}
		
		remove_effect = {
			country_event = { id = austria.813 }
			hidden_effect = {
				clr_country_flag = AUS_ship_order_in_progress_flag
				clr_country_flag = AUS_first_screw_gunboat_series_delivered_flag
			}
		}

		ai_will_do = {
			base = 500
		}
	}
	
	#Order Drache-Class Ironclads
	AUS_decision_order_drache_class_ironclads = {

		icon = generic_naval

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_ship_order_in_progress_flag }
			has_completed_focus = AUS_focus_drache_class_ironclads
		}

		visible = {
			has_dlc = "Man the Guns"
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_ship_order_in_progress_effect_tt
			if = {
				set_temp_variable = { money_to_gain = -0.5 }
				add_money_with_tooltip_effect = yes
			}
			else = {
				add_political_power = -25
				navy_experience = -25
				add_command_power = -50
			}
			hidden_effect = {
				set_country_flag = AUS_ship_order_in_progress_flag
			}
		}
		
		remove_effect = {
			country_event = { id = austria.804 }
			hidden_effect = {
				clr_country_flag = AUS_ship_order_in_progress_flag
			}
		}

		ai_will_do = {
			base = 500
		}
	}
	
	#Order Kaiser Max-Class Ironclads
	AUS_decision_order_kaiser_max_class_ironclads = {

		icon = generic_naval

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_ship_order_in_progress_flag }
			has_completed_focus = AUS_focus_kaiser_max_class_ironclads
		}

		visible = {
			has_dlc = "Man the Guns"
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 180
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_ship_order_in_progress_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = AUS_ship_order_in_progress_flag
			}
		}
		
		remove_effect = {
			country_event = { id = austria.805 }
			hidden_effect = {
				clr_country_flag = AUS_ship_order_in_progress_flag
			}
		}

		ai_will_do = {
			base = 500
		}
	}
	
	#Order Erzherzog Ferdinand Max-Class Ironclads
	AUS_decision_order_erzherzog_ferdinand_max_class_ironclads = {

		icon = generic_naval

		#allowed = { tag = AUS }

		available = {
			NOT = { has_country_flag = AUS_ship_order_in_progress_flag }
			has_completed_focus = AUS_focus_erzherzog_ferdinand_max_class_ironclads
		}

		visible = {
			has_dlc = "Man the Guns"
		}

		fire_only_once = yes

		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		
		days_remove = 180
		
		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
		
		complete_effect = {
			custom_effect_tooltip = AUS_ship_order_in_progress_effect_tt
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes

			hidden_effect = {
				set_country_flag = AUS_ship_order_in_progress_flag
			}
		}
		
		remove_effect = {
			country_event = { id = austria.806 }
			hidden_effect = {
				clr_country_flag = AUS_ship_order_in_progress_flag
			}
		}

		ai_will_do = {
			base = 500
		}
	}
}

political_actions = {

	#Frankfurter Reforms - German Confederation
	eoanb_decision_AUS_gerconfed_frk = {

		allowed = { tag = AUS }

		icon = generic_political_discourse

		available = {
			FRK = {
				custom_trigger_tooltip = {
					tooltip = is_part_of_the_german_confederation_trigger_tt
					hidden_trigger = {
						is_part_of_the_german_confederation = yes
					}
				}
			}
		}

		visible = {
			date > 1863.9.1
			is_part_of_the_german_confederation = yes
		}

		fire_only_once = yes

		cost = 25

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_decisions_aus_frk
			hidden_effect = {
				every_country = {
					limit = {
						is_part_of_the_german_confederation = yes
						NOT = { TAG = AUS }
					}
					country_event = { days = 1 id = gerconfed.101 }
				}
				AUS = { country_event = { days = 6 id = gerconfed.102 } }
				set_temp_variable = { var = eoanb_var_votes_gerconfed_101_yes value = 1 }
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Frankfurter Fürstentag
	eoanb_decision_AUS_gerconfed_frk2 = {

		allowed = { tag = AUS }

		icon = generic_political_discourse

		available = {
			FRK = {
				custom_trigger_tooltip = {
					tooltip = is_part_of_the_german_confederation_trigger_tt
					hidden_trigger = {
						is_part_of_the_german_confederation = yes
					}
				}
			}
		}

		visible = {
			date > 1863.9.1
			is_part_of_the_german_confederation = yes
		}

		fire_only_once = yes

		cost = 25

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_decisions_aus_frk
			hidden_effect = {
				every_country = {
					limit = {
						is_part_of_the_german_confederation = yes
						NOT = { TAG = AUS }
					}
					country_event = { days = 1 id = gerconfed.106 }
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Mobilize (Second Sardinian War of Independence)
#	eoanb_decision_ALL_gerconfed_war1 = {
#
#		icon = generic_political_discourse
#
#		allowed = {
#			OR = {
#				tag = AUS
#				tag = BAD
#				tag = BAV
#				tag = BRE
#				tag = FRK
#				tag = HAM
#				tag = HAN
#				tag = HES
#				tag = HSD
#				tag = LCK
#				tag = LUX
#				tag = MCK
#				tag = OLD
#				tag = PRS
#				tag = SAX
#				tag = THU
#				tag = WUR
#			}
#		}
#
#		available = {
#			NOT = { date > 1865.1.1 }
#			has_army_experience > 50
#		}
#
#		visible = {
#			is_part_of_the_german_confederation = yes
#			AUS = {
#				has_war_with = PIE
#			}
#		}
#
#		activation = {
#			always = no # activated via on_action
#		}
#
#		is_good = yes
#
#		days_mission_timeout = 60
#
#		complete_effect = {
#			add_political_power = -25
#			army_experience = 20
#			hidden_effect = {
#				activate_mission = eoanb_decision_ALL_gerconfed_war1
#			}
#		}
#
#		timeout_effect = {
#			add_political_power = -50
#			hidden_effect = {
#				activate_mission = eoanb_decision_ALL_gerconfed_war1
#			}
#		}
#
#		ai_will_do = {
#			base = 1
#		}
#	}
}

eoanb_category_diplomatic_actions = {
#	eoanb_decision_AUS_reform_ita1 = { #Future of Lombardy-Venetia
#
#		icon = generic_political_discourse
#
#		allowed = {
#			tag = AUS
#		}
#
#		visible = {
#			has_completed_focus = AUS_Future_Italy
#			country_exists = LVN
#		}
#
#		fire_only_once = yes
#
#		cost = 50
#
#		is_good = yes
#
#		complete_effect = {
#			country_event = AUSitalypolitics.4
#		}
#
#		ai_will_do = {
#			base = 1
#		}
#	}
#	eoanb_decision_AUS_reform_ita2 = { #Future of Modena, Parma and Tuscany
#
#		icon = generic_political_discourse
#
#		allowed = {
#			tag = AUS
#		}
#
#		visible = {
#			has_completed_focus = AUS_Future_Italy
#			country_exists = MOD
#			country_exists = PRM
#			country_exists = TUS
#		}
#
#		fire_only_once = yes
#
#		cost = 50
#
#		is_good = yes
#
#		complete_effect = {
#			country_event = AUSitalypolitics.5
#		}
#
#		ai_will_do = {
#			base = 1
#		}
#	}
#
#	eoanb_decision_AUS_reform_ita3 = { #Give Savoy and Nice to France
#
#		icon = generic_political_discourse
#
#		allowed = {
#			tag = AUS
#		}
#
#		available = {
#			PIE = { is_subject_of = AUS }
#			735 = { is_owned_by = PIE }
#			822 = { is_owned_by = PIE }
#		}
#
#		visible = {
#			has_completed_focus = AUS_Future_Italy
#			country_exists = PIE
#			has_country_flag = AUS_flag_puppet_piedmont
#		}
#
#		fire_only_once = yes
#
#		cost = 50
#
#		is_good = yes
#
#		complete_effect = {
#			country_event = AUSitalypolitics.6
#		}
#
#		ai_will_do = {
#			base = 1
#		}
#	}
#
#	eoanb_decision_AUS_reform_ita4 = { #The Future of Savoy
#
#		icon = generic_political_discourse
#
#		allowed = {
#			tag = AUS
#		}
#
#		available = {
#			PIE = { is_subject_of = AUS }
#		}
#
#		visible = {
#			AUS = { has_completed_focus = AUS_Future_Italy }
#			country_exists = PIE
#		}
#
#		fire_only_once = yes
#
#		cost = 50
#
#		is_good = yes
#
#		complete_effect = {
#			country_event = AUSitalypolitics.2
#		}
#
#		ai_will_do = {
#			base = 1
#		}
#	}
#
#	eoanb_decision_AUS_reform_ita5 = { #Form Lombardy-Piedmont
#
#		icon = generic_political_discourse
#
#		allowed = {
#			tag = AUS
#		}
#
#		available = {
#			PIE = { is_puppet_of = AUS }
#			has_full_control_of_state = 160
#		}
#
#		visible = {
#			AUS = { has_completed_focus = AUS_Future_Italy }
#			country_exists = PIE
#			has_full_control_of_state = 160
#			PIE = { is_puppet_of = AUS }
#		}
#
#		fire_only_once = yes
#
#		cost = 50
#
#		is_good = yes
#
#		complete_effect = {
#			LVN = {
#				annex_country = {
#					target = PIE
#					transfer_troops = yes
#				}
#				set_cosmetic_tag = LVN_Lombardy_Piedmont
#			}
#			country_event = AUSitalypolitics.3
#		}
#
#		ai_will_do = {
#			base = 1
#		}
#	}
#
#	eoanb_decision_AUS_reform_ita6 = { #Form the Italian league
#
#		icon = generic_political_discourse
#
#		allowed = {
#			tag = AUS
#		}
#
#		available = {
#
#		}
#
#		visible = {
#			has_completed_focus = AUS_Future_Italy
#			has_global_flag = PIE_2IW_Defeat
#		}
#
#		fire_only_once = yes
#
#		cost = 50
#
#		is_good = yes
#
#		complete_effect = {
#			every_country = {
#				limit = {
#					OR = {
#						tag = PIE
#						tag = PRM
#						tag = MOD
#						tag = PAP
#						tag = NSC
#						tag = LVN
#						tag = TUS
#						tag = SAR
#					}
#				}
#				country_event = { id = AUSitalypolitics.9 days = 15 }
#			}
#		}
#
#		ai_will_do = {
#			base = 1
#		}
#	}


	eoanb_decision_AUS_peace_with_HUN = { #Offer Peace to Hungary

		icon = generic_political_discourse

		allowed = { tag = AUS }

		available = {
		}

		visible = {
			has_global_flag = flag_HUN_revolt_1
			has_war_with = HUN
			OR = {
				HUN = {
					any_war_score > 20
					controls_state = 43
				}
				HUN = {
					any_war_score > 10
					controls_state = 43
					controls_state = 956
				}
			}
		}

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = { id = austria.505 days = 1 }
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	eoanb_decision_AUS_peace_with_HUN_2 = { #Offer Peace to Hungary 2 - Desperate offer

		icon = generic_political_discourse

		allowed = { tag = AUS }

		visible = {
			has_global_flag = flag_HUN_revolt_1
			has_war_with = HUN
			HUN = {
				any_war_score > 30
				controls_state = 43
				controls_state = 956
				controls_state = 109
				has_country_flag = HUN_AUS_war_denied_peace_1
			}
		}

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = { id = austria.506 }
			}
		}

		ai_will_do = {
			base = 1
		}
	}
}

AUS_decision_category_federalization = {

	AUS_decision_negotiate_with_the_hungarians = { #Negotiate with the Hungarians

		icon = generic_political_discourse

		#allowed = { tag = AUS }

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = austria.579
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	AUS_decision_negotiate_with_the_slovaks = { #Negotiate with the Slovaks

		icon = generic_political_discourse

		#allowed = { tag = AUS }

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = austria.580
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	AUS_decision_negotiate_with_the_transylvanians = { #Negotiate with the Transylvanians

		icon = generic_political_discourse

		#allowed = { tag = AUS }

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = austria.581
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	AUS_decision_negotiate_with_the_croats = { #Negotiate with the Croats

		icon = generic_political_discourse

		#allowed = { tag = AUS }

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = austria.582
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	AUS_decision_negotiate_with_the_italians = { #Negotiate with the Italians

		icon = generic_political_discourse

		#allowed = { tag = AUS }

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = austria.583
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	AUS_decision_negotiate_with_the_bohemians = { #Negotiate with the Bohemians

		icon = generic_political_discourse

		#allowed = { tag = AUS }

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = austria.584
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	AUS_decision_negotiate_with_the_galicians = { #Negotiate with the Galicians

		icon = generic_political_discourse

		#allowed = { tag = AUS }

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = austria.585
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	AUS_decision_negotiate_with_the_vojvodina = { #Negotiate with the Vojvodinans

		icon = generic_political_discourse

		#allowed = { tag = AUS }

		fire_only_once = yes

		is_good = no

		complete_effect = {
			HUN = {
				country_event = austria.586
			}
		}

		ai_will_do = {
			base = 1
		}
	}
}

AUS_decision_category_austria_multinational_empire_decisions_test = {

	#Test 1
	AUS_decision_multinational_empire_test_juan = {

		icon = money

		available = {
			always = no
		}

		visible = {
			always = no
		}

		fire_only_once = yes

		cost = 25

		days_remove = 30

		modifier = {

		}

		complete_effect = {
			add_political_power = 10000
			hidden_effect = {
				set_country_flag = AUS_ongoing_test
			}
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = AUS_ongoing_test
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	#Test 2
	AUS_decision_multinational_empire_test_chew = {

		icon = money

		available = {
			always = no
		}

		visible = {
			always = no
		}

		fire_only_once = yes

		cost = 25

		days_remove = 30

		modifier = {

		}

		complete_effect = {
			add_political_power = 10000
			hidden_effect = {
				set_country_flag = AUS_ongoing_test
			}
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = AUS_ongoing_test
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	#Test DEBUG
	AUS_decision_multinational_empire_test_debug_juan = {

		icon = money

		available = {
			always = yes
		}

		visible = {
			is_debug = yes
		}

		fire_only_once = yes

		cost = 0

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { mne_decision_token = token:AUS_decision_multinational_empire_test_juan } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 1 } 
			set_temp_variable = { mne_decision_icon = 1 } 
			AUS_multinational_empire_propose_decision = yes
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = AUS_ongoing_test
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	#Test DEBUG
	AUS_decision_multinational_empire_test_debug_chew = {

		icon = money

		available = {
			always = yes
		}

		visible = {
			is_debug = yes
		}

		fire_only_once = yes

		cost = 0

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { mne_decision_token = token:AUS_decision_multinational_empire_test_chew } 
			set_temp_variable = { mne_decision_lp_cost = 50 } 
			set_temp_variable = { mne_decision_category = 2 } 
			set_temp_variable = { mne_decision_icon = 3 } 
			AUS_multinational_empire_propose_decision = yes
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = AUS_ongoing_test
			}
		}

		ai_will_do = {
			base = 200
		}
	}
}