add_namespace = austria

#austria.1-50		Starting Events, General Information Events, Habsburg Family, Flavour Events
#austria.51-100		Railway Events
#austria.101-150	Diplomacy and GEC Events
#austria.151-200	Italy Events
#austria.201-300	Nationalist Threat Events
#austria.301-400	Domestic Politics Events
#austria.401-500	Austria-Hungary Compromise Events
#austria.501-600	Alt-History Events
#austria.601-800	Army Events
#austria.801-900	Navy Events
#austria.901-999	Economy Events

##### STARTING EVENTS, GENERAL INFO EVENTS, HABSBURG FAMILY, FLAVOUR EVENTS (austria.1-50) #####

### Starting Events

#Startup Event: German or English state names?
country_event = {
	id = austria.1
	title = austria.1.t
	desc = austria.1.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.1.a
		ai_chance = { base = 0 }
		custom_effect_tooltip = AUS_event_austria_rename_effect_tt
		hidden_effect = {
			4 = { set_state_name = "Niederösterreich" }
			9 = { set_state_name = "Böhmen" }
			39 = { set_state_name = "Südtirol" }
			43 = { set_state_name = "Nordungarn" }
			45 = { set_state_name = "Wojwodina" }
			70 = { set_state_name = "Westslowakei" }
			71 = { set_state_name = "Ostslowakei" }
			72 = { set_state_name = "Olsagebiet" }
			73 = { set_state_name = "Karpatenvorland" }
			74 = { set_state_name = "Mährisch-Schlesien" }
			75 = { set_state_name = "Mähren" }
			76 = { set_state_name = "Nördliches Siebenbürgen" }
			80 = { set_state_name = "Bukowina" }
			82 = { set_state_name = "Ost-Banat" }
			83 = { set_state_name = "Kreischgebiet" }
			84 = { set_state_name = "Südliches Siebenbürgen" }
			88 = { set_state_name = "Westgalizien" }
			89 = { set_state_name = "Südgalizien" }
			91 = { set_state_name = "Ostgalizien" }
			102 = { set_state_name = "Krain" }
			103 = { set_state_name = "Norddalmatien" }
			109 = { set_state_name = "Kroatien-Slawonien" }
			152 = { set_state_name = "Oberösterreich" }
			153 = { set_state_name = "Tirol" }
			154 = { set_state_name = "Ungarische Tiefebene" }
			155 = { set_state_name = "Transdanubien" }
			664 = { set_state_name = "Südslowakei" }
			736 = { set_state_name = "Julisch Venetien" }
			743 = { set_state_name = "West-Banat" }
			956 = { set_state_name = "Wien" }
			967 = { set_state_name = "Szeklerland" }
			968 = { set_state_name = "Übermurgebiet" }
			969 = { set_state_name = "Slowenien" }
			970 = { set_state_name = "Süddalmatien" }
			1010 = { set_state_name = "Süd-Sudetenland" }
			1011 = { set_state_name = "Kroatisches Küstenland" }
			1055 = { set_state_name = "Südliche Bukowina" }
			1203 = { set_state_name = "Kotor" }
			1234 = { set_state_name = "Trient" }
			1235 = { set_state_name = "Triest" }
			1236 = { set_state_name = "Istrien" }
			1271 = { set_state_name = "Ungarisch-Slawonien" }
			1320 = { set_state_name = "Syrmien" }
			1321 = { set_state_name = "Krakau" }
			set_province_name = { id = 442 name = "Tarnow" }
			set_province_name = { id = 494 name = "Königgrätz" }
			set_province_name = { id = 583 name = "Pardubitz" }
			set_province_name = { id = 596 name = "Marburg" }
			set_province_name = { id = 684 name = "Sollnock" }
			set_province_name = { id = 686 name = "Ödenburg" }
			set_province_name = { id = 690 name = "Kronstadt" }
			set_province_name = { id = 3569 name = "Brünn" }
			set_province_name = { id = 3581 name = "Eperies" }
			set_province_name = { id = 3585 name = "Karlsbad" }
			set_province_name = { id = 3617 name = "Neusatz" }
			set_province_name = { id = 3696 name = "Großwardein" }
			set_province_name = { id = 6418 name = "Pilsen" }
			set_province_name = { id = 6470 name = "Eger" }
			set_province_name = { id = 6522 name = "Premissel" }
			set_province_name = { id = 6562 name = "Olmütz" }
			set_province_name = { id = 6573 name = "Kaschau" }
			set_province_name = { id = 6626 name = "Triest" }
			set_province_name = { id = 6647 name = "Essegg" }
			set_province_name = { id = 6700 name = "Szegedin" }
			set_province_name = { id = 6711 name = "Klausenburg" }
			set_province_name = { id = 6720 name = "Raab" }
			set_province_name = { id = 6751 name = "Mischkolz" }
			set_province_name = { id = 6761 name = "Suczawa" }
			set_province_name = { id = 9427 name = "Krakau" }
			set_province_name = { id = 9541 name = "Budweis" }
			set_province_name = { id = 9606 name = "Temeschburg" }
			set_province_name = { id = 9611 name = "Kopreinitz" }
			set_province_name = { id = 9621 name = "Maria-Theresiopel" }
			set_province_name = { id = 9627 name = "Laibach" }
			set_province_name = { id = 9692 name = "Preßburg" }
			set_province_name = { id = 11401 name = "Reichenberg" }
			set_province_name = { id = 11411 name = "Stanislau" }
			set_province_name = { id = 11432 name = "Teplitz" }
			set_province_name = { id = 11479 name = "Lemberg" }
			set_province_name = { id = 11542 name = "Prag" }
			set_province_name = { id = 11581 name = "Agram" }
			set_province_name = { id = 11598 name = "Trient" }
			set_province_name = { id = 11610 name = "Fünfkirchen" }
			set_province_name = { id = 11659 name = "Debrezin" }
			set_province_name = { id = 11666 name = "Wien" }
			set_province_name = { id = 11691 name = "Ungwar" }
			set_province_name = { id = 13677 name = "Tschernowitz" }
			set_province_name = { id = 14191 name = "Görz" }
			set_province_name = { id = 14287 name = "Tarvis" }
		}
	}

	option = {
		name = austria.1.b
		ai_chance = { base = 0 }
		trigger = {
			PRS = { is_ai = yes }
		}
		custom_effect_tooltip = PRS_event_germany_austria_rename_effect_tt
		hidden_effect = {
			4 = { set_state_name = "Niederösterreich" }
			9 = { set_state_name = "Böhmen" }
			39 = { set_state_name = "Südtirol" }
			43 = { set_state_name = "Nordungarn" }
			45 = { set_state_name = "Wojwodina" }
			70 = { set_state_name = "Westslowakei" }
			71 = { set_state_name = "Ostslowakei" }
			72 = { set_state_name = "Olsagebiet" }
			73 = { set_state_name = "Karpatenvorland" }
			74 = { set_state_name = "Mährisch-Schlesien" }
			75 = { set_state_name = "Mähren" }
			76 = { set_state_name = "Nördliches Siebenbürgen" }
			80 = { set_state_name = "Bukowina" }
			82 = { set_state_name = "Ost-Banat" }
			83 = { set_state_name = "Kreischgebiet" }
			84 = { set_state_name = "Südliches Siebenbürgen" }
			88 = { set_state_name = "Westgalizien" }
			89 = { set_state_name = "Südgalizien" }
			91 = { set_state_name = "Ostgalizien" }
			102 = { set_state_name = "Krain" }
			103 = { set_state_name = "Norddalmatien" }
			109 = { set_state_name = "Kroatien-Slawonien" }
			152 = { set_state_name = "Oberösterreich" }
			153 = { set_state_name = "Tirol" }
			154 = { set_state_name = "Ungarische Tiefebene" }
			155 = { set_state_name = "Transdanubien" }
			664 = { set_state_name = "Südslowakei" }
			736 = { set_state_name = "Julisch Venetien" }
			743 = { set_state_name = "West-Banat" }
			956 = { set_state_name = "Wien" }
			967 = { set_state_name = "Szeklerland" }
			968 = { set_state_name = "Übermurgebiet" }
			969 = { set_state_name = "Slowenien" }
			970 = { set_state_name = "Süddalmatien" }
			1010 = { set_state_name = "Süd-Sudetenland" }
			1011 = { set_state_name = "Kroatisches Küstenland" }
			1055 = { set_state_name = "Südliche Bukowina" }
			1203 = { set_state_name = "Kotor" }
			1234 = { set_state_name = "Trient" }
			1235 = { set_state_name = "Triest" }
			1236 = { set_state_name = "Istrien" }
			1271 = { set_state_name = "Ungarisch-Slawonien" }
			1320 = { set_state_name = "Syrmien" }
			1321 = { set_state_name = "Krakau" }
			set_province_name = { id = 442 name = "Tarnow" }
			set_province_name = { id = 494 name = "Königgrätz" }
			set_province_name = { id = 583 name = "Pardubitz" }
			set_province_name = { id = 596 name = "Marburg" }
			set_province_name = { id = 684 name = "Sollnock" }
			set_province_name = { id = 686 name = "Ödenburg" }
			set_province_name = { id = 690 name = "Kronstadt" }
			set_province_name = { id = 3569 name = "Brünn" }
			set_province_name = { id = 3581 name = "Eperies" }
			set_province_name = { id = 3585 name = "Karlsbad" }
			set_province_name = { id = 3617 name = "Neusatz" }
			set_province_name = { id = 3696 name = "Großwardein" }
			set_province_name = { id = 6418 name = "Pilsen" }
			set_province_name = { id = 6470 name = "Eger" }
			set_province_name = { id = 6522 name = "Premissel" }
			set_province_name = { id = 6562 name = "Olmütz" }
			set_province_name = { id = 6573 name = "Kaschau" }
			set_province_name = { id = 6626 name = "Triest" }
			set_province_name = { id = 6647 name = "Essegg" }
			set_province_name = { id = 6700 name = "Szegedin" }
			set_province_name = { id = 6711 name = "Klausenburg" }
			set_province_name = { id = 6720 name = "Raab" }
			set_province_name = { id = 6751 name = "Mischkolz" }
			set_province_name = { id = 6761 name = "Suczawa" }
			set_province_name = { id = 9427 name = "Krakau" }
			set_province_name = { id = 9541 name = "Budweis" }
			set_province_name = { id = 9606 name = "Temeschburg" }
			set_province_name = { id = 9611 name = "Kopreinitz" }
			set_province_name = { id = 9621 name = "Maria-Theresiopel" }
			set_province_name = { id = 9627 name = "Laibach" }
			set_province_name = { id = 9692 name = "Preßburg" }
			set_province_name = { id = 11401 name = "Reichenberg" }
			set_province_name = { id = 11411 name = "Stanislau" }
			set_province_name = { id = 11432 name = "Teplitz" }
			set_province_name = { id = 11479 name = "Lemberg" }
			set_province_name = { id = 11542 name = "Prag" }
			set_province_name = { id = 11581 name = "Agram" }
			set_province_name = { id = 11598 name = "Trient" }
			set_province_name = { id = 11610 name = "Fünfkirchen" }
			set_province_name = { id = 11659 name = "Debrezin" }
			set_province_name = { id = 11666 name = "Wien" }
			set_province_name = { id = 11691 name = "Ungwar" }
			set_province_name = { id = 13677 name = "Tschernowitz" }
			set_province_name = { id = 14191 name = "Görz" }
			set_province_name = { id = 14287 name = "Tarvis" }
			5 = { set_state_name = "Ostpreußen" }
			8 = { set_state_name = "Luxemburg" }
			42 = { set_state_name = "Pfalz" }
			50 = { set_state_name = "Württemberg" }
			51 = { set_state_name = "Rheinland" }
			52 = { set_state_name = "Oberbayern" }
			53 = { set_state_name = "Niederbayern" }
			55 = { set_state_name = "Niederhessen" }
			57 = { set_state_name = "Westfalen" }
			59 = { set_state_name = "Hannover" }
			60 = { set_state_name = "Thüringen" }
			62 = { set_state_name = "Pommern" }
			63 = { set_state_name = "Hinterpommern" }
			65 = { set_state_name = "Sachsen" }
			66 = { set_state_name = "Niederschlesien" }
			67 = { set_state_name = "Oberschlesien" }
			85 = { set_state_name = "Westpreußen" }
			581 = { set_state_name = "Rheinhessen" }
			950 = { set_state_name = "Nordsachsen" }
			1009 = { set_state_name = "Ost-Rheinland" }
			1032 = { set_state_name = "Nord-Schleswig" }
			1061 = { set_state_name = "Oberhessen" }
			set_province_name = { id = 587 name = "Köln" }
			set_province_name = { id = 692 name = "München" }
			set_province_name = { id = 6377 name = "Hannover" }
			set_province_name = { id = 6583 name = "Luxemburg" }
			set_province_name = { id = 11544 name = "Nürnberg" }
		}
	}
	
	option = {
		name = austria.1.c
		ai_chance = { base = 100 }
	}
}

#Startup Event: Starting Situation
country_event = {
	id = austria.2
	title = austria.2.t
	desc = austria.2.d
	picture = GFX_report_event_franz_joseph_coronation
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.2.a
		ai_chance = { base = 100 }
		complete_national_focus = AUS_focus_an_empire_in_demise
		activate_decision = AUS_decision_uproar_in_italy_countdown
		activate_decision = AUS_decision_nationalist_agitation_countdown
		activate_mission_tooltip = AUS_mission_avoid_bankruptcy
		hidden_effect = {
			activate_mission = AUS_mission_avoid_bankruptcy
			#set_temp_variable = {
			#	mhc_add_ncs_target = 1
			#}
			#mhc_add_ncs = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_west_slavic_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 3 } 
			set_temp_variable = { mne_decision_icon = 12 } 
			AUS_multinational_empire_propose_decision = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_west_slavic_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 7 } 
			set_temp_variable = { mne_decision_icon = 12 } 
			AUS_multinational_empire_propose_decision = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_romanian_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 11 } 
			set_temp_variable = { mne_decision_icon = 16 } 
			AUS_multinational_empire_propose_decision = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_romanian_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 14 } 
			set_temp_variable = { mne_decision_icon = 16 } 
			AUS_multinational_empire_propose_decision = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_polish_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 5 } 
			set_temp_variable = { mne_decision_icon = 14 } 
			AUS_multinational_empire_propose_decision = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_polish_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 19 } 
			set_temp_variable = { mne_decision_icon = 14 } 
			AUS_multinational_empire_propose_decision = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_ukranian_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 6 } 
			set_temp_variable = { mne_decision_icon = 17 } 
			AUS_multinational_empire_propose_decision = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_german_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 1 } 
			set_temp_variable = { mne_decision_icon = 18 } 
			AUS_multinational_empire_propose_decision = yes

			set_temp_variable = { mne_decision_token = token:AUS_decision_suppress_german_nationalism } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 18 } 
			set_temp_variable = { mne_decision_icon = 18 } 
			AUS_multinational_empire_propose_decision = yes
		}
	}
}

#External Threats to the Austrian Empire
country_event = {
	id = austria.3
	title = austria.3.t
	desc = austria.3.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
    is_triggered_only = yes 
	
	option = {
		name = austria.3.a
		ai_chance = { base = 100 }
	}
}

#Internal Threats to the Austrian Empire
country_event = {
	id = austria.4
	title = austria.4.t
	desc = austria.4.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.4.a
		ai_chance = { base = 100 }
	}
}

### Habsburg Events

#Birth of Crown Prince Rudolf
country_event = {
	id = austria.11
	title = austria.11.t
	desc = austria.11.d
	picture = GFX_report_event_habsburg_family
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.11.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_stability = 0.03
		increase_ps_by_one = yes
		unlock_decision_tooltip = AUS_decision_grant_insurgents_amnesty
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			set_country_flag = AUS_rudolf_born_flag

			set_temp_variable = { mne_decision_token = token:AUS_decision_grant_insurgents_amnesty } 
			set_temp_variable = { mne_decision_lp_cost = 25 } 
			set_temp_variable = { mne_decision_category = 1 } 
			set_temp_variable = { mne_decision_icon = 10 } 
			AUS_multinational_empire_propose_decision = yes
		}
    }
}

#Death of Archduchess Sophie
country_event = {
	id = austria.12
	title = austria.12.t
	desc = austria.12.d
	picture = GFX_report_event_habsburg_family
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = austria.12.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
    }
}

#Trip to Hungary
country_event = {
	id = austria.13
	title = austria.13.t
	desc = austria.13.d
	picture = GFX_report_event_habsburg_family
	
	fire_only_once = yes
	is_triggered_only = yes 
	
	option = { 
		name = austria.13.a 
		ai_chance = { base = 100 }
    }
}

#The Birth of Archduchess Marie Valerie
country_event = {
	id = austria.14
	title = austria.14.t
	desc = austria.14.d
	picture = GFX_report_event_habsburg_family
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.14.a
		trigger = {
			AUS = { has_country_flag = AUS_flag_hun_dual_monarchy }
		}
		ai_chance = { base = 100 }
		add_political_power = 10
		add_stability = 0.01
    }

	option = {
		name = austria.14.b
		trigger = {
			NOT = { AUS = { has_country_flag = AUS_flag_hun_dual_monarchy } }
		}
		ai_chance = { base = 100 }
		add_political_power = 10
		add_stability = 0.01
		set_temp_variable = { eoanb_prestige_change = 2 }
		eoanb_change_prestige_score = yes
    }
}

### Flavour Events

#The Blue Danube Waltz
country_event = {
	id = austria.21
	title = austria.21.t
	desc = austria.21.d
	picture = GFX_report_event_vienna_1
	
	is_triggered_only = yes 
	
	option = {
		name = austria.21.a 
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
	}
}

#A German Requiem (Brahms)
country_event = {
	id = austria.22
	title = austria.22.t
	desc = austria.22.d
	picture = GFX_report_event_vienna_1
	
	is_triggered_only = yes 
	
	option = {
		name = austria.22.a 
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Vienna Court Opera Opens
country_event = {
	id = austria.23
	title = austria.23.t
	desc = austria.23.d
	picture = GFX_report_event_vienna_1
	is_triggered_only = yes 
	
	option = {
		name = austria.23.a 
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = 2 }
		eoanb_change_prestige_score = yes
	}
}

#Johann Strauss II Publishes Trisch-Trasch-Polka
country_event = {
	id = austria.24
	title = austria.24.t
	desc = austria.24.d
	picture = GFX_report_event_vienna_1
	
	is_triggered_only = yes 
	
	option = {
		name = austria.24.a 
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Giovanni Visin First Croat to Circumnavigate the Globe
country_event = {
	id = austria.25
	title = austria.25.t
	desc = austria.25.d
	picture = GFX_report_event_ivo_visin
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1859.08.30

	option = {
		name = austria.25.a
		add_stability = 0.01
		navy_experience = 5
		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
			}
		}
	}
}

#Radetzky Monument Unveiling in Prague
country_event = {
	id = austria.26
	title = austria.26.t
	desc = austria.26.d
	picture = GFX_report_event_radetzky_monument
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1858.11.13

	option = {
		name = austria.26.a
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Rieger's Dictionary of Learning Published
country_event = {
	id = austria.27
	title = austria.27.t
	desc = austria.27.d
	picture = GFX_report_event_czech_dictionary
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1860.01.01

	option = {
		name = austria.27.a
		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
			}
		}
	}
}

#First Issue of Czech Newspaper Národní Published
country_event = {
	id = austria.28
	title = austria.28.t
	desc = austria.28.d
	picture = GFX_report_event_czech_newspaper
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1861.01.01

	option = {
		name = austria.28.a
		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
			}
		}
	}
}

#Town of Trutnov Destroyed by Fire
country_event = {
	id = austria.29
	title = austria.29.t
	desc = austria.29.d
	picture = GFX_report_event_trutnov_fire
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1861.05.27

	option = {
		name = austria.29.a
		add_political_power = -5
	}
}

#Sokol Gymnastic Club Founded in Prague
country_event = {
	id = austria.30
	title = austria.30.t
	desc = austria.30.d
	picture = GFX_report_event_sokol
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		NOT = { has_idea = foa_banned }
	}

	#date = 1862.2.16

	option = {
		name = austria.30.a
		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
			}
		}
	}
}

#Vienna Stadtpark Opens
country_event = {
	id = austria.31
	title = austria.31.t
	desc = austria.31.d
	picture = GFX_report_event_vienna_stadtpark
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1862.8.21

	option = {
		name = austria.31.a
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#First Ascent of the Marmolada by Paul Grohmann
country_event = {
	id = austria.32
	title = austria.32.t
	desc = austria.32.d
	picture = GFX_report_event_grohmann
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1864.9.28

	option = {
		name = austria.32.a
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Gregor Mendel Presents his Laws of Heredity
country_event = {
	id = austria.33
	title = austria.33.t
	desc = austria.33.d
	picture = GFX_report_event_mendel
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1865.2.8

	option = {
		name = austria.33.a
		add_tech_bonus = { bonus = 0.5 uses = 1 category = biochemistry_tech }
		set_temp_variable = { eoanb_prestige_change = 5 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			news_event = { id = news.101 days = 2 }
		}
	}
}

#Apparition of the Virgin Mary in Filipov
country_event = {
	id = austria.34
	title = austria.34.t
	desc = austria.34.d
	picture = GFX_report_event_apparition_holy_mary
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1866.1.13

	option = {
		name = austria.34.a
		add_political_power = 5
		set_temp_variable = { eoanb_prestige_change = 2 }
		eoanb_change_prestige_score = yes
	}
}

#Smetana's Opera 'Prodaná nevěsta' (The Bartered Bride) Premiers in Prague
country_event = {
	id = austria.35
	title = austria.35.t
	desc = austria.35.d
	picture = GFX_report_event_smetana_opera
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1866.5.30

	option = {
		name = austria.35.a
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Czech Crowns Jewels Return to Prague
country_event = {
	id = austria.36
	title = austria.36.t
	desc = austria.36.d
	picture = GFX_report_event_czech_crown
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1867.8.28

	option = {
		name = austria.36.a
		add_political_power = 10
		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
			}
		}
	}
}
	
#Disastrous Windstorm Devastates Bohemia
country_event = {
	id = austria.37
	title = austria.37.t
	desc = austria.37.d
	picture = GFX_report_event_bohemian_storm
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1870.10.27

	option = {
		name = austria.37.a
		add_political_power = -10
		add_stability = -0.01
	}
}

#Maria Theresa Thaler Loses Status as Legal Tender
country_event = {
	id = austria.38
	title = austria.38.t
	desc = austria.38.d
	picture = GFX_report_event_maria_theresa_thaler_guilders
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1858.10.31

	option = {
		name = austria.38.a
		add_political_power = 10
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}

#Imperial and Royal Museum of Art and Industry Opens
country_event = {
	id = austria.39
	title = austria.39.t
	desc = austria.39.d
	picture = GFX_report_event_museum_of_arts_and_industry
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1863.3.7

	option = {
		name = austria.39.a
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Ringstraße Inaugurated by Emperor Franz Joseph I
country_event = {
	id = austria.40
	title = austria.40.t
	desc = austria.40.d
	picture = GFX_report_event_vienna_ringstrasse
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_country_flag = eoanb_flag_AUS_completed_mein_wille
	}

	#date = 1865.5.1

	option = {
		name = austria.40.a
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = eoanb_flag_AUS_completed_mein_wille
		}
	}
}

#The History of the Hungarian Struggle for Independence Published in Italy
country_event = {
	id = austria.41
	title = austria.41.t
	desc = austria.41.d
	picture = GFX_report_event_hungarian_struggle_for_independence
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1865.11.26

	#Ban it
	option = {
		name = austria.41.a
		add_political_power = -25
		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
			}
		}
	}
	
	#Nothing we can do
	option = {
		name = austria.41.b
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_four_tt
		hidden_effect = {
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.04
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Budapest-Vienna Telegraph Line in Service
country_event = {
	id = austria.42
	title = austria.42.t
	desc = austria.42.d
	picture = GFX_report_event_generic_telegraph
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1867.1.1

	option = {
		name = austria.42.a
		add_political_power = 10
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Prince Ludwig of Bavaria Marries Archduchess Maria Theresa of Austria-Este
country_event = {
	id = austria.43
	title = austria.43.t
	desc = austria.43.d
	picture = GFX_report_event_vienna_wedding_ludwig_maria_theresa
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1868.2.20

	option = {
		name = austria.43.a
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Railway Accident Near Cerhovice
country_event = {
	id = austria.44
	title = austria.44.t
	desc = austria.44.d
	picture = GFX_report_event_railway_accident_cerhovice
	
	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		has_railway_level = {
			state = 9
			level > 0
		}
	}

	#date = 1868.11.10

	option = {
		name = austria.44.a
		9 = {
			damage_building = {
				type = rail_way
				damage = 0.2
			}
		}
	}
}

#The Party of Rights Formed in Croatia (26 June 1861)
country_event = {
	id = austria.45
	title = austria.45.t
	desc = austria.45.d
	picture = GFX_report_event_the_party_of_rights_formed
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Splendid
		name = austria.45.a
	}
}
	
#Content End Event
country_event = {
	id = austria.50
	title = austria.50.t
	desc = austria.50.d
		
	fire_only_once = yes
	is_triggered_only = yes


	option = {
		name = austria.50.a
		
	}
}

##### RAILWAY EVENTS (austria.51-100) #####

### Railway Events from Start

#Railway Line from Vienna to Munich - Planning
country_event = {
	id = austria.51
	title = austria.51.t
	desc = austria.51.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	immediate = {
		hidden_effect = {
			country_event = { id = austria.52 days = 26 } # 1857.7.27 - Triest line complete
		}
	}
	
	option = {
		name = austria.51.a
		ai_chance = { base = 100 }
	}
	
	option = {
		name = austria.51.b
		ai_chance = { base = 0 }
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Railway Line from Vienna to Triest in Service #1857.7.27
country_event = {
	id = austria.52
	title = austria.52.t
	desc = austria.52.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.52.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				599
				6626
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 3
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.52.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				599
				6626
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 3
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Segment from Vienna to Linz in Service #1858.12.15
country_event = {
	id = austria.53
	title = austria.53.t
	desc = austria.53.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.53.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				11666
				704
				11651
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.53.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				11666
				704
				11651
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Segment from Linz to Lambach and Frankenmarkt in Service #1860.2.1
country_event = {
	id = austria.54
	title = austria.54.t
	desc = austria.54.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.54.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				11651
				3684
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.54.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				11651
				3684
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Segment from Frankenmarkt to Salzburg in Service #1860.8.1
country_event = {
	id = austria.55
	title = austria.55.t
	desc = austria.55.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.55.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				3684
				688
			}
		}
		152 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		country_event = { id = austria.56 days = 11 } # 1860.8.12 - Inauguration Ceremony
		BAV = { country_event = { id = austria.56 days = 11 } }
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		hidden_effect = {
			country_event = { id = austria.57 days = 396 } # 1861.9.1 - Branch Line Wels to Passau in Service
			country_event = { id = austria.61 days = 13 } # 1860.8.14 - Miskolc-Košice Line in Service
		}
	}
	
	option = {
		name = austria.55.b
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				3684
				688
			}
		}
		152 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		country_event = { id = austria.56 days = 11 } # 1860.8.12 - Inauguration Ceremony
		BAV = { country_event = { id = austria.56 days = 11 } }
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Vienna-Munich Railway Line - Inauguration Ceremony #1860.8.12
country_event = {
	id = austria.56
	title = austria.56.t
	desc = austria.56.d
	picture = GFX_report_event_augarten_festivities
	
	is_triggered_only = yes
	
	option = {
		name = austria.56.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_stability = 0.02
		if = {
			limit = {
				tag = AUS
			}
			add_opinion_modifier = { target = BAV modifier = AUS_RAILWAY_CONNECTION_CEREMONY }
			reverse_add_opinion_modifier = { target = BAV modifier = AUS_RAILWAY_CONNECTION_CEREMONY }
		}
		set_temp_variable = {
			eoanb_prestige_change = 3
		}
		eoanb_change_prestige_score = yes
	}
}

#Wels-Passau Branch Line in Service #1861.9.1
country_event = {
	id = austria.57
	title = austria.57.t
	desc = austria.57.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.57.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				3684
				3703
				532
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.57.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				3684
				3703
				532
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Kufstein-Innsbruck Line in Service #1858.11.24
country_event = {
	id = austria.58
	title = austria.58.t
	desc = austria.58.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.58.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				11634
				673
			}
		}
		153 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.58.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				11634
				673
			}
		}
		153 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Budapest-Debrecen Line in Service #1857.11.25
country_event = {
	id = austria.59
	title = austria.59.t
	desc = austria.59.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.59.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				684
				11646
				11644
				11659
			}
		}
		154 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.59.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				684
				11646
				11644
				11659
			}
		}
		154 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Debrecen-Miskolc Line in Service #1859.5.24
country_event = {
	id = austria.60
	title = austria.60.t
	desc = austria.60.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.60.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				11659
				6735
				3730
				11520
				6751
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.60.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				11659
				6735
				3730
				11520
				6751
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Miskolc-Košice Line in Service #1860.8.14
country_event = {
	id = austria.61
	title = austria.61.t
	desc = austria.61.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.61.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				6751
				6573
			}
		}
		664 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.61.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				6751
				6573
			}
		}
		664 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Szolnok-Arad Line in Service #1858.10.25
country_event = {
	id = austria.62
	title = austria.62.t
	desc = austria.62.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.62.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				11646
				9656
				6682
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.62.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				11646
				9656
				6682
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Branch Railway Line to Oradea in Service #1858.4.22
country_event = {
	id = austria.63
	title = austria.63.t
	desc = austria.63.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.63.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				11644
				3696
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.63.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				11644
				3696
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Szeged-Temeswar Line in Service #1857.11.15
country_event = {
	id = austria.64
	title = austria.64.t
	desc = austria.64.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.64.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				6700
				6643
				11787
				9606
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.64.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				6700
				6643
				11787
				9606
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Szeged Railway Bridge Finished #1858.12.2
country_event = {
	id = austria.65
	title = austria.65.t
	desc = austria.65.d
	picture = GFX_report_event_railway_bridge_szeged
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.65.a
		ai_chance = { base = 100 }
		add_political_power = 20
		set_temp_variable = {
			eoanb_prestige_change = 2
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
}

#Temeswar-Jasenovo Line in Service #1858.7.20
country_event = {
	id = austria.66
	title = austria.66.t
	desc = austria.66.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.66.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				9606
				614
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.66.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				9606
				614
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Tarnów-Przemyśl Line in Service #1860.11.4
country_event = {
	id = austria.67
	title = austria.67.t
	desc = austria.67.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.67.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				6499
				6522
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		hidden_effect = {
			country_event = { id = austria.68 days = 365 } # 1861.11.4
		}
	}
	
	option = {
		name = austria.67.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				6499
				6522
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Przemyśl-Lviv Line in Service #1861.11.4
country_event = {
	id = austria.68
	title = austria.68.t
	desc = austria.68.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.68.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				6522
				9468
				11479
			}
		}
		91 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.68.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				6522
				9468
				11479
			}
		}
		91 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Verona-Trento Line in Service #1858.3.23
country_event = {
	id = austria.69
	title = austria.69.t
	desc = austria.69.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.69.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				3657
				11598
			}
		}
		1234 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.69.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				3657
				11598
			}
		}
		1234 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Trento-Bozen Line in Service #1859.5.16
country_event = {
	id = austria.70
	title = austria.70.t
	desc = austria.70.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.70.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				11598
				11615
				6675
			}
		}
		39 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.70.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				11598
				11615
				6675
			}
		}
		39 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Udine-Triest Line in Service #1860.10.3
country_event = {
	id = austria.71
	title = austria.71.t
	desc = austria.71.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.71.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				9613
				14191
				6626
			}
		}
		736 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		1235 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.71.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				9613
				14191
				6626
			}
		}
		736 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		1235 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#First Segment of the Kaiser Franz Joseph-Orientbahn in Service #1860.3.1
country_event = {
	id = austria.72
	title = austria.72.t
	desc = austria.72.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.72.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				596
				9611
				3670
				3683
				686
			}
		}
		build_railway = {
			level = 1
			path = {
				9676
				6703
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.72.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				596
				9611
				3670
				3683
				686
			}
		}
		build_railway = {
			level = 1
			path = {
				9676
				6703
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Kaiser Franz Joseph-Orientbahn to Budapest in Service #1861.3.1
country_event = {
	id = austria.73
	title = austria.73.t
	desc = austria.73.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.73.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				3670
				682
				6703
				9660
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.73.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				3670
				682
				6703
				9660
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Böhmische Westbahn - Segment from Pilsen to the Bavarian Border in Service #1861.10.15
country_event = {
	id = austria.74
	title = austria.74.t
	desc = austria.74.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.74.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				6418
				9555
				3571
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.74.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				6418
				9555
				3571
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Böhmische Westbahn - Segment from Pilsen to Prague in Service #1862.7.1
country_event = {
	id = austria.75
	title = austria.75.t
	desc = austria.75.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.75.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				6418
				11542
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
	}
	
	option = {
		name = austria.75.b
		ai_chance = { base = 0 }
		build_railway = {
			level = 1
			path = {
				6418
				11542
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 1
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		custom_effect_tooltip = AUS_stop_funding_railways_effect_tt
		remove_ideas = AUS_idea_railway_concessions
	}
}

#Croatian Railway Line to Zagreb in Service #1862.10.1
country_event = {
	id = austria.76
	title = austria.76.t
	desc = austria.76.d
	picture = GFX_report_event_generic_railway_opening
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_railway_concessions
	}
	
	option = {
		name = austria.76.a
		ai_chance = { base = 100 }
		build_railway = {
			level = 1
			path = {
				3654
				11581
				624
			}
		}
		set_temp_variable = {
			eoanb_prestige_change = 5
		}
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		remove_ideas = AUS_idea_railway_concessions
	}
}

##### DIPLOMACY AND GEC EVENTS (austria.101-150) #####

### Crimean War Aftermath Events

#Aftermath of the Crimean War - Info
country_event = {
	id = austria.101
	title = austria.101.t
	desc = austria.101.d
	picture = GFX_report_event_danube_river
	
	fire_only_once = yes
    is_triggered_only = yes 
	
	option = {
		name = austria.101.a
		ai_chance = { base = 100 }
	}
}

#ENG, FRA - Austria Offers Cooperation in the Mediterranean  
country_event = {
	id = austria.102
	title = austria.102.t
	desc = austria.102.d
	picture = GFX_report_event_vienna_1
	
    is_triggered_only = yes
	
	#Accept
	option = {
		name = austria.102.a
		ai_chance = {
			base = 75
			modifier = {
				factor = 1.2
				tag = ENG
			}
		}
		add_political_power = 10
		AUS = { country_event = { days = 3 id = austria.103 } }
	}
	
	#Reject
	option = {
		name = austria.102.b 
		ai_chance = {
			base = 25
			modifier = {
				factor = 0.2
				tag = ENG
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		AUS = { country_event = { days = 3 id = austria.104 } }
	}
}

#AUS - England/France Accepts Our Cooperation in the Mediterranean  
country_event = {
	id = austria.103
	title = austria.103.t
	desc = austria.103.d
	picture = GFX_report_event_vienna_1
	
    is_triggered_only = yes
	
	option = {
		name = austria.103.a
		ai_chance = { base = 100 }
		add_political_power = 5
		if = {
			limit = {
				FROM = { tag = ENG }
			}
			set_country_flag = AUS_decision_stabilize_the_mediterranean_ENG_flag
		}
		else_if = {
			limit = {
				FROM = { tag = FRA }
			}
			set_country_flag = AUS_decision_stabilize_the_mediterranean_FRA_flag
		}
	}
}

#AUS - England/France Rejects Our Cooperation in the Mediterranean  
country_event = {
	id = austria.104
	title = austria.104.t
	desc = austria.104.d
	picture = GFX_report_event_vienna_1
	
    is_triggered_only = yes
	
	option = {
		name = austria.104.a
		ai_chance = { base = 100 }
		add_political_power = -5
	}
}

#Cooperation in the Mediterranean Successful
country_event = {
	id = austria.105
	title = austria.105.t
	desc = austria.105.d
	picture = GFX_report_event_danube_river
	
    fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.105.a
		ai_chance = { base = 100 }
		add_political_power = 25
		add_stability = 0.02
		remove_opinion_modifier = {
			target = ENG
			modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD
		}
		ENG = {
			remove_opinion_modifier = {
				target = AUS
				modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD
			}
		}
		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 }
		add_opinion_modifier = { target = FRA modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD }
		reverse_add_opinion_modifier = { target = FRA modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD }
		hidden_effect = {
			clr_country_flag = AUS_decision_stabilize_the_mediterranean_ENG_flag
			clr_country_flag = AUS_decision_stabilize_the_mediterranean_FRA_flag
		}
	}
}

#Cooperation in the Mediterranean Unsuccessful
country_event = {
	id = austria.106
	title = austria.106.t
	desc = austria.106.d
	picture = GFX_report_event_danube_river
	
    fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.106.a
		ai_chance = { base = 100 }
		add_political_power = -25
		hidden_effect = {
			clr_country_flag = AUS_decision_stabilize_the_mediterranean_ENG_flag
			clr_country_flag = AUS_decision_stabilize_the_mediterranean_FRA_flag
		}
	}
}

#RUS - Are the Austrian Diplomatic Efforts Genuine?
country_event = {
	id = austria.107
	title = austria.107.t
	desc = austria.107.d
	picture = GFX_report_event_vienna_opera
	
	is_triggered_only = yes
	
	option = {
		name = austria.107.a
		ai_chance = {
			base = 90
			modifier = {
				factor = 0.8
				has_opinion = {
					target = AUS
					value > 25
				}
			}
			modifier = {
				factor = 0.6
				has_opinion = {
					target = AUS
					value > 50
				}
			}
			modifier = {
				factor = 0.4
				has_opinion = {
					target = AUS
					value > 75
				}
			}
			modifier = {
				factor = 0.2
				has_opinion = {
					target = AUS
					value > 100
				}
			}
			modifier = {
				factor = 1.5
				is_historical_focus_on = yes
			}
		}
		add_opinion_modifier = { target = AUS modifier = AUS_CRIMEAN_WAR_AFTERMATH_BAD }
		reverse_add_opinion_modifier = { target = AUS modifier = AUS_CRIMEAN_WAR_AFTERMATH_BAD }
	}
	
	option = {
		name = austria.107.b
		ai_chance = {
			base = 10
			modifier = {
				factor = 1.5
				has_opinion = {
					target = AUS
					value > 25
				}
			}
			modifier = {
				factor = 3
				has_opinion = {
					target = AUS
					value > 50
				}
			}
			modifier = {
				factor = 4.5
				has_opinion = {
					target = AUS
					value > 75
				}
			}
			modifier = {
				factor = 6
				has_opinion = {
					target = AUS
					value > 100
				}
			}
		}
		hidden_effect = {
			AUS = { country_event = { days = 14 id = austria.109 } }
		}
	}
}

#ENG - Are the Austrian Diplomatic Efforts Genuine?
country_event = {
	id = austria.108
	title = austria.108.t
	desc = austria.108.d
	picture = GFX_report_event_vienna_opera
	
	is_triggered_only = yes
	
	option = {
		name = austria.108.a
		ai_chance = {
			base = 60
			modifier = {
				factor = 0.9
				has_opinion = {
					target = AUS
					value > 25
				}
			}
			modifier = {
				factor = 0.75
				has_opinion = {
					target = AUS
					value > 50
				}
			}
			modifier = {
				factor = 0.6
				has_opinion = {
					target = AUS
					value > 75
				}
			}
			modifier = {
				factor = 0.45
				has_opinion = {
					target = AUS
					value > 100
				}
			}
			modifier = {
				factor = 0.75
				is_historical_focus_on = yes
			}
		}
		remove_opinion_modifier = {
			target = AUS
			modifier = AUS_CRIMEAN_WAR_AFTERMATH_VERY_GOOD
		}
		AUS = {
			remove_opinion_modifier = {
				target = ENG
				modifier = AUS_CRIMEAN_WAR_AFTERMATH_VERY_GOOD
			}
		}
		add_opinion_modifier = { target = AUS modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD }
		reverse_add_opinion_modifier = { target = AUS modifier = AUS_CRIMEAN_WAR_AFTERMATH_GOOD }
	}
	
	option = {
		name = austria.108.b
		ai_chance = {
			base = 40
			modifier = {
				factor = 1.25
				has_opinion = {
					target = AUS
					value > 25
				}
			}
			modifier = {
				factor = 1.5
				has_opinion = {
					target = AUS
					value > 50
				}
			}
			modifier = {
				factor = 1.75
				has_opinion = {
					target = AUS
					value > 75
				}
			}
			modifier = {
				factor = 2
				has_opinion = {
					target = AUS
					value > 100
				}
			}
		}
		hidden_effect = {
			AUS = { country_event = { days = 14 id = austria.109 } }
		}
	}
}

#Diplomatic Effort Successful
country_event = {
	id = austria.109
	title = austria.109.t
	desc = austria.109.d
	picture = GFX_report_event_vienna_1
	
    fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.109.a
		ai_chance = { base = 100 }
		add_political_power = 25
	}
}

### General Diplomacy Events

#Meeting of Emperor Franz Joseph and Tsar Alexander II at Weimar - 1857.10.1
country_event = {
	id = austria.121
	title = austria.121.t
	desc = austria.121.d
	picture = GFX_report_event_franz_joseph_alexander_ii_meeting_weimar
	
	is_triggered_only = yes
	
	trigger = {
		AUS = {
			NOT = { has_completed_focus = AUS_focus_loosen_russian_ties_further }
		}
	}
	
	option = {
		name = austria.121.a
		ai_chance = { base = 100 }
		add_political_power = 10
		if = {
			limit = {
				tag = AUS
			}
			add_opinion_modifier = { target = RUS modifier = AUS_POL_ARRANGEMENTS_REL }
			reverse_add_opinion_modifier = { target = RUS modifier = AUS_POL_ARRANGEMENTS_REL }
		}
	}
}

##### ITALY EVENTS (austria.151-200) #####

### Italian Unrest Events

#HIDDEN EVENT: Trouble in Lombardy-Venetia?
country_event = {
	id = austria.151
	title = austria.151.t
	
	is_triggered_only = yes
	hidden = yes
	
	trigger = {
		has_variable = ITA_UPROAR_RISK
	}
	
	immediate = {
		set_temp_variable = {
			var = temp1
			value = 100
		}
		set_temp_variable = {
			var = temp2
			value = var:ITA_UPROAR_RISK
		}
		multiply_temp_variable = { temp2 = 100 }
		subtract_from_temp_variable = { temp1 = temp2 }
		
		random_list = {
			temp_var:temp1 = {
				activate_decision = AUS_decision_uproar_in_italy_countdown
			}
			temp_var:temp2 = {
				country_event = { id = austria.152 }
			}
		}
	}
}

#Uproar in Italy
country_event = {
	id = austria.152
	title = austria.152.t
	desc = austria.152.d
	picture = GFX_report_event_austrian_north_italy
	
	is_triggered_only = yes
	
	option = {
		name = austria.152.a
		ai_chance = { base = 100 }
		random_list = {
			50 = {
				custom_effect_tooltip = AUS_uproar_in_italy_infrastructure_effect_tt
				LVN = {
					random_owned_controlled_state = {
						limit = { 
							infrastructure > 0 
						}
						hidden_effect = {
							damage_building = {
								type = infrastructure
								damage = 0.75
							}
						}
					}
				}
			}
			25 = {
				LVN = {
					if = { 
						limit = {
							controls_state = 160
							160 = {
								any_province_building_level = {
									province = {
										id = 11584
									}
									building = naval_base
									level > 1
								}
							}
						}
						AUS = { custom_effect_tooltip = AUS_uproar_in_italy_naval_base_effect_tt }
						hidden_effect = {
							160 = {
								damage_building = {
									type = naval_base
									damage = 1
									province = 11584
								}
							}
						}
					}
					else = {
						random_owned_controlled_state = {
							limit = { 
								industrial_complex > 0 
							}
							AUS = { custom_effect_tooltip = AUS_uproar_in_italy_civilian_industry_effect_tt }
							hidden_effect = {
								damage_building = {
									type = industrial_complex
									damage = 0.5
								}
							}
						}
					}
				}
			}
			15 = {
				custom_effect_tooltip = AUS_uproar_in_italy_equipment_effect_tt
				add_manpower = -10
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = -500
					producer = AUS
				}
				add_equipment_to_stockpile = {
					type = uniform_equipment
					amount = -500
					producer = AUS
				}
				add_to_variable = { AUS_ITA_Unrest_sf = -0.02 tooltip = stability_factor_tooltip }
				LVN = {
					add_stability = -0.02
				}
			}
			10 = {
				LVN = {
					if = {
						limit = {
							controls_state = 159
						}
						159 = {
							if = {
								limit = { 
									arms_factory > 0 
								}
								AUS = { custom_effect_tooltip = AUS_uproar_in_italy_military_industry_effect_tt }
								hidden_effect = {
									damage_building = {
										type = arms_factory
										damage = 0.5
									}
								}
							}
							else_if = {
								limit = { 
									steel_mill > 0 
								}
								AUS = { custom_effect_tooltip = AUS_uproar_in_italy_military_industry_effect_tt }
								hidden_effect = {
									damage_building = {
										type = steel_mill
										damage = 0.75
									}
								}
							}
							else_if = {
								limit = { 
									machine_parts_factory > 0 
								}
								AUS = { custom_effect_tooltip = AUS_uproar_in_italy_military_industry_effect_tt }
								hidden_effect = {
									damage_building = {
										type = machine_parts_factory
										damage = 0.75
									}
								}
							}
						}
					}
					else = {
						160 = {
							if = {
								limit = { 
									dockyard > 0 
								}
								AUS = { custom_effect_tooltip = AUS_uproar_in_italy_military_industry_effect_tt }
								hidden_effect = {
									damage_building = {
										type = dockyard
										damage = 0.75
									}
								}
							}
							else_if = {
								limit = { 
									fabric_weavery > 0 
								}
								AUS = { custom_effect_tooltip = AUS_uproar_in_italy_military_industry_effect_tt }
								hidden_effect = {
									damage_building = {
										type = fabric_weavery
										damage = 1
									}
								}
							}
						}
					}
				}
			}
		}
		hidden_effect = {
			activate_decision = AUS_decision_uproar_in_italy_countdown
		}
	}
}

#The Italian Conundrum
country_event = {
	id = austria.153
	title = austria.153.t
	desc = austria.153.d
	picture = GFX_report_event_turin_city
	
    fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.153.a
		ai_chance = { base = 100 }
	}
}

#Our Subjects in Italy Demand Liberalization Promises Kept
country_event = {
	id = austria.154
	title = austria.154.t
	desc = austria.154.d
	picture = GFX_report_event_austrian_north_italy
	
	is_triggered_only = yes
	
	trigger = {
		LVN = { 
			is_puppet_of = AUS
			OR = {
				#NOT = { has_idea = human_rights }
				NOT = {	has_idea = free_press }
			}
		}
	}
	
	option = {
		name = austria.154.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				LVN = {
					OR = {
						#has_idea = human_rights
						has_idea = free_press
					}
				}
			}
			custom_effect_tooltip = AUS_unrest_in_italy_plus_one_effect_tt
			unlock_decision_tooltip = AUS_decision_make_promises_of_liberalization_in_italy
			hidden_effect = {
				add_to_variable = {
					ITA_UPROAR_RISK = 0.01
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				clr_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_remove_effect_flag
			}
		}
		else_if = {
			limit = {
				LVN = {
					AND = {
						#NOT = { has_idea = human_rights }
						NOT = { has_idea = free_press }
					}
				}
			}
			custom_effect_tooltip = AUS_unrest_in_italy_plus_two_effect_tt
			unlock_decision_tooltip = AUS_decision_make_promises_of_liberalization_in_italy
			hidden_effect = {
				add_to_variable = {
					ITA_UPROAR_RISK = 0.02
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
				clr_country_flag = AUS_decision_make_promises_of_liberalization_in_italy_remove_effect_flag
			}
		}
	}
}

##### NATIONALIST THREAT EVENTS (austria.201-300) #####

### Nationalist Agitation Events

#The Challenges of a Multinational Empire
country_event = {
	id = austria.201
	title = austria.201.t
	desc = austria.201.d
	picture = GFX_report_event_vienna_opera
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.201.a
		ai_chance = { base = 100 }
	}
}

#Aftermath of the Revolutions of 1848/49
country_event = {
	id = austria.202
	title = austria.202.t
	desc = austria.202.d
	picture = GFX_report_event_vienna_revolution
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.202.a
		ai_chance = { base = 100 }
	}
}

#The Situation in Hungary
country_event = {
	id = austria.203
	title = austria.203.t
	desc = austria.203.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.203.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_half_tt
		hidden_effect = {
			subtract_from_variable = {
				var = HUN_REVOLT_RISK
				value = 0.005
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#The Situation in Croatia
country_event = {
	id = austria.204
	title = austria.204.t
	desc = austria.204.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.204.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_half_tt
		hidden_effect = {
			subtract_from_variable = {
				var = CRO_REVOLT_RISK
				value = 0.005
			}
			clamp_variable = {
				var = CRO_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#HIDDEN EVENT: Nationalist Uproar in the Empire?
country_event = {
	id = austria.205
	title = austria.205.t
	
	is_triggered_only = yes
	hidden = yes
	
	trigger = {
		NOT = { has_country_flag = AUS_no_more_nationalist_agitation_flag }
	}
	
	immediate = {
		if = {	#Hungarian
			limit = {
				check_variable = {
					var = HUN_REVOLT_RISK
					value = 0
					compare = greater_than
				}
			}
			set_temp_variable = {
				var = temp1
				value = 100
			}
			set_temp_variable = {
				var = temp2
				value = var:HUN_REVOLT_RISK
			}
			multiply_temp_variable = { temp2 = 100 }
			subtract_from_temp_variable = { temp1 = temp2 }
			
			random_list = {
				temp_var:temp1 = {
					#
				}
				temp_var:temp2 = {
					country_event = { id = austria.206 days = 30 random_days = 21 }	#Hungarian
				}
			}
		}
		if = {	#West Slavic
			limit = {
				check_variable = {
					var = CZE_REVOLT_RISK
					value = 0
					compare = greater_than
				}
			}
			set_temp_variable = {
				var = temp3
				value = 100
			}
			set_temp_variable = {
				var = temp4
				value = var:CZE_REVOLT_RISK
			}
			multiply_temp_variable = { temp4 = 100 }
			subtract_from_temp_variable = { temp3 = temp4 }
			
			random_list = {
				temp_var:temp3 = {
					#
				}
				temp_var:temp4 = {
					country_event = { id = austria.207 days = 30 random_days = 21 }	#West Slavic
				}
			}
		}
		if = {	#South Slavic
			limit = {
				check_variable = {
					var = CRO_REVOLT_RISK
					value = 0
					compare = greater_than
				}
			}
			set_temp_variable = {
				var = temp5
				value = 100
			}
			set_temp_variable = {
				var = temp6
				value = var:CRO_REVOLT_RISK
			}
			multiply_temp_variable = { temp6 = 100 }
			subtract_from_temp_variable = { temp5 = temp6 }
			
			random_list = {
				temp_var:temp5 = {
					#
				}
				temp_var:temp6 = {
					country_event = { id = austria.208 days = 30 random_days = 21 }	#South Slavic
				}
			}
		}
		if = {	#Polish
			limit = {
				check_variable = {
					var = POL_REVOLT_RISK
					value = 0
					compare = greater_than
				}
			}
			set_temp_variable = {
				var = temp7
				value = 100
			}
			set_temp_variable = {
				var = temp8
				value = var:POL_REVOLT_RISK
			}
			multiply_temp_variable = { temp8 = 100 }
			subtract_from_temp_variable = { temp7 = temp8 }
			
			random_list = {
				temp_var:temp7 = {
					#
				}
				temp_var:temp8 = {
					country_event = { id = austria.209 days = 30 random_days = 21 }	#Polish
				}
			}
		}
		hidden_effect = {
			activate_decision = AUS_decision_nationalist_agitation_countdown
		}
	}
}

#Nationalist Uproar in Hungary
country_event = {
	id = austria.206
	title = austria.206.t
	desc = austria.206.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	is_triggered_only = yes
	
	option = {
		name = austria.206.a
		ai_chance = { base = 100 }
		random_list = {
			60 = {
				add_stability = -0.01
				custom_effect_tooltip = AUS_nationalist_uproar_mild_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							is_core_of = HUN
							NOT = { is_core_of = SER }
							NOT = { state = 70 }
							NOT = { state = 71 }
							NOT = { state = 82 }
							NOT = { state = 84 }
							NOT = { state = 967 }
							NOT = { state = 1233 }
							NOT = { has_resistance = yes }  # Add check for existing resistance
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 10
						add_resistance_target = -5
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
			30 = {
				add_stability = -0.02
				custom_effect_tooltip = AUS_nationalist_uproar_moderate_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							is_core_of = HUN
							NOT = { is_core_of = SER }
							NOT = { state = 70 }
							NOT = { state = 71 }
							NOT = { state = 82 }
							NOT = { state = 84 }
							NOT = { state = 967 }
							NOT = { state = 1233 }
							NOT = { has_resistance = yes }  # Add check for existing resistance
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 15
						add_resistance_target = -5
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
			10 = {
				add_stability = -0.03
				custom_effect_tooltip = AUS_nationalist_uproar_serious_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							is_core_of = HUN
							NOT = { is_core_of = SER }
							NOT = { state = 70 }
							NOT = { state = 71 }
							NOT = { state = 82 }
							NOT = { state = 84 }
							NOT = { state = 967 }
							NOT = { state = 1233 }
							NOT = { has_resistance = yes }  # Add check for existing resistance
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 20
						add_resistance_target = -5
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
		}
	}
}

#Nationalist Uproar in Our West Slavic Lands
country_event = {
	id = austria.207
	title = austria.207.t
	desc = austria.207.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	is_triggered_only = yes
	
	option = {
		name = austria.207.a
		ai_chance = { base = 100 }
		random_list = {
			60 = {
				add_stability = -0.01
				custom_effect_tooltip = AUS_nationalist_uproar_mild_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							is_core_of = CZE
							NOT = { state = 72 }
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 5
						add_resistance_target = -10
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
			30 = {
				add_stability = -0.02
				custom_effect_tooltip = AUS_nationalist_uproar_moderate_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							is_core_of = CZE
							NOT = { state = 72 }
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 10
						add_resistance_target = -10
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
			10 = {
				add_stability = -0.03
				custom_effect_tooltip = AUS_nationalist_uproar_serious_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							is_core_of = CZE
							NOT = { state = 72 }
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 15
						add_resistance_target = -10
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
		}
	}
}

#Nationalist Uproar in Our South Slavic Lands
country_event = {
    id = austria.208
    title = austria.208.t
    desc = austria.208.d
    picture = GFX_report_event_generic_riot_uproar_unrest
    
    is_triggered_only = yes
    
    option = {
        name = austria.208.a
        ai_chance = { base = 100 }
        random_list = {
            60 = {
                add_stability = -0.01
                custom_effect_tooltip = AUS_nationalist_uproar_mild_resistance_effect_tt
                hidden_effect = {
                    random_owned_state = {
                        limit = { 
                            is_core_of = CRO
                            NOT = { is_core_of = SER }
                            NOT = { has_resistance = yes }  # Added check
                        }
                        force_enable_resistance = AUS
                        start_resistance = AUS
                        set_resistance = 5
                        add_resistance_target = -10
                        add_compliance = 5
                        set_garrison_strength = 0.5
                    }
                }
            }
            30 = {
                add_stability = -0.02
                custom_effect_tooltip = AUS_nationalist_uproar_moderate_resistance_effect_tt
                hidden_effect = {
                    random_owned_state = {
                        limit = { 
                            is_core_of = CRO
                            NOT = { is_core_of = SER }
                            NOT = { has_resistance = yes }  # Added check
                        }
                        force_enable_resistance = AUS
                        start_resistance = AUS
                        set_resistance = 10
                        add_resistance_target = -10
                        add_compliance = 5
                        set_garrison_strength = 0.5
                    }
                }
            }
            10 = {
                add_stability = -0.03
                custom_effect_tooltip = AUS_nationalist_uproar_serious_resistance_effect_tt
                hidden_effect = {
                    random_owned_state = {
                        limit = { 
                            is_core_of = CRO
                            NOT = { is_core_of = SER }
                            NOT = { has_resistance = yes }  # Added check
                        }
                        force_enable_resistance = AUS
                        start_resistance = AUS
                        set_resistance = 15
                        add_resistance_target = -10
                        add_compliance = 5
                        set_garrison_strength = 0.5
                    }
                }
            }
        }
    }
}

#Nationalist Uproar in Our Polish Lands
country_event = {
	id = austria.209
	title = austria.209.t
	desc = austria.209.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	is_triggered_only = yes
	
	option = {
		name = austria.209.a
		ai_chance = { base = 100 }
		random_list = {
			60 = {
				add_stability = -0.01
				custom_effect_tooltip = AUS_nationalist_uproar_mild_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							OR = {
								is_core_of = GLM
								state = 72
							}
							NOT = { state = 80 }
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 5
						add_resistance_target = -10
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
			30 = {
				add_stability = -0.02
				custom_effect_tooltip = AUS_nationalist_uproar_moderate_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							OR = {
								is_core_of = GLM
								state = 72
							}
							NOT = { state = 80 }
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 10
						add_resistance_target = -10
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
			10 = {
				add_stability = -0.03
				custom_effect_tooltip = AUS_nationalist_uproar_serious_resistance_effect_tt
				hidden_effect = {
					random_owned_state = {
						limit = { 
							OR = {
								is_core_of = GLM
								state = 72
							}
							NOT = { state = 80 }
						}
						force_enable_resistance = AUS
						start_resistance = AUS
						set_resistance = 15
						add_resistance_target = -10
						add_compliance = 5
						set_garrison_strength = 0.5
					}
				}
			}
		}
	}
}

#austria.210 - placeholder for possible additions

#Continue the Language Promotion Policy?
country_event = {
	id = austria.211
	title = austria.211.t
	desc = austria.211.d
	picture = GFX_report_event_vienna_opera
	
	is_triggered_only = yes

	immediate = {
		clr_country_flag = AUS_promote_german_language_flag
	}
	
	option = {	#Yes
		name = austria.211.a
		ai_chance = { base = 100 }
		activate_decision = AUS_decision_promote_the_german_language
		custom_effect_tooltip = AUS_decision_promote_the_german_language_effect_tt
		unlock_decision_tooltip = AUS_decision_stop_promoting_the_german_language
	}
	
	option = {	#No
		name = austria.211.b
		ai_chance = { base = 100 }
	}
}

#HIDDEN EVENT: Determine Ramifications of the Language Promotion Policy
country_event = {
	id = austria.212
	title = austria.212.t
	
	is_triggered_only = yes
	hidden = yes
	
	trigger = {
		has_country_flag = AUS_promote_german_language_flag
	}
	
	immediate = {
		set_temp_variable = {
			var = temp1
			value = 100
		}
		set_temp_variable = {
			var = temp2
			value = var:HUN_REVOLT_RISK
		}
		set_temp_variable = {
			var = temp3
			value = var:CZE_REVOLT_RISK
		}
		set_temp_variable = {
			var = temp4
			value = var:CRO_REVOLT_RISK
		}
		set_temp_variable = {
			var = temp5
			value = var:POL_REVOLT_RISK
		}
		multiply_temp_variable = { temp2 = 100 }
		multiply_temp_variable = { temp3 = 100 }
		multiply_temp_variable = { temp4 = 100 }
		multiply_temp_variable = { temp5 = 100 }
				
		subtract_from_temp_variable = { temp1 = temp2 }
		subtract_from_temp_variable = { temp1 = temp3 }
		subtract_from_temp_variable = { temp1 = temp4 }
		subtract_from_temp_variable = { temp1 = temp5 }
				
		random_list = {
			20 = {				
				random_list = {
					temp_var:temp2 = {
						set_country_flag = local_backlash_hun_flag
						country_event = { id = austria.213 days = 90 random_days = 60 }	#Local Backlash in Hungary
					}
					temp_var:temp3 = {
						random_list = {
							70 = {
								set_country_flag = local_backlash_cze_flag
								country_event = { id = austria.213 days = 90 random_days = 60 }	#Local Backlash in Bohemia-Moravia
							}
							30 = {
								set_country_flag = local_backlash_slo_flag
								country_event = { id = austria.213 days = 90 random_days = 60 }	#Local Backlash in Slovakia
							}
						}
					}
					temp_var:temp4 = {
						set_country_flag = local_backlash_cro_flag
						country_event = { id = austria.213 days = 90 random_days = 60 }	#Local Backlash in Croatia
					}
					temp_var:temp5 = {
						set_country_flag = local_backlash_pol_flag
						country_event = { id = austria.213 days = 90 random_days = 60 }	#Local Backlash in Polish Lands
					}
				}
			}
			80 = {
				#
			}
		}
		random_list = {
			15 = {
				random_list = {
					temp_var:temp2 = {
						set_country_flag = local_clerics_hun_flag
						country_event = { id = austria.214 days = 90 random_days = 60 }	#Local Clerics Preach in Hungarian to Oppose our Language Promotion Policy
					}
					temp_var:temp3 = {
						random_list = {
							70 = {
								set_country_flag = local_clerics_cze_flag
								country_event = { id = austria.214 days = 90 random_days = 60 }	#Local Clerics Preach in Czech to Oppose our Language Promotion Policy
							}
							30 = {
								set_country_flag = local_clerics_slo_flag
								country_event = { id = austria.214 days = 90 random_days = 60 }	#Local Clerics Preach in Slovakian to Oppose our Language Promotion Policy
							}
						}
					}
					temp_var:temp4 = {
						set_country_flag = local_clerics_cro_flag
						country_event = { id = austria.214 days = 90 random_days = 60 }	#Local Clerics Preach in Croatian to Oppose our Language Promotion Policy
					}
					temp_var:temp5 = {
						set_country_flag = local_clerics_pol_flag
						country_event = { id = austria.214 days = 90 random_days = 60 }	#Local Clerics Preach in Polish to Oppose our Language Promotion Policy
					}
				}
			}
			85 = {
				#
			}
		}
		random_list = {
			15 = {
				random_list = {
					temp_var:temp2 = {
						set_country_flag = local_intellectual_association_hun_flag
						country_event = { id = austria.215 days = 90 random_days = 60 }	#Local Intellectuals Form Association to Promote Hungarian Language
					}
					temp_var:temp3 = {
						random_list = {
							70 = {
								set_country_flag = local_intellectual_association_cze_flag
								country_event = { id = austria.215 days = 90 random_days = 60 }	#Local Intellectuals Form Association to Promote Czech Language
							}
							30 = {
								set_country_flag = local_intellectual_association_slo_flag
								country_event = { id = austria.215 days = 90 random_days = 60 }	#Local Intellectuals Form Association to Promote Slovak Language
							}
						}
					}
					temp_var:temp4 = {
						set_country_flag = local_intellectual_association_cro_flag
						country_event = { id = austria.215 days = 90 random_days = 60 }	#Local Intellectuals Form Association to Promote Croatian Language
					}
					temp_var:temp5 = {
						set_country_flag = local_intellectual_association_pol_flag
						country_event = { id = austria.215 days = 90 random_days = 60 }	#Local Intellectuals Form Association to Promote Polish Language
					}
				}
			}
			85 = {
				#
			}
		}
		random_list = {
			5 = {
				random_list = {
					temp_var:temp2 = {
						set_country_flag = major_backlash_hun_flag
						country_event = { id = austria.216 days = 90 random_days = 60 }	#Major Backlash in Hungary
					}
					temp_var:temp3 = {
						random_list = {
							70 = {
								set_country_flag = major_backlash_cze_flag
								country_event = { id = austria.216 days = 90 random_days = 60 }	#Major Backlash in Bohemia-Moravia
							}
							30 = {
								set_country_flag = major_backlash_slo_flag
								country_event = { id = austria.216 days = 90 random_days = 60 }	#Major Backlash in Slovakia
							}
						}
					}
					temp_var:temp4 = {
						set_country_flag = major_backlash_cro_flag
						country_event = { id = austria.216 days = 90 random_days = 60 }	#Major Backlash in Croatia
					}
					temp_var:temp5 = {
						set_country_flag = major_backlash_pol_flag
						country_event = { id = austria.216 days = 90 random_days = 60 }	#Major Backlash in Poland
					}
				}
			}
			95 = {
				#
			}
		}
		random_list = {
			15 = {
				random_list = {
					temp_var:temp2 = {
						set_country_flag = promising_signs_hun_flag
						country_event = { id = austria.217 days = 90 random_days = 60 }	#Promising Signs of Acculturation Hungary
					}
					temp_var:temp3 = {
						random_list = {
							70 = {
								set_country_flag = promising_signs_cze_flag
								country_event = { id = austria.217 days = 90 random_days = 60 }	#Promising Signs of Acculturation Bohemia
							}
							30 = {
								set_country_flag = promising_signs_slo_flag
								country_event = { id = austria.217 days = 90 random_days = 60 }	#Promising Signs of Acculturation Slovakia
							}
						}
					}
					temp_var:temp4 = {
						set_country_flag = promising_signs_cro_flag
						country_event = { id = austria.217 days = 90 random_days = 60 }	#Promising Signs of Acculturation Croatia
					}
					temp_var:temp5 = {
						set_country_flag = promising_signs_pol_flag
						country_event = { id = austria.217 days = 90 random_days = 60 }	#Promising Signs of Acculturation Poland
					}
				}
			}
			85 = {
				#
			}
		}
	}
}

#Local Backlash Against Language Promotion Policy
country_event = {
	id = austria.213
	title = {
		trigger = { has_country_flag = local_backlash_hun_flag }
		text = austria.213.t_hungarian
	}
	title = {
		trigger = { has_country_flag = local_backlash_cze_flag }
		text = austria.213.t_czech
	}
	title = {
		trigger = { has_country_flag = local_backlash_slo_flag }
		text = austria.213.t_slovak
	}
	title = {
		trigger = { has_country_flag = local_backlash_cro_flag }
		text = austria.213.t_croatian
	}
	title = {
		trigger = { has_country_flag = local_backlash_pol_flag }
		text = austria.213.t_polish
	}
	desc = {
		trigger = { has_country_flag = local_backlash_hun_flag }
		text = austria.213.d_hungarian
	}
	desc = {
		trigger = { has_country_flag = local_backlash_cze_flag }
		text = austria.213.d_czech
	}
	desc = {
		trigger = { has_country_flag = local_backlash_slo_flag }
		text = austria.213.d_slovak
	}
	desc = {
		trigger = { has_country_flag = local_backlash_cro_flag }
		text = austria.213.d_croatian
	}
	desc = {
		trigger = { has_country_flag = local_backlash_pol_flag }
		text = austria.213.d_polish
	}
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	is_triggered_only = yes
	
	trigger = {
		has_decision = AUS_decision_promote_the_german_language
	}
	
	option = {
		name = austria.213.a
		ai_chance = { base = 100 }
		add_stability = -0.005
		add_political_power = -5
		if = {
			limit = {
				has_country_flag = local_backlash_hun_flag
			}
			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
				}
				clr_country_flag = local_backlash_hun_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = local_backlash_cze_flag
			}
			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
				}
				clr_country_flag = local_backlash_cze_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = local_backlash_cro_flag
			}
			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
				}
				clr_country_flag = local_backlash_cro_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = local_backlash_pol_flag
			}
			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
				}
				clr_country_flag = local_backlash_pol_flag
			}
		}
	}
}

#Local Clerics Preach in Native Language to Oppose our Language Promotion Policy
country_event = {
	id = austria.214
	title = {
		trigger = { has_country_flag = local_clerics_hun_flag }
		text = austria.214.t_hungarian
	}
	title = {
		trigger = { has_country_flag = local_clerics_cze_flag }
		text = austria.214.t_czech
	}
	title = {
		trigger = { has_country_flag = local_clerics_slo_flag }
		text = austria.214.t_slovak
	}
	title = {
		trigger = { has_country_flag = local_clerics_cro_flag }
		text = austria.214.t_croatian
	}
	title = {
		trigger = { has_country_flag = local_clerics_pol_flag }
		text = austria.214.t_polish
	}
	desc = {
		trigger = { has_country_flag = local_clerics_hun_flag }
		text = austria.214.d_hungarian
	}
	desc = {
		trigger = { has_country_flag = local_clerics_cze_flag }
		text = austria.214.d_czech
	}
	desc = {
		trigger = { has_country_flag = local_clerics_slo_flag }
		text = austria.214.d_slovak
	}
	desc = {
		trigger = { has_country_flag = local_clerics_cro_flag }
		text = austria.214.d_croatian
	}
	desc = {
		trigger = { has_country_flag = local_clerics_pol_flag }
		text = austria.214.d_polish
	}
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	is_triggered_only = yes
	
	trigger = {
		has_decision = AUS_decision_promote_the_german_language
	}
	
	option = {
		name = austria.214.a
		ai_chance = { base = 100 }
		add_stability = -0.01
		add_political_power = -10
		if = {
			limit = {
				has_country_flag = local_clerics_hun_flag
			}
			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
				}
				clr_country_flag = local_clerics_hun_flag
			}
		}
		else_if = {
			limit = {
				OR = {
					has_country_flag = local_clerics_cze_flag
					has_country_flag = local_clerics_slo_flag
				}					
			}
			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
				}
				clr_country_flag = local_clerics_cze_flag
				clr_country_flag = local_clerics_slo_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = local_clerics_cro_flag
			}
			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
				}
				clr_country_flag = local_clerics_cro_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = local_clerics_pol_flag
			}
			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
				}
				clr_country_flag = local_clerics_pol_flag
			}
		}
	}
}

#Local Intellectuals Form Association to Promote Their Language
country_event = {
	id = austria.215
	title = {
		trigger = { has_country_flag = local_intellectual_association_hun_flag }
		text = austria.215.t_hungarian
	}
	title = {
		trigger = { has_country_flag = local_intellectual_association_cze_flag }
		text = austria.215.t_czech
	}
	title = {
		trigger = { has_country_flag = local_intellectual_association_slo_flag }
		text = austria.215.t_slovak
	}
	title = {
		trigger = { has_country_flag = local_intellectual_association_cro_flag }
		text = austria.215.t_croatian
	}
	title = {
		trigger = { has_country_flag = local_intellectual_association_pol_flag }
		text = austria.215.t_polish
	}
	desc = {
		trigger = { has_country_flag = local_intellectual_association_hun_flag }
		text = austria.215.d_hungarian
	}
	desc = {
		trigger = { has_country_flag = local_intellectual_association_cze_flag }
		text = austria.215.d_czech
	}
	desc = {
		trigger = { has_country_flag = local_intellectual_association_slo_flag }
		text = austria.215.d_slovak
	}
	desc = {
		trigger = { has_country_flag = local_intellectual_association_cro_flag }
		text = austria.215.d_croatian
	}
	desc = {
		trigger = { has_country_flag = local_intellectual_association_pol_flag }
		text = austria.215.d_polish
	}
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	is_triggered_only = yes
	
	trigger = {
		has_decision = AUS_decision_promote_the_german_language
	}
	
	option = {
		name = austria.215.a
		ai_chance = { base = 100 }
		add_stability = -0.02
		add_political_power = -20
		if = {
			limit = {
				has_country_flag = local_intellectual_association_hun_flag
			}
			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 = local_intellectual_association_hun_flag
			}
		}
		else_if = {
			limit = {
				OR = {
					has_country_flag = local_intellectual_association_cze_flag
					has_country_flag = local_intellectual_association_slo_flag
				}					
			}
			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
				}
				clr_country_flag = local_intellectual_association_cze_flag
				clr_country_flag = local_intellectual_association_slo_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = local_intellectual_association_cro_flag
			}
			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 = local_intellectual_association_cro_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = local_intellectual_association_pol_flag
			}
			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
				}
				clr_country_flag = local_intellectual_association_pol_flag
			}
		}
	}
}

#Major Backlash Against Our Language Promotion Policy
country_event = {
	id = austria.216
	title = {
		trigger = { has_country_flag = major_backlash_hun_flag }
		text = austria.216.t_hungarian
	}
	title = {
		trigger = { has_country_flag = major_backlash_cze_flag }
		text = austria.216.t_czech
	}
	title = {
		trigger = { has_country_flag = major_backlash_slo_flag }
		text = austria.216.t_slovak
	}
	title = {
		trigger = { has_country_flag = major_backlash_cro_flag }
		text = austria.216.t_croatian
	}
	title = {
		trigger = { has_country_flag = major_backlash_pol_flag }
		text = austria.216.t_polish
	}
	desc = {
		trigger = { has_country_flag = major_backlash_hun_flag }
		text = austria.216.d_hungarian
	}
	desc = {
		trigger = { has_country_flag = major_backlash_cze_flag }
		text = austria.216.d_czech
	}
	desc = {
		trigger = { has_country_flag = major_backlash_slo_flag }
		text = austria.216.d_slovak
	}
	desc = {
		trigger = { has_country_flag = major_backlash_cro_flag }
		text = austria.216.d_croatian
	}
	desc = {
		trigger = { has_country_flag = major_backlash_pol_flag }
		text = austria.216.d_polish
	}
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	is_triggered_only = yes
	
	trigger = {
		has_decision = AUS_decision_promote_the_german_language
	}
	
	option = {
		name = austria.216.a
		ai_chance = { base = 100 }
		add_stability = -0.03
		add_political_power = -30
		if = {
			limit = {
				has_country_flag = major_backlash_hun_flag
			}
			custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_four_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.04
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
				clr_country_flag = major_backlash_hun_flag
			}
		}
		else_if = {
			limit = {
				OR = {
					has_country_flag = major_backlash_cze_flag
					has_country_flag = major_backlash_slo_flag
				}					
			}
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_four_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.04
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
				clr_country_flag = major_backlash_cze_flag
				clr_country_flag = major_backlash_slo_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = major_backlash_cro_flag
			}
			custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_four_tt
			hidden_effect = {
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.04
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
				clr_country_flag = major_backlash_cro_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = major_backlash_pol_flag
			}
			custom_effect_tooltip = AUS_increase_polish_nationalism_by_four_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.04
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
				clr_country_flag = major_backlash_pol_flag
			}
		}
	}
}

#Promising Signs of Acculturation
country_event = {
	id = austria.217
	title = {
		trigger = { has_country_flag = promising_signs_hun_flag }
		text = austria.217.t_hungarian
	}
	title = {
		trigger = { has_country_flag = promising_signs_cze_flag }
		text = austria.217.t_czech
	}
	title = {
		trigger = { has_country_flag = promising_signs_slo_flag }
		text = austria.217.t_slovak
	}
	title = {
		trigger = { has_country_flag = promising_signs_cro_flag }
		text = austria.217.t_croatian
	}
	title = {
		trigger = { has_country_flag = promising_signs_pol_flag }
		text = austria.217.t_polish
	}
	desc = {
		trigger = { has_country_flag = promising_signs_hun_flag }
		text = austria.217.d_hungarian
	}
	desc = {
		trigger = { has_country_flag = promising_signs_cze_flag }
		text = austria.217.d_czech
	}
	desc = {
		trigger = { has_country_flag = promising_signs_slo_flag }
		text = austria.217.d_slovak
	}
	desc = {
		trigger = { has_country_flag = promising_signs_cro_flag }
		text = austria.217.d_croatian
	}
	desc = {
		trigger = { has_country_flag = promising_signs_pol_flag }
		text = austria.217.d_polish
	}
	picture = GFX_report_event_habsburg_family
	
	is_triggered_only = yes
	
	trigger = {
		has_decision = AUS_decision_promote_the_german_language
	}
	
	option = {
		name = austria.217.a
		ai_chance = { base = 100 }
		add_stability = 0.02
		add_political_power = 20
		if = {
			limit = {
				has_country_flag = promising_signs_hun_flag
			}
			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
				}
				clr_country_flag = promising_signs_hun_flag
			}
		}
		else_if = {
			limit = {
				OR = {
					has_country_flag = promising_signs_cze_flag
					has_country_flag = promising_signs_slo_flag
				}					
			}
			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
				}
				clr_country_flag = promising_signs_cze_flag
				clr_country_flag = promising_signs_slo_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = promising_signs_cro_flag
			}
			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
				}
				clr_country_flag = promising_signs_cro_flag
			}
		}
		else_if = {
			limit = {
				has_country_flag = promising_signs_pol_flag
			}
			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
				}
				clr_country_flag = promising_signs_pol_flag
			}
		}
	}
}

### Reactions to wars and other developments (obsolete?)

#Bohemians Protests Stopped
country_event = {
	id = austria.251
	title = austria.251.t
	desc = austria.251.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.251.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_half_tt
		hidden_effect = {
			add_to_variable = {
				var = CZE_REVOLT_RISK
				value = 0.005
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Hungarian Liberals Angered
country_event = {
	id = austria.252
	title = austria.252.t
	desc = austria.252.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.252.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_half_tt
		hidden_effect = {
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.005
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

##### DOMESTIC POLITICS EVENTS (austria.301-400) #####

### Domestic Policy Events

#The Laxenburg Manifesto
country_event = {
	id = austria.301
	title = austria.301.t
	desc = austria.301.d
	picture = GFX_report_event_laxenburg
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.301.a
		ai_chance = { base = 100 }
		complete_national_focus = AUS_focus_disaster_in_italy
		activate_mission_tooltip = AUS_mission_the_empire_in_peril
		add_war_support = -0.4
		set_temp_variable = { eoanb_prestige_change = -25 }
		eoanb_change_prestige_score = yes
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_ten_tt
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_five_tt
		custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_five_tt
		custom_effect_tooltip = AUS_increase_polish_nationalism_by_three_tt
		hidden_effect = {
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.1
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			add_to_variable = {
				var = CZE_REVOLT_RISK
				value = 0.05
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
			add_to_variable = {
				var = CRO_REVOLT_RISK
				value = 0.05
			}
			clamp_variable = {
				var = CRO_REVOLT_RISK
				min = 0
				max = 1
			}
			add_to_variable = {
				var = POL_REVOLT_RISK
				value = 0.03
			}
			clamp_variable = {
				var = POL_REVOLT_RISK
				min = 0
				max = 1
			}
			activate_mission = AUS_mission_the_empire_in_peril
		}
	}
}

#The Fall of Alexander von Bach
country_event = {
	id = austria.302
	title = austria.302.t
	desc = austria.302.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			set_party_name = {
				ideology = autocracy
				name = AUS_autocracy_party_1
			}
			set_country_flag = AUS_new_prime_minister_flag
		}
	}
	
	option = { #Appoint von Rechberg - Moderate Reform
		name = austria.302.a
		ai_chance = {
			base = 100
			modifier = {
				add = -25
				is_historical_focus_on = no
			}
		}
		custom_effect_tooltip = AUS_appoint_rechberg_effect_tt
		add_political_power = 25
		add_popularity = { ideology = centrism popularity = 0.03 }
		remove_ideas = AUS_idea_klerikalabsolutist
		AUS_bernhard_von_rechberg = {
			add_country_leader_role = {
				promote_leader = yes
				country_leader = {
					desc = "POLITICS_BERNHARD_VON_RECHBERG_DESC"
					ideology = absolutism
					expire = "1899.2.26"
				}
			}
		}
		retire_character = AUS_alexander_von_bach
		custom_effect_tooltip = historical_option
		hidden_effect = {
			compute_national_vote = yes
		}
	}
	
	option = { #Appoint Gołuchowski - Appease the Nationalities
		name = austria.302.b
		ai_chance = {
			base = 0
			modifier = {
				add = 25
				is_historical_focus_on = no
			}
		}
		custom_effect_tooltip = AUS_appoint_goluchowski_effect_tt
		add_stability = 0.01
		add_popularity = { ideology = centrism popularity = 0.03 }
		remove_ideas = AUS_idea_klerikalabsolutist
		AUS_agenor_goluchowski = {
			add_country_leader_role = {
				promote_leader = yes
				country_leader = {
					desc = "POLITICS_AGENOR_GOLUCHOWSKI_DESC"
					ideology = constit_monarch
					expire = "1875.8.3"
				}
			}
			remove_advisor_role = {
				slot = political_advisor
			}
		}
		retire_character = AUS_alexander_von_bach
		custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_one_tt
		custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_one_tt
		custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_one_tt
		custom_effect_tooltip = AUS_decrease_polish_nationalism_by_three_tt
		custom_effect_tooltip = unfinished_content_tt
		hidden_effect = {
			subtract_from_variable = {
				var = HUN_REVOLT_RISK
				value = 0.01
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			subtract_from_variable = {
				var = CZE_REVOLT_RISK
				value = 0.01
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
			subtract_from_variable = {
				var = CRO_REVOLT_RISK
				value = 0.01
			}
			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
			}
			compute_national_vote = yes
		}
	}
}

#The Reichsrat Gathers in Vienna
country_event = {
	id = austria.303
	title = austria.303.t
	desc = austria.303.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.303.a
		ai_chance = { base = 100 }
		add_stability = 0.01
		hidden_effect = {
			set_country_flag = AUS_reichsrat_has_gathered_flag
		}
	}
}

#The State Debt Commission Commences its Operations
country_event = {
	id = austria.304
	title = austria.304.t
	desc = austria.304.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.304.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_state_debt_commission_effect_tt
		hidden_effect = {
			country_event = { id = austria.305 days = 60 }
			set_country_flag = AUS_state_debt_commission_created_flag
		}
	}
}

#The State Debt Commission Reports on the Debt Situation
country_event = {
	id = austria.305
	title = austria.305.t
	desc = {
		trigger = {
        	set_temp_variable = { loan_size_to_check = 25 }
        	has_less_than_specific_loan_size = yes
    	}
		text = austria.305.d_reasonable_debt
	}
	desc = {
		trigger = {
        	AND = {
            	set_temp_variable = { loan_size_to_check = 30 }
            	has_less_than_specific_loan_size = yes
            	set_temp_variable = { loan_size_to_check = 25 }
            	has_less_than_specific_loan_size = no
        	}
    	}

		text = austria.305.d_significant_debt
	}
	desc = {
		trigger = {
        	set_temp_variable = { loan_size_to_check = 30 }
        	has_less_than_specific_loan_size = no
    	}

		text = austria.305.d_insurmountable_debt
	}
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		set_temp_variable = { loan_size_to_check = 0 }
		has_less_than_specific_loan_size = no
	}
	
	option = {
		name = austria.305.a
		ai_chance = { base = 100 }
		trigger = {
        	set_temp_variable = { loan_size_to_check = 25 }
        	has_less_than_specific_loan_size = yes
    	}
		add_political_power = -25
		add_stability = -0.01
	}
	
	option = {
		name = austria.305.b
		ai_chance = { base = 100 }
		trigger = {
        	AND = {
            	set_temp_variable = { loan_size_to_check = 30 }
            	has_less_than_specific_loan_size = yes
            	set_temp_variable = { loan_size_to_check = 25 }
            	has_less_than_specific_loan_size = no
        	}
    	}

		add_political_power = -50
		add_stability = -0.02
	}
	
	option = {
		name = austria.305.c
		ai_chance = { base = 100 }
		trigger = {
        	set_temp_variable = { loan_size_to_check = 30 }
        	has_less_than_specific_loan_size = no
    	}

		add_political_power = -75
		add_stability = -0.03
	}
}

#Draft for a Constitutional Diploma Ready
country_event = {
	id = austria.306
	title = austria.306.t
	desc = austria.306.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.306.a
		ai_chance = { base = 100 }
		add_political_power = 25
		unlock_decision_tooltip = AUS_decision_enact_the_constitutional_diploma
		hidden_effect = {
			set_country_flag = AUS_draft_constitutional_diploma_ready_flag
		}
	}
}

#Constitutional Diploma Enacted
country_event = {
	id = austria.307
	title = austria.307.t
	desc = austria.307.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			news_event = { id = news.37 days = 5 }
			country_event = { id = austria.308 days = 15 }
		}
	}
	
	option = {
		name = austria.307.a
		ai_chance = { base = 100 }
		trigger = {
			has_country_leader = {
				character = AUS_bernhard_von_rechberg
				ruling_only = yes
			}
		}
		add_ideas = AUS_idea_constitutional_diploma_1
		add_political_power = 25
		add_stability = 0.02
		#if = {
		#	limit = {
		#		has_idea = absolute_monarchy
		#	}
		#	swap_ideas = {
		#		remove_idea = absolute_monarchy
		#		add_idea = constitutional_monarchy
		#	}
		#}
		#if = {
		#	limit = {
		#		has_idea = no_constitution
		#	}
		#	swap_ideas = {
		#		remove_idea = no_constitution
		#		add_idea = human_rights
		#	}
		#}
		if = {
			limit = {
				has_idea = no_elections
			}
			swap_ideas = {
				remove_idea = no_elections
				add_idea = limited_elections
			}
		}
		#if = {
		#	limit = {
		#		has_idea = federal_control
		#	}
		#	swap_ideas = {
		#		remove_idea = federal_control
		#		add_idea = federalist
		#	}
		#}
		hidden_effect = {
			set_country_flag = AUS_constitutional_diploma_enacted_flag
		}
	}
	
	option = { #Needs to be adjusted later
		name = austria.307.b
		ai_chance = { base = 100 }
		trigger = {
			has_country_leader = {
				character = AUS_agenor_goluchowski
				ruling_only = yes
			}
		}
		custom_effect_tooltip = unfinished_content_tt
		add_ideas = AUS_idea_constitutional_diploma_1
		add_political_power = 25
		add_stability = 0.02
		#if = {
		#	limit = {
		#		has_idea = absolute_monarchy
		#	}
		#	swap_ideas = {
		#		remove_idea = absolute_monarchy
		#		add_idea = constitutional_monarchy
		#	}
		#}
		#if = {
		#	limit = {
		##		has_idea = no_constitution
		#	}
		#	swap_ideas = {
		#		remove_idea = no_constitution
		#		add_idea = human_rights
		#	}
		#}
		if = {
			limit = {
				has_idea = no_elections
			}
			swap_ideas = {
				remove_idea = no_elections
				add_idea = limited_elections
			}
		}
		#if = {
		#	limit = {
		#		has_idea = federal_control
		#	}
		#	swap_ideas = {
		#		remove_idea = federal_control
		#		add_idea = federalist
		#	}
		#}
		hidden_effect = {
			set_country_flag = AUS_constitutional_diploma_enacted_flag
		}
	}
}

#Resistance Against Constitutional Diploma in Hungary
country_event = {
	id = austria.308
	title = austria.308.t
	desc = austria.308.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.308.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
		add_popularity = { ideology = centrism popularity = 0.02 }
		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
			}
			country_event = { id = austria.309 days = 21 }
			compute_national_vote = yes
		}
	}
}

#Massive Resistance Against Constitutional Diploma in Hungary
country_event = {
	id = austria.309
	title = austria.309.t
	desc = austria.309.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {	#Perhaps it's time for a change?
		name = austria.309.a
		ai_chance = { base = 100 }
		add_ideas = AUS_idea_hungarian_tax_refusal_1
		add_political_power = -25
		add_stability = -0.025
		add_popularity = { ideology = centrism popularity = 0.05 }
		custom_effect_tooltip = AUS_discard_the_constitutional_diploma_effect_tt
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_three_tt
		custom_effect_tooltip = historical_option
		hidden_effect = {
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.03
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			country_event = { id = austria.310 days = 7 }
			set_country_flag = AUS_discard_the_constitutional_diploma_flag
			mark_focus_tree_layout_dirty = yes
			compute_national_vote = yes
		}
	}
	
	option = {	#Keep the diploma in place!
		name = austria.309.b
		ai_chance = { base = 0 }
		add_ideas = AUS_idea_hungarian_tax_refusal_1
		add_political_power = -50
		add_stability = -0.05
		add_popularity = { ideology = centrism popularity = 0.05 }
		custom_effect_tooltip = AUS_keep_the_constitutional_diploma_effect_tt
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_five_tt
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_two_tt
		custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_two_tt
		custom_effect_tooltip = AUS_increase_polish_nationalism_by_one_tt
		custom_effect_tooltip = unfinished_content_tt
		hidden_effect = {
			country_event = { id = austria.311 days = 7 }
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.05
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			add_to_variable = {
				var = CZE_REVOLT_RISK
				value = 0.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.01
			}
			clamp_variable = {
				var = POL_REVOLT_RISK
				min = 0
				max = 1
			}
			set_country_flag = AUS_keep_the_constitutional_diploma_flag
			mark_focus_tree_layout_dirty = yes
			compute_national_vote = yes
		}
	}
}

#Liberals Protest Composition of the Reichsrat
country_event = {
	id = austria.310
	title = austria.310.t
	desc = austria.310.d
	picture = GFX_report_event_vienna_1
    
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.310.a
		ai_chance = { base = 100 }
		add_political_power = -20
		add_stability = -0.01
		add_popularity = { ideology = centrism popularity = 0.02 }
	}
}

#Austrian Liberals Protest
country_event = {
	id = austria.311
	title = austria.311.t
	desc = austria.311.d
	picture = GFX_report_event_generic_riot_uproar_unrest
    
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {	#Arrest them all!
		name = austria.311.a
		ai_chance = { base = 100 }
		add_political_power = -50
		add_stability = -0.01
		add_popularity = { ideology = centrism popularity = 0.02 }
	}
	
	option = {	#Leave them be.
		name = austria.311.b
		ai_chance = { base = 0 }
		add_political_power = -25
		add_stability = -0.02
		add_popularity = { ideology = centrism popularity = 0.05 }
	}
}

#Constitution Revision Announcement Calms the Public
country_event = {
	id = austria.312
	title = austria.312.t
	desc = austria.312.d
	picture = GFX_report_event_laxenburg
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.312.a
		ai_chance = { base = 100 }
		add_stability = 0.01
		hidden_effect = {
			swap_ideas = {
				remove_idea = AUS_idea_constitutional_diploma_1
				add_idea = AUS_idea_constitutional_diploma_2
			}
		}
	}
}

#The Imperial Constitution of 1861
country_event = {
	id = austria.313
	title = austria.313.t
	desc = austria.313.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.313.a
		ai_chance = { base = 100 }
		add_stability = 0.03
		swap_ideas = {
			remove_idea = AUS_idea_constitutional_diploma_2
			add_idea = AUS_idea_imperial_constitution_of_1861
		}
		#if = {
		#	limit = {
		#		has_idea = absolute_monarchy
		#	}
		#	swap_ideas = {
		#		remove_idea = absolute_monarchy
		#		add_idea = constitutional_monarchy
		#	}
		#}
		#if = {
		#	limit = {
		#		has_idea = no_constitution
		#	}
		#	swap_ideas = {
		#		remove_idea = no_constitution
		#		add_idea = human_rights
		#	}
		#}
		if = {
			limit = {
				has_idea = no_elections
			}
			swap_ideas = {
				remove_idea = no_elections
				add_idea = limited_elections
			}
		}
		#if = {
		#	limit = {
		#		has_idea = federalist
		#	}
		#	swap_ideas = {
		#		remove_idea = federalist
		#		add_idea = states_restricted
		#	}
		#}
		#if = {
		#	limit = {
		#		has_idea = federal_control
		#	}
		#	swap_ideas = {
		#		remove_idea = federal_control
		#		add_idea = states_restricted
		#	}
		#}
	}
}

#Landtag Elections Approaching
country_event = {
	id = austria.314
	title = austria.314.t
	desc = austria.314.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.314.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_landtag_elections_approaching_effect_tt
		hidden_effect = {
			country_event = { id = austria.315 days = 14 }
		}
	}
}

#Landtag Elections of 1861
country_event = {
	id = austria.315
	title = austria.315.t
	desc = austria.315.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.315.a
		ai_chance = { base = 100 }
		add_political_power = 25
		add_stability = 0.01
		if = {
			limit = {
				centrism > 0.44
			}
			add_popularity = { ideology = centrism popularity = 0.02 }
		}
		else_if = {
			limit = {
				centrism < 0.45
				centrism > 0.34
			}
			add_popularity = { ideology = centrism popularity = 0.04 }
		}
		else_if = {
			limit = {
				centrism < 0.35
				centrism > 0.24
			}
			add_popularity = { ideology = centrism popularity = 0.06 }
		}
		else = {
			add_popularity = { ideology = centrism popularity = 0.08 }
		}
		hidden_effect = {
			country_event = { id = austria.316 days = 7 random_days = 10 }
			country_event = { id = austria.317 days = 7 random_days = 10 }
			country_event = { id = austria.318 days = 7 random_days = 10 }
			country_event = { id = austria.319 days = 7 random_days = 10 }
			country_event = { id = austria.320 days = 7 random_days = 10 }
			country_event = { id = austria.321 days = 7 random_days = 10 }
			country_event = { id = austria.322 days = 7 random_days = 10 }
			country_event = { id = austria.323 days = 30 }
			compute_national_vote = yes
		}
	}
}

#Hungarian Landtag Refuses to Dispatch Delegates and Supports Tax Refusal
country_event = {
	id = austria.316
	title = austria.316.t
	desc = austria.316.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		OR = {
			owns_state = 43
			owns_state = 154
			owns_state = 155
		}
	}
	
	option = {
		name = austria.316.a
		ai_chance = { base = 100 }
		add_political_power = -20
		add_stability = -0.03
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_three_tt
		unlock_decision_tooltip = AUS_decision_dissolve_the_hungarian_landtag
		hidden_effect = {
			set_country_flag = AUS_hungarian_resistance_flag
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.03
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			country_event = { id = austria.326 days = 14 random_days = 7 }

			set_temp_variable = { mne_decision_token = token:AUS_decision_dissolve_the_hungarian_landtag } 
			set_temp_variable = { mne_decision_lp_cost = 50 } 
			set_temp_variable = { mne_decision_category = 10 }
			set_temp_variable = { mne_decision_icon = 7 } 
			AUS_multinational_empire_propose_decision = yes
		}
	}
}

#Croatian Landtag Refuses to Dispatch Delegates
country_event = {
	id = austria.317
	title = austria.317.t
	desc = austria.317.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		OR = {
			owns_state = 109
			owns_state = 1011
			owns_state = 1320
		}
	}
	
	option = {
		name = austria.317.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.02
		custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_two_tt
		unlock_decision_tooltip = AUS_decision_adjourn_the_croatian_landtag
		hidden_effect = {
			set_country_flag = AUS_croatian_disobedience_flag
			add_to_variable = {
				var = CRO_REVOLT_RISK 
				value = 0.02
			}
			clamp_variable = {
				var = CRO_REVOLT_RISK
				min = 0
				max = 1
			}

			set_temp_variable = { mne_decision_token = token:AUS_decision_adjourn_the_croatian_landtag } 
			set_temp_variable = { mne_decision_lp_cost = 10 } 
			set_temp_variable = { mne_decision_category = 4 }
			set_temp_variable = { mne_decision_icon = 26 } 
			AUS_multinational_empire_propose_decision = yes
		}
	}
}

#Bohemian Landtag Delegates Protests Against Dispatch
country_event = {
	id = austria.318
	title = austria.318.t
	desc = austria.318.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		owns_state = 9
	}
	
	option = {
		name = austria.318.a
		ai_chance = { base = 100 }
		add_stability = -0.005
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_one_tt
		hidden_effect = {
			set_country_flag = AUS_bohemian_protest_flag
			add_to_variable = {
				var = CZE_REVOLT_RISK 
				value = 0.01
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Galician Landtag Dispatches Delegates with Reservations
country_event = {
	id = austria.319
	title = austria.319.t
	desc = austria.319.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		OR = {
			owns_state = 88
			owns_state = 89
			owns_state = 91
			owns_state = 1321
		}
	}
	
	option = {
		name = austria.319.a
		ai_chance = { base = 100 }
		add_stability = -0.005
		custom_effect_tooltip = AUS_increase_polish_nationalism_by_one_tt
		hidden_effect = {
			set_country_flag = AUS_galician_protest_flag
			add_to_variable = {
				var = POL_REVOLT_RISK 
				value = 0.01
			}
			clamp_variable = {
				var = POL_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Transylvanian Landtag Refuses to Dispatch Delegates
country_event = {
	id = austria.320
	title = austria.320.t
	desc = austria.320.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		OR = {
			owns_state = 76
			owns_state = 84
		}
	}
	
	option = {
		name = austria.320.a
		ai_chance = { base = 100 }
		add_stability = -0.005
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_half_tt
		hidden_effect = {
			set_country_flag = AUS_transylvanian_protest_flag
			add_to_variable = {
				var = HUN_REVOLT_RISK 
				value = 0.005
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Istrian Landtag Refuses to Dispatch Delegates
country_event = {
	id = austria.321
	title = austria.321.t
	desc = austria.321.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		owns_state = 736
	}
	
	option = {
		name = austria.321.a
		ai_chance = { base = 100 }
		add_stability = -0.005
		custom_effect_tooltip = AUS_unrest_in_italy_plus_one_effect_tt
		hidden_effect = {
			set_country_flag = AUS_istrian_protest_flag
			add_to_variable = {
				var = ITA_UPROAR_RISK 
				value = 0.01
			}
			clamp_variable = {
				var = ITA_UPROAR_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Protest from Parts of the South Tyrolean Delegates
country_event = {
	id = austria.322
	title = austria.322.t
	desc = austria.322.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		owns_state = 1234
	}
	
	option = {
		name = austria.322.a
		ai_chance = { base = 100 }
		add_stability = -0.005
		custom_effect_tooltip = AUS_unrest_in_italy_plus_one_effect_tt
		hidden_effect = {
			set_country_flag = AUS_south_tyrolean_protest_flag
			add_to_variable = {
				var = ITA_UPROAR_RISK 
				value = 0.01
			}
			clamp_variable = {
				var = ITA_UPROAR_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Landtag Delegates Dispatched to Vienna
country_event = {
	id = austria.323
	title = austria.323.t
	desc = austria.323.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.323.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_landtag_delegates_dispatched_effect_tt
		hidden_effect = {
			set_country_flag = AUS_landtag_delegates_dispatched_flag
		}
	}
}

#Emperor Franz Joseph I Inaugurates the Reichsrat
country_event = {
	id = austria.324
	title = austria.324.t
	desc = austria.324.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.324.a
		ai_chance = { base = 100 }
		add_political_power = 25
		activate_mission_tooltip = AUS_mission_enforce_constitutionality_across_the_empire
		custom_effect_tooltip = AUS_reichsrat_inauguration_effect_tt
		hidden_effect = {
			set_country_flag = AUS_the_elected_reichsrat_has_gathered_flag
			activate_mission = AUS_mission_enforce_constitutionality_across_the_empire
			country_event = { id = austria.325 days = 10 }
		}
	}
}

#Both Chambers Vote on the Constitution
country_event = {
	id = austria.325
	title = austria.325.t
	desc = austria.325.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {	#Success - Make failure option later?
		name = austria.325.a
		ai_chance = { base = 100 }
		increase_ps_by_one = yes
		add_political_power = 100
		add_stability = 0.05
		hidden_effect = {
			set_country_flag = AUS_delegates_agree_to_constitution_flag
		}
	}
}

#Hungarian Landtag Sends Address of Protest to the Emperor
country_event = {
	id = austria.326
	title = austria.326.t
	desc = austria.326.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.326.a
		ai_chance = { base = 100 }
		add_stability = -0.01
	}
}

#Laws to Protect Personal Liberty and Property Passed
country_event = {
	id = austria.327
	title = austria.327.t
	desc = austria.327.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.327.a
		ai_chance = { base = 100 }
		add_political_power = 25
		add_stability = 0.02
		#if = {
		#	limit = {
		#		has_idea = human_rights
		#	}
		#	swap_ideas = {
		#		remove_idea = human_rights
		#		add_idea = constitution_adopted
		#	}
		#}
		#else_if = {
		#	limit = {
		#		has_idea = no_constitution
		#	}
		#	swap_ideas = {
		#		remove_idea = no_constitution
		#		add_idea = human_rights
		#	}
		#}
		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
			}
		}
	}
}

#Resignation of Anton von Schmerling
country_event = {
	id = austria.328
	title = austria.328.t
	desc = austria.328.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.328.a
		ai_chance = { base = 100 }
		set_politics = { ruling_party = autocracy }
		add_popularity = { ideology = autocracy popularity = 0.05 }
		AUS_richard_belcredi = {
			add_country_leader_role = {
				promote_leader = yes
				country_leader = {
					desc = "POLITICS_RICHARD_VON_BELCREDI_DESC"
					ideology = absolutism
					expire = "1902.12.2"
				}
			}
		}
		if = {
			limit = {
				has_character = AUS_anton_von_schmerling
			}
			retire_character = AUS_anton_von_schmerling
		}
		hidden_effect = {
			compute_national_vote = yes
			country_event = { id = austria.329 days = 30 }
		}
	}
}

#The Hungarian Question
country_event = {
	id = austria.329
	title = austria.329.t
	desc = austria.329.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.329.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_failure_to_bring_hungarians_to_reason_effect_tt
		hidden_effect = {
			country_event = { id = austria.330 days = 30 }
		}
	}
}

#Constitution Suspended
country_event = {
	id = austria.330
	title = austria.330.t
	desc = austria.330.d
	picture = GFX_report_event_franz_joseph_coronation
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.330.a
		ai_chance = { base = 100 }
		complete_national_focus = AUS_focus_sistierungspatent
		custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_three_tt
		if = {
			limit = {
				has_idea = AUS_idea_constitutional_diploma_1
			}
			remove_ideas = AUS_idea_constitutional_diploma_1
		}
		else_if = {
			limit = {
				has_idea = AUS_idea_constitutional_diploma_2
			}
			remove_ideas = AUS_idea_constitutional_diploma_2
		}
		else_if = {
			limit = {
				has_idea = AUS_idea_imperial_constitution_of_1861
			}
			remove_ideas = AUS_idea_imperial_constitution_of_1861
		}
		#if = {
		#	limit = {
		#		has_idea = constitutional_monarchy
		#	}
		#	swap_ideas = {
		#		remove_idea = constitutional_monarchy
		#		add_idea = absolute_monarchy
		#	}
		#}
		#if = {
		#	limit = {
		#		has_idea = human_rights
		#	}
		#	swap_ideas = {
		#		remove_idea = human_rights
		#		add_idea = no_constitution
		#	}
		#}
		#else_if = {
		#	limit = {
		#		has_idea = constitution_adopted
		#	}
		#	swap_ideas = {
		#		remove_idea = constitution_adopted
		#		add_idea = no_constitution
		#	}
		#}
		if = {
			limit = {
				has_idea = limited_elections
			}
			swap_ideas = {
				remove_idea = limited_elections
				add_idea = no_elections
			}
		}
		#if = {
		#	limit = {
		#		has_idea = federalist
		#	}
		#	swap_ideas = {
		#		remove_idea = federalist
		#		add_idea = federal_control
		#	}
		#}
		#else_if = {
		#	limit = {
		#		has_idea = states_restricted
		#	}
		#	swap_ideas = {
		#		remove_idea = states_restricted
		#		add_idea = federal_control
		#	}
		#}
		hidden_effect = {
			subtract_from_variable = {
				var = HUN_REVOLT_RISK
				value = 0.03
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Constitutionality Established
country_event = {
	id = austria.331
	title = austria.331.t
	desc = austria.331.d
	picture = GFX_report_event_franz_joseph_coronation
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.331.a
		ai_chance = { base = 100 }
		complete_national_focus = AUS_focus_a_constitutional_monarchy
		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
			}
		}
	}
}

#Archduke Maximilian Leaves for Mexico
country_event = {
	id = austria.332
	title = austria.332.t
	desc = austria.332.d
	picture = GFX_report_event_habsburg_family
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.332.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				LVN = {
					has_character = LVN_archduke_maximilian
				}
			}
			complete_national_focus = AUS_focus_replace_viceroy_maximilian
		}
		if = {
			limit = {
				has_character = AUS_maximilian_von_osterreich
			}
			retire_character = AUS_maximilian_von_osterreich
		}
		complete_national_focus = AUS_focus_vacancy_at_the_helm
		hidden_effect = {
			mark_focus_tree_layout_dirty = yes
			#set_temp_variable = {
			#	temp_advisor_frame = 1
			#}
			#mhc_remove_navy_advisor = yes
		}
	}
}

#Archduke Maximilian Crowned Emperor of Mexico
country_event = {
	id = austria.333
	title = austria.333.t
	desc = austria.333.d
	picture = GFX_report_event_habsburg_family
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.333.a
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
	}
}

#The Bohemian Declaration
country_event = {
	id = austria.334
	title = austria.334.t
	desc = austria.334.d
	#picture = GFX_radecký_event_001_event_image
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1868.8.22

	option = {
		name = austria.334.a
		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
			}
		}
	}
}

#Choose Beust or Keep Belcredi
country_event = {
	id = austria.351
	title = austria.351.t
	desc = austria.351.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_country_leader = {
			name = "Richard von Belcredi"
			ruling_only = yes
		}
	}
	
	option = {
		name = austria.351.a #Replace with Beust - Dual Monarchy
		ai_chance = { base = 75 }
		AUS = {
			retire_country_leader = yes
			create_country_leader = {
				name = "Friedrich von Beust"
				desc = "POLITICS_FRIEDRICH_FERDINAND_VON_BEUST_DESC"
				picture = "GFX_Portrait_AUS_Friedrich_von_Beust"
				expire = 2000.09.10
				ideology = despotism
			}
		}
		custom_effect_tooltip = AUS_tt_appoint_von_beust
	}
	
	option = {
		name = austria.351.b #Keep Belcredi - Federalization
		ai_chance = { base = 25 }
		custom_effect_tooltip = AUS_tt_keep_richard_belcredi
	}
}

### Religious Unrest Events

#Ramifications of the Concordat of 1855
country_event = {
	id = austria.391
	title = austria.391.t
	desc = austria.391.d
	picture = GFX_report_event_franz_joseph_coronation
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.391.a
		ai_chance = { base = 100 }
		add_political_power = 10
	}
}

#Denominational Unrest in the Austrian Empire
country_event = {
	id = austria.392
	title = austria.392.t
	desc = austria.392.d
	picture = GFX_report_event_generic_religious_unrest_heretics
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.392.a
		ai_chance = { base = 100 }
	}
}

#The Protestantenpatent
country_event = {
	id = austria.393
	title = austria.393.t
	desc = austria.393.d
	picture = GFX_report_event_generic_religious_unrest_heretics
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.393.a
		ai_chance = { base = 100 }
		#eoanb_protestantism_recognised = yes
		if = {
			limit = {
				has_idea = AUS_idea_concordat_of_1855_1
			}
			swap_ideas = {
				remove_idea = AUS_idea_concordat_of_1855_1
				add_idea = AUS_idea_concordat_of_1855_3
			}
		}
		else_if = {
			limit = {
				has_idea = AUS_idea_concordat_of_1855_2
			}
			swap_ideas = {
				remove_idea = AUS_idea_concordat_of_1855_2
				add_idea = AUS_idea_concordat_of_1855_4
			}
		}
		hidden_effect = {
			country_event = { id = austria.394 days = 21 random_days = 14 }
		}
	}
}

#Catholic Radicals Protest Against the Protestantenpatent in Tyrol
country_event = {
	id = austria.394
	title = austria.394.t
	desc = austria.394.d
	picture = GFX_report_event_generic_religious_unrest_heretics
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.394.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.005
	}
}

#Abolishment of the Voivodeship of Serbia and Banat - MOVE TO DECISION
#country_event = {
#	id = austria.400
#	title = austria.400.t
#	desc = austria.400.d
#	picture = GFX_report_event_vienna_1
#	
#	is_triggered_only = yes 
#	
#	option = {
#		name = austria.400.a 
#		ai_chance = { base = 100 }
#		set_temp_variable = { eoanb_prestige_change = 1 }
#		eoanb_change_prestige_score = yes
#	}
#}

##### AUSTRIA-HUNGARY COMPROMISE EVENTS (austria.401-500) #####

### Compromise Arrangements

#Negotiations with the Hungarians Commence
country_event = {
	id = austria.401
	title = austria.401.t
	desc = austria.401.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.401.a
		ai_chance = { base = 100 }
		hidden_effect = {
			country_event = { id = austria.402 days = 60 }
			set_country_flag = AUS_flag_dual_monarchy_begin
		}
	}
}

#Restoration of the Historic Hungarian Constitution
country_event = {
	id = austria.402
	title = austria.402.t
	desc = austria.402.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.402.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_restore_hungarian_constitution_effect_tt
		hidden_effect = {
			country_event = { id = austria.403 days = 90 }
		}
	}
}

#Restoration of the Hungarian Diet
country_event = {
	id = austria.403
	title = austria.403.t
	desc = austria.403.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.403.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_hungarian_diet_restored_effect_tt
		hidden_effect = {
			country_event = { id = austria.404 days = 3 }
		}
	}
}

#Appoint Prime Minister for Hungary
country_event = {
	id = austria.404
	title = austria.404.t
	desc = austria.404.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			country_event = { id = austria.405 days = 120 }
			#set_country_flag = AUS_flag_dual_monarchy_ui
		}
	}
	
	option = { #Andrassy
		name = austria.404.a
		ai_chance = { base = 80 }
		hidden_effect = {
			set_country_flag = AUS_flag_andrassy_hun_pm
		}
		custom_effect_tooltip = AUS_tt_appoint_andrassy
	}

	option = { #Deak
		name = austria.404.b
		ai_chance = { base = 20 }
		hidden_effect = {
			set_country_flag = AUS_flag_deak_hun_pm
		}
		custom_effect_tooltip = AUS_tt_appoint_deak
	}
}

#Franz Joseph crowned King of Hungary
country_event = {
	id = austria.405
	title = austria.405.t
	desc = austria.405.d
	picture = GFX_report_event_austria_hungary_compromise_coronation
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			news_event = { id = news.9 days = 1 }
			retire_country_leader = yes
			set_country_flag = AUS_flag_hun_dual_monarchy
			AUS = {
				load_focus_tree = aus_hun_focus_1
			}
			clear_variable = HUN_REVOLT_RISK
			if = {
				limit = {
					has_idea = AUS_idea_hungarian_revolution
				}
				remove_ideas = AUS_idea_hungarian_revolution
			}
			every_owned_state = {
				limit = { NOT = { is_core_of = AUS } }
				add_core_of = AUS
			}
			add_to_array = {
				array = national_culture_array
				index = 1
				value = global.magyar
			}
			add_to_array = { national_culture_array = global.croat }
			add_to_array = { national_culture_array = global.galician_polish }
			88 = { # Polish NS
				add_dynamic_modifier = {
					modifier =dynmod_AUS_galician_poverty
				}
			}
			91 = {
				add_dynamic_modifier = {
					modifier =dynmod_AUS_galician_poverty
				}
			}
			89 = {
				add_dynamic_modifier = {
					modifier =dynmod_AUS_galician_poverty
				}
			}
			1321 = {
				add_dynamic_modifier = {
					modifier = dynmod_AUS_galician_poverty
				}
			}
			country_event = { id = austria.406 days = 5 }
		}
	}
	
	option = {
		name = austria.405.a
		ai_chance = { base = 100 }
		#custom_effect_tooltip = AUS_tt_dual_monarchy_enacted
		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
			}
			set_country_flag = AUS_flag_hun_dual_monarchy
			release_autonomy = {
    			target = HUN
    			autonomy_state = autonomy_dual_monarchy
   				freedom_level = 0.5
			}
			HUN = {
				inherit_technology = AUS
			}
			HUN = { # This will claim the Croatian parts of the Kingdom
				transfer_state = 968
				add_state_claim = 968
				transfer_state = 109
				add_state_claim = 109
				transfer_state = 1011
				add_state_claim = 1011
				transfer_state = 1278
				add_state_claim = 1278
				transfer_state = 1320
				add_state_claim = 1320
			}
		}
	}
	option = {
		name = austria.405.b
		ai_chance = { base = 100 }
		#custom_effect_tooltip = AUS_tt_dual_monarchy_enacted
		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
			}
			set_country_flag = AUS_flag_hun_dual_monarchy
			release_autonomy = {
    			target = HUN
    			autonomy_state = autonomy_dual_monarchy
   				freedom_level = 0.5
			}
			HUN = { change_tag_from = AUS }
			HUN = {
				inherit_technology = AUS
			}
			HUN = { # This will claim the Croatian parts of the Kingdom
				transfer_state = 968
				add_state_claim = 968
				transfer_state = 109
				add_state_claim = 109
				transfer_state = 1011
				add_state_claim = 1011
				transfer_state = 1278
				add_state_claim = 1278
				transfer_state = 1320
				add_state_claim = 1320
			}
		}
	}
}

#Decide on the name of the Empire
country_event = {
	id = austria.406
	title = austria.406.t
	desc = austria.406.d
	picture = GFX_report_event_austria_hungary_compromise_coronation
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { # Use their regular names
		name = austria.406.a
		ai_chance = { base = 100 }
		
		custom_effect_tooltip = AUS_regular_name_tt
		hidden_effect = {
			AUS = { set_cosmetic_tag = AUS_HUN_dual_regular_names }
			HUN = { set_cosmetic_tag = AUH_dual_regular_names }
		}
	}

	option = { # Use their official names
		name = austria.406.b
		ai_chance = { base = 100 }
		
		custom_effect_tooltip = AUS_official_name_tt
		hidden_effect = {
			AUS = { set_cosmetic_tag = AUS_HUN_dual }
			HUN = { set_cosmetic_tag = AUH_dual }
		}
	}
}

#Adoption of the Constitution - needed?

##### ALT-HISTORY EVENTS (austria.501-600) #####

### Hungarian Revolution

#Event to warn about the revolution
country_event = {
	id = austria.501
	title = austria.501.t
	desc = austria.501.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	
	trigger = {
		tag = AUS
		AUS = {
			check_variable = {
				var = HUN_REVOLT_RISK
				value = 0.6
				compare = greater_than_or_equals
			}
		}
	}
	
	option = {
		name = austria.501.a 
		ai_chance = { base = 100 }
		country_event = { id = austria.502 days = 35 }		
	}
}

#Beginning of Revolution
country_event = {
	id = austria.502
	title = austria.502.t
	desc = austria.502.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			HUN = {
				transfer_state = 43
				transfer_state = 154
				transfer_state = 155
				transfer_state = 664
				transfer_state = 968
				load_oob = "HUN_Revolt"
				add_ideas = HUN_idea_hungarian_revolution
				set_politics = {
					ruling_party = centrism
				}
				set_popularities = {
					ideology_radical_socialism = 3
					social_egalitarianism = 10
					centrism = 32
					ideology_social_liberalism = 20
					traditional_conservatism = 28
					chauvinist_populism = 7
					autocracy = 0
					anarchism = 0
					fundamentalism = 0
					radical_democracy = 0
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment_rifle_0
					amount = 4000
					producer = HUN
				}
				add_equipment_to_stockpile = {
					type = uniform_equipment_0
					amount = 4000
					producer = HUN
				}
				add_equipment_to_stockpile = {
					type = cavalry_equipment_0
					amount = 1000
					producer = HUN
				}
				create_country_leader = {
					name = "Lajos Kossuth"
					desc = "POLITICS_GENERIC_EOANB_DESC"
					picture = "gfx/leaders/HUN/Portrait_HUN_Lajos_Kossuth.png"
					expire = 2000.09.10
					ideology = ideology_sub_social_liberal
				}
				create_country_leader = {
					name = "Ferenc Deák"
					desc = "POLITICS_GENERIC_EOANB_DESC"
					picture = "gfx/leaders/HUN/Portrait_HUN_Ferenc_Deak.png"
					expire = 2000.09.10
					ideology = conserv_liberal
				}
			}
			if = {
				limit = {
					AUS = {
						has_idea = AUS_idea_hungarian_revolution
					}
				}
				remove_ideas = AUS_idea_hungarian_revolution
			}
			if = {
				limit = {
					check_variable = {
						var = HUN_REVOLT_RISK
						value = 0.6
						compare = greater_than_or_equals
					}
					check_variable = {
						var = HUN_REVOLT_RISK
						value = 0.7
						compare = less_than
					}
				}
				HUN = {
					transfer_state = 73
					transfer_state = 967
				}
			}
			if = {
				limit = {
					check_variable = {
						var = HUN_REVOLT_RISK
						value = 0.7
						compare = greater_than_or_equals
					}
					check_variable = {
						var = HUN_REVOLT_RISK
						value = 0.8
						compare = less_than
					}
				}
				HUN = {
					transfer_state = 73
					transfer_state = 76
					transfer_state = 84
					transfer_state = 967
				}
				84 = {
					create_unit = {
						division = "name = \"8. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5"
						owner = HUN
						prioritize_location = 690
					}
				}
			}
			if = {
				limit = {
					check_variable = {
						var = HUN_REVOLT_RISK
						value = 0.8
						compare = greater_than_or_equals
					}
					check_variable = {
						var = HUN_REVOLT_RISK
						value = 0.9
						compare = less_than
					}
				}
			    HUN = {
					transfer_state = 45
					transfer_state = 73
					transfer_state = 76
					transfer_state = 82
					transfer_state = 83
					transfer_state = 84
					transfer_state = 743
					transfer_state = 967
				}
				84 = {
					create_unit = {
						division = "name = \"8. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5"
						owner = HUN
						prioritize_location = 690
					}
				}
				45 = {
					create_unit = {
						division = "name = \"9. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5"
						owner = HUN
						prioritize_location = 3617
					}
				}
			}
		    if = {
				limit = {
					check_variable = {
						var = HUN_REVOLT_RISK
						value = 0.9
						compare = greater_than_or_equals
					}
				}
				HUN = {
					transfer_state = 45
					transfer_state = 70
					transfer_state = 71
					transfer_state = 73
					transfer_state = 76
					transfer_state = 82
					transfer_state = 83
					transfer_state = 84
					transfer_state = 743
					transfer_state = 967				
				}
				84 = {
					create_unit = {
						division = "name = \"8. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5"
						owner = HUN
						prioritize_location = 690
					}
				}
				45 = {
					create_unit = {
						division = "name = \"9. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5"
						owner = HUN
						prioritize_location = 3617
					}
				}
				70 = {
					create_unit = {
							division = "name = \"10. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5"
							owner = HUN
							prioritize_location = 9692
					}
				}
				set_global_flag = flag_HUN_revolt_1
			}
		}
	}
	
	option = {
		name = austria.502.a #Remain Austria
		ai_chance = { base = 100 }
		hidden_effect = {
			news_event = { id = news.34 days = 5 }
			AUS = {
				country_event = { id = austria.504 days = 35 }
			}
		}
	}

	option = {
		name = austria.502.b #Play as Hungary
		ai_chance = { base = 100 }
		hidden_effect = {
			news_event = { id = news.34 days = 5 }
			HUN = {
				country_event = { id = austria.503 days = 25 }
				change_tag_from = ROOT
				delete_unit_template_and_units = {
					division_template = "Infanterie Regiment"
					division_template = "Jäger Regiment"
					division_template = "Hussar Regiment"
				}
			}
			AUS = {
				country_event = { id = austria.504 days = 50 }
			}
		}
	}
}

#Event introducing the player to Hungary
country_event = {
	id = austria.503
	title = austria.503.t
	desc = austria.503.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes 
	is_triggered_only = yes 
	
	option = {
		name = austria.503.a 
		ai_chance = { base = 100 }
	}
}

#Event that actually starts the war
country_event = {
	id = austria.504
	title = austria.504.t
	desc = austria.504.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes 
	is_triggered_only = yes 
	
	immediate = {
		hidden_effect = {
			HUN = {
				set_province_controller = 619
				set_province_controller = 3689
				set_province_controller = 6711
				set_province_controller = 11592
			}
			967 = {
				create_unit = {
					division = "name = \"5. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5 start_equipment_factor = 0.75"
					owner = HUN
					prioritize_location = 3689
				}
			}
			76 = {
				create_unit = {
					division = "name = \"6. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5 start_equipment_factor = 0.75"
					owner = HUN
					prioritize_location = 6711
				}
			}
			45 = {
				create_unit = {
					division = "name = \"7. Gyalogezred\" division_template = \"Gyalogezred\" start_experience_factor = 0.5 start_equipment_factor = 0.75"
					owner = HUN
					prioritize_location = 619
				}
			}
			82 = {
				create_unit = {
					division = "name = \"2. Huszár ezred\" division_template = \"Huszár\" start_experience_factor = 0.5 start_equipment_factor = 0.75"
					owner = HUN
					prioritize_location = 11592
				}
			}
			HUN = {
				add_state_core = 45
				add_state_core = 70
				add_state_core = 71
				add_state_core = 73
				add_state_core = 76
				add_state_core = 82
				add_state_core = 83
				add_state_core = 84
				add_state_core = 743
				add_state_core = 967
				add_state_core = 1233				
			}
		}
	}
	
	option = {
		name = austria.504.a 
		ai_chance = { base = 100 }
		AUS = {
			declare_war_on = {
				target = HUN
				type = wargoal_hungarian_revolution
			}
		}
	}
}

#Peace Event in Favour of Hungary - No Croatia
country_event = {
	id = austria.505
	title = austria.505.t
	desc = austria.505.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.505.a #Accept Peace 
		ai_chance = { base = 85 }
		AUS = {
			white_peace = HUN
		}
		AUS = {
			every_owned_state = {
				limit = { is_core_of = HUN }
				HUN = {
					transfer_state = PREV
				}
				remove_core_of = AUS
			}
		}
		HUN = {	
			remove_ideas = HUN_idea_hungarian_revolution
		}
		news_event = { id = news.35 days = 1 }
	}
	option = {
		name = austria.505.b #Reject Peace
		ai_chance = { base = 15 }
		hidden_effect = {
			HUN = { set_country_flag = HUN_AUS_war_denied_peace_1 }
		}
		HUN = {
			add_war_support = -0.15
			add_stability = -0.1
		}
	}
}

#Peace Event in Favour of Hungary - Croatia
country_event = {
	id = austria.506
	title = austria.506.t
	desc = austria.506.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.506.a
		ai_chance = { base = 100 }
		AUS = {
			every_owned_state = {
				limit = { is_core_of = HUN }
				HUN = {
					transfer_state = PREV
				}
				remove_core_of = AUS
			}
			add_ideas = AUS_idea_lost_hungary_revolt
			white_peace = HUN
		}
		HUN = {
			transfer_state = 109
			transfer_state = 1011
			transfer_state = 1271
			remove_ideas = HUN_idea_hungarian_revolution
		}
		news_event = { id = news.35 days = 1 }
	}
}

### Italian Organization after victory in 2IW

#Victory in Italy!
country_event = {
	id = austria.526
	title = austria.526.t
	desc = austria.526.d
	picture = GFX_report_event_franz_joseph_coronation
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.526.a
		ai_chance = { base = 100 }
		complete_national_focus = AUS_focus_triumph_in_italy
		add_war_support = -0.35
		set_temp_variable = { eoanb_prestige_change = 25 }
		eoanb_change_prestige_score = yes
		custom_effect_tooltip = AUS_decrease_all_nationalisms_by_two_tt
		hidden_effect = {
			country_event = { id = austria.527 days = 7 }
			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
			}
		}
	}
}

#Future of the Central Italian States
country_event = {
	id = austria.527
	title = austria.527.t
	desc = austria.527.d
	picture = GFX_report_event_austrian_north_italy
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			country_event = { id = austria.528 days = 14 }
		}
	}
	
	timeout_days = 10
	
	option = { #Make them Puppets
		name = austria.527.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_future_of_the_central_italian_states_effect_tt
		custom_effect_tooltip = AUS_unrest_in_italy_plus_two_effect_tt
		hidden_effect = {
			if = {
				limit = {
					country_exists = MOD
				}
				set_autonomy = {
					target = MOD
					autonomy_state = autonomy_puppet
				}
			}
			if = {
				limit = {
					country_exists = PRM
				}
				set_autonomy = {
					target = PRM
					autonomy_state = autonomy_puppet
				}
			}
			if = {
				limit = {
					country_exists = TUS
				}
				set_autonomy = {
					target = TUS
					autonomy_state = autonomy_puppet
				}
			}
		}
	}
	
	option = { #Status Quo
		name = austria.527.b
		ai_chance = { base = 0 }
	}
}

#Future of the Former Piedmontese Lands
country_event = {
	id = austria.528
	title = austria.528.t
	desc = austria.528.d
	picture = GFX_report_event_turin_city
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			country_event = { id = austria.529 days = 14 }
		}
	}
	
	timeout_days = 10
	
	option = { #Separate Kingdom
		name = austria.528.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_create_piedmontese_kingdom_effect_tt
		custom_effect_tooltip = unfinished_content_tt
		hidden_effect = {
			PIE = {
				set_cosmetic_tag = PIE_habsburg_kingdom_of_piedmont
				transfer_state = 158
				transfer_state = 735
				transfer_state = 822
				transfer_state = 981
				transfer_state = 1153
				inherit_technology = SAR
				retire_country_leader = yes
				PIE_archduke_karl_ludwig = {
					add_country_leader_role = {
						promote_leader = yes
						country_leader = {
							desc = "POLITICS_GENERIC_EOANB_DESC"
							ideology = despotism
							expire = "1896.5.19"
						}
					}
				}
				set_party_name = { ideology = autocracy name = PIE_habsburg_autocracy_party }
				remove_ideas = PIE_Italian_National_Society
				remove_ideas = PIE_Spearheading_The_Risorgimento
				remove_ideas = PIE_Perfect_Fusion
				remove_ideas = PIE_Sardinian_Question
				remove_ideas = PIE_Piedmontese_Militarism
				remove_ideas = PIE_Baby_Boom
				remove_ideas = ITA_2IP_War_Leader
				remove_ideas = ITA_2IP_Idea
				remove_ideas = PIE_Sardinian_Question_worse
				remove_ideas = PIE_Sardinian_Question_better
				remove_ideas = PIE_Sound_Toll_Payment
				swap_ideas = { remove_idea = ITA_hos_Victor_Emmanuel_II add_idea = AUS_Franz_Joseph_I }
			}
			AUS = {
				PIE = { set_country_flag = is_junior_personal_union_member }
				set_autonomy = {
					target = PIE
					autonomy_state = autonomy_personal_union_2
					freedom_level = 0.1
				}
			}
		}
	}
	
	option = { #Integrate them into LVN
		name = austria.528.b
		ai_chance = { base = 0 }
		add_political_power = 25
		LVN = {
			add_political_power = 25
			158 = { add_core_of = LVN }
			735 = { add_core_of = LVN }
			822 = { add_core_of = LVN }
			981 = { add_core_of = LVN }
			1153 = { add_core_of = LVN }
		}
	}
	
	option = { #Hand them back to SAR
		name = austria.528.c
		ai_chance = { base = 0 }
		custom_effect_tooltip = unfinished_content_tt
		SAR = {
			transfer_state = 158
			transfer_state = 735
			transfer_state = 822
			transfer_state = 981
			transfer_state = 1153
		}
	}
}

#Creation of the Italian League
country_event = {
	id = austria.529
	title = austria.529.t
	desc = austria.529.d
	picture = GFX_report_event_austrian_north_italy
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			country_event = { id = austria.533 days = 14 }
		}
	}
	
	timeout_days = 10
	
	option = { #Yes
		name = austria.529.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_italian_league_effect_tt
		hidden_effect = {
			if = {
				limit = {
					country_exists = LVN
				}
				LVN = {
					add_ideas = AUS_idea_italian_league
					add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
					reverse_add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
				}
			}
			if = {
				limit = {
					country_exists = MOD
				}
				MOD = {
					add_ideas = AUS_idea_italian_league
					add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
					reverse_add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
				}
			}
			if = {
				limit = {
					country_exists = PRM
				}
				PRM = {
					add_ideas = AUS_idea_italian_league
					add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
					reverse_add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
				}
			}
			if = {
				limit = {
					country_exists = PIE
					PIE = { has_cosmetic_tag = PIE_habsburg_kingdom_of_piedmont }
				}
				PIE = {
					add_ideas = AUS_idea_italian_league
					add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
					reverse_add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
				}
			}
			if = {
				limit = {
					country_exists = TUS
				}
				TUS = {
					add_ideas = AUS_idea_italian_league
					add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
					reverse_add_opinion_modifier = {
						target = AUS
						modifier = AUS_ITALIAN_LEAGUE_REL
					}
				}
			}
		}
	}
	
	option = { #No
		name = austria.529.b
		ai_chance = { base = 0 }
	}
}

#Future of the Kingdom of Lombardy-Venetia
country_event = {
	id = austria.532
	title = austria.532.t
	desc = austria.532.d
	picture = GFX_report_event_turin_city
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Keep the Puppet
		name = austria.532.a
		ai_chance = {
			base = 100
			modifier = {
				add = -25
				is_historical_focus_on = no
			}
		}
		add_political_power = 10
	}
	
	option = { #Annex only Venetia
		name = austria.532.b
		ai_chance = {
			base = 0
			modifier = {
				add = 10
				is_historical_focus_on = no
			}
		}
		transfer_state = 160
		160 = {
			remove_core_of = LVN
		}
		LVN = {
			set_cosmetic_tag = LVN_Lombardy
		}
		add_political_power = -20
	}
	
	option = { #TfV - Give more freedom
		name = austria.532.c
		ai_chance = {
			base = 0
			modifier = {
				add = 15
				is_historical_focus_on = no
			}
		}
		set_autonomy = {
			target = LVN
			autonomy_state = autonomy_puppet
		}
		add_political_power = 25
		if = {
			limit = {
				has_variable = ITA_UPROAR_RISK
			}
			custom_effect_tooltip = AUS_unrest_in_italy_minus_ten_effect_tt
			hidden_effect = {
				add_to_variable = {
					ITA_UPROAR_RISK = -0.1
				}
				clamp_variable = {
					var = ITA_UPROAR_RISK
					min = 0
					max = 1
				}
			}
		}
	}
}

#Cede Savoy and Nice to France
country_event = {
	id = austria.533
	title = austria.533.t
	desc = austria.533.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Give Savoy and Nice to France
		name = austria.533.a
		ai_chance = {
			base = 90
			#modifier = {  ###This focused was removed, however if the new French tree includes a way to get diplomatically closer to Austria this can be readded
			#	add = 10
			#	FRA = {
			#		has_completed_focus = FRA_close_relations_austria
			#	}
			#}
		}
		add_opinion_modifier = {
			target = FRA
			modifier = AUS_FRA_SAVOY_NICE_REL
		}
		add_opinion_modifier = {
			target = ENG
			modifier = AUS_ENG_SAVOY_NICE_REL
		}
		reverse_add_opinion_modifier = {
			target = ENG
			modifier = AUS_ENG_SAVOY_NICE_REL
		}
		custom_effect_tooltip = AUS_unrest_in_italy_plus_two_effect_tt
		hidden_effect = {
			FRA = { country_event = austria.534 }
			add_to_variable = {
				ITA_UPROAR_RISK = 0.02
			}
			clamp_variable = {
				var = ITA_UPROAR_RISK
				min = 0
				max = 1
			}
		}
	}
	
	option = { #Keep them
		name = austria.533.b
		trigger = {
			NOT = {
				PIE = {
					owns_state = 735
					owns_state = 822
				}
			}
		}
		ai_chance = {
			base = 10
			#modifier = {  ###This focused was removed, however if the new French tree includes a way to get diplomatically closer to Austria this can be readded
			#	add = 10
			#	FRA = {
			#		has_completed_focus = FRA_close_relations_austria
			#	}
			#}
		}
	}
	
	option = { #Let Piedmont keep them
		name = austria.533.c
		trigger = {
			PIE = {
				owns_state = 735
				owns_state = 822
			}
		}
		ai_chance = {
			base = 0
			#modifier = {  ### See Above comment
			#	add = 10
			#	NOT = {
			#		FRA = {
			#			has_completed_focus = FRA_close_relations_austria
			#		}
			#	}
			#}
		}
		custom_effect_tooltip = AUS_unrest_in_italy_minus_one_effect_tt
		hidden_effect = {
			subtract_from_variable = {
				ITA_UPROAR_RISK = 0.01
			}
			clamp_variable = {
				var = ITA_UPROAR_RISK
				min = 0
				max = 1
			}
		}
	}
}

#FRA - Savoy and Nice ceded
country_event = {
	id = austria.534
	title = austria.534.t
	desc = austria.534.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			every_country = {
				limit = {
					OR = {
						tag = PRS
						tag = BEL
						tag = SPR
						tag = ENG
						tag = BAD
						tag = BAV
						tag = WUR
						tag = PAP
						tag = NSC
						tag = PIE
						tag = SWI
						is_major = yes
						NOT = { tag = AUS }
						NOT = { tag = FRA }
					}
				}
				news_event = { id = news.36 days = 1 }
			}
		}
	}
	
	option = {
		name = austria.534.a
		ai_chance = { base = 100 }
		FRA = {
			transfer_state = 735
			transfer_state = 822
		}
		735 = {
			add_core_of = FRA
			remove_core_of = LVN
			remove_core_of = PIE
		}
		822 = {
			add_core_of = FRA
			remove_core_of = LVN
			remove_core_of = PIE
		}
		add_opinion_modifier = {
			target = AUS
			modifier = AUS_FRA_SAVOY_NICE_REL
		}
	}
}

### Domestic Policy after Victory in Italy

#The State Debt Commission Gathers
country_event = {
	id = austria.541
	title = austria.541.t
	desc = austria.541.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.541.a
		ai_chance = { base = 100 }
		hidden_effect = {
			country_event = { id = austria.542 days = 21 }
			random_list = {
				25 = {
					country_event = { id = austria.543 days = 7 random_days = 7 }
				}
				75 = {
					#
				}
			}
		}
	}
}

#The State Debt Commission Reports on the Debt Situation
country_event = {
	id = austria.542
	title = austria.542.t
	desc = {
		trigger = {
        	set_temp_variable = { loan_size_to_check = 25 }
        	has_less_than_specific_loan_size = yes
    	}

		text = austria.542.d_reasonable_debt
	}
	desc = {
		trigger = {
        	AND = {
            	set_temp_variable = { loan_size_to_check = 30 }
            	has_less_than_specific_loan_size = yes
            	set_temp_variable = { loan_size_to_check = 25 }
            	has_less_than_specific_loan_size = no
        	}
    	}
		text = austria.542.d_significant_debt
	}
	desc = {
		trigger = {
        	set_temp_variable = { loan_size_to_check = 30 }
        	has_less_than_specific_loan_size = no
    	}
		text = austria.542.d_insurmountable_debt
	}
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		set_temp_variable = { loan_size_to_check = 0 }
    	has_less_than_specific_loan_size = no
	}
	
	immediate = {
		hidden_effect = {
			random_list = {
				50 = {
					country_event = { id = austria.544 days = 14 random_days = 14 }
				}
				50 = {
					#
				}
			}
		}
	}
	
	option = {
		name = austria.542.a
		ai_chance = { base = 100 }
		trigger = {
        	set_temp_variable = { loan_size_to_check = 25 }
        	has_less_than_specific_loan_size = yes
    	}
		add_political_power = -25
		add_stability = -0.01
	}
	
	option = {
		name = austria.542.b
		ai_chance = { base = 100 }
		trigger = {
        	AND = {
            	set_temp_variable = { loan_size_to_check = 30 }
            	has_less_than_specific_loan_size = yes
            	set_temp_variable = { loan_size_to_check = 25 }
            	has_less_than_specific_loan_size = no
        	}
    	}

		add_political_power = -50
		add_stability = -0.02
	}
	
	option = {
		name = austria.542.c
		ai_chance = { base = 100 }
		trigger = {
			set_temp_variable = { loan_size_to_check = 30 }
			has_less_than_specific_loan_size = no
		}
		add_political_power = -75
		add_stability = -0.03
	}
}

#Rumors about a Secret Meeting in Vienna Circulate
country_event = {
	id = austria.543
	title = austria.543.t
	desc = austria.543.d	#Tie to Polizeiverein?
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		set_temp_variable = { loan_size_to_check = 12 }
    	has_less_than_specific_loan_size = no
	}
	
	option = {
		name = austria.543.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.01
	}
}

#Anonymous Article about Looming Debt Crisis Published
country_event = {
	id = austria.544
	title = austria.544.t
	desc = austria.544.d	#Tie to Polizeiverein?
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		set_temp_variable = { loan_size_to_check = 12 }
    	has_less_than_specific_loan_size = no
	}
	
	option = {
		name = austria.544.a
		ai_chance = { base = 100 }
		add_political_power = -50
		add_stability = -0.02
	}
}

#Preparation for Centralization Measures Complete
country_event = {
	id = austria.545
	title = austria.545.t
	desc = austria.545.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.545.a
		ai_chance = { base = 100 }
		unlock_decision_tooltip = AUS_decision_enforce_enhanced_centralization
		hidden_effect = {
			set_country_flag = AUS_centralization_measures_ready_flag
		}
	}
}

#Enhanced Centralization Measures
country_event = {
	id = austria.546
	title = austria.546.t
	desc = austria.546.d
	picture = GFX_report_event_abgeordnetenhaus_schmerlingtheater
	
	fire_only_once = yes
    is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			#Hungary
			country_event = { id = austria.547 days = 14 random_days = 7 }
			random_list = {
				75 = {
					set_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
				}
				25 = {
					set_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
				}
			}
			
			#Bohemia
			country_event = { id = austria.548 days = 14 random_days = 14 } # Bohemia
			random_list = {
				50 = {
					set_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
				}
				25 = {
					set_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
				}
				20 = {
					set_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
				}
				5 = {
					set_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag
				}
			}
			
			#Croatia
			country_event = { id = austria.549 days = 14 random_days = 21 } # Croatia
			random_list = {
				50 = {
					set_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
				}
				25 = {
					set_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
				}
				15 = {
					set_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
				}
				10 = {
					set_country_flag = AUS_minor_resistance_against_centralization_croatia_flag
				}
			}
			
			#Poland
			country_event = { id = austria.550 days = 14 random_days = 28 } # Poland
			random_list = {
				10 = {
					set_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
				}
				15 = {
					set_country_flag = AUS_significant_resistance_against_centralization_poland_flag
				}
				50 = {
					set_country_flag = AUS_minor_resistance_against_centralization_poland_flag
				}
				25 = {
					#
				}
			}
		}
	}
	
	option = {
		name = austria.546.a
		ai_chance = { base = 100 }
		add_ideas = AUS_idea_enhanced_centralization
		add_political_power = 25
	}
}

#Resistance Against Centralization Measures in Hungary
country_event = {
	id = austria.547
	title = {
		trigger = { has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag }
		text = austria.547.t_massive
	}
	title = {
		trigger = { has_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag }
		text = austria.547.t_heavy
	}
	desc = {
		trigger = { has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag }
		text = austria.547.d_massive
	}
	desc = {
		trigger = { has_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag }
		text = austria.547.d_heavy
	}
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		OR = {
			has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
			has_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
		}
	}
	
	option = {
		name = austria.547.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
			}
			decrease_ps_by_one = yes
			add_political_power = -50
			add_stability = -0.02
			custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_ten_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.1
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else = {
			add_political_power = -25
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_six_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.06
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		hidden_effect = {
			country_event = { id = austria.551 days = 21 }
		}
	}
}

#Resistance Against Centralization Measures in Bohemia
country_event = {
	id = austria.548
	title = {
		trigger = { has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag }
		text = austria.548.t_massive
	}
	title = {
		trigger = { has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag }
		text = austria.548.t_heavy
	}
	title = {
		trigger = { has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag }
		text = austria.548.t_significant
	}
	title = {
		trigger = { has_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag }
		text = austria.548.t_minor
	}
	desc = {
		trigger = { has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag }
		text = austria.548.d_massive
	}
	desc = {
		trigger = { has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag }
		text = austria.548.d_heavy
	}
	desc = {
		trigger = { has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag }
		text = austria.548.d_significant
	}
	desc = {
		trigger = { has_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag }
		text = austria.548.d_minor
	}
	picture = GFX_report_event_vienna_opera
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		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
			has_country_flag = AUS_minor_resistance_against_centralization_bohemia_flag
		}
	}
	
	option = {
		name = austria.548.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
			}
			decrease_ps_by_one = yes
			add_political_power = -50
			add_stability = -0.02
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_ten_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.1
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else_if = {
			limit = {
				has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
			}
			add_political_power = -25
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_six_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.06
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else_if = {
			limit = {
				has_country_flag = AUS_significant_resistance_against_centralization_bohemia_flag
			}
			add_political_power = -20
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_four_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.04
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else = {
			add_political_power = -10
			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
				}
			}
		}
	}
}

#Resistance Against Centralization Measures in Croatia
country_event = {
	id = austria.549
	title = {
		trigger = { has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag }
		text = austria.549.t_massive
	}
	title = {
		trigger = { has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag }
		text = austria.549.t_heavy
	}
	title = {
		trigger = { has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag }
		text = austria.549.t_significant
	}
	title = {
		trigger = { has_country_flag = AUS_minor_resistance_against_centralization_croatia_flag }
		text = austria.549.t_minor
	}
	desc = {
		trigger = { has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag }
		text = austria.549.d_massive
	}
	desc = {
		trigger = { has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag }
		text = austria.549.d_heavy
	}
	desc = {
		trigger = { has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag }
		text = austria.549.d_significant
	}
	desc = {
		trigger = { has_country_flag = AUS_minor_resistance_against_centralization_croatia_flag }
		text = austria.549.d_minor
	}
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		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
			has_country_flag = AUS_minor_resistance_against_centralization_croatia_flag
		}
	}
	
	option = {
		name = austria.549.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
			}
			decrease_ps_by_one = yes
			add_political_power = -50
			add_stability = -0.02
			custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_ten_tt
			hidden_effect = {
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.1
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else_if = {
			limit = {
				has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
			}
			add_political_power = -25
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_six_tt
			hidden_effect = {
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.06
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else_if = {
			limit = {
				has_country_flag = AUS_significant_resistance_against_centralization_croatia_flag
			}
			add_political_power = -20
			custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_four_tt
			hidden_effect = {
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.04
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else = {
			add_political_power = -10
			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
				}
			}
		}
	}
}

#Resistance Against Centralization Measures in our Polish Lands
country_event = {
	id = austria.550
	title = {
		trigger = { has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag }
		text = austria.550.t_heavy
	}
	title = {
		trigger = { has_country_flag = AUS_significant_resistance_against_centralization_poland_flag }
		text = austria.550.t_significant
	}
	title = {
		trigger = { has_country_flag = AUS_minor_resistance_against_centralization_poland_flag }
		text = austria.550.t_minor
	}
	desc = {
		trigger = { has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag }
		text = austria.550.d_heavy
	}
	desc = {
		trigger = { has_country_flag = AUS_significant_resistance_against_centralization_poland_flag }
		text = austria.550.d_significant
	}
	desc = {
		trigger = { has_country_flag = AUS_minor_resistance_against_centralization_poland_flag }
		text = austria.550.d_minor
	}
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	trigger = {
		OR = {
			has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
			has_country_flag = AUS_significant_resistance_against_centralization_poland_flag
			has_country_flag = AUS_minor_resistance_against_centralization_poland_flag
		}
	}
	
	option = {
		name = austria.550.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
			}
			add_political_power = -25
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_polish_nationalism_by_six_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.06
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else_if = {
			limit = {
				has_country_flag = AUS_significant_resistance_against_centralization_poland_flag
			}
			add_political_power = -20
			custom_effect_tooltip = AUS_increase_polish_nationalism_by_four_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.04
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		else = {
			add_political_power = -10
			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
				}
			}
		}
	}
}

#Hungarian Tax Refusal
country_event = {
	id = austria.551
	title = austria.551.t
	desc = austria.551.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.551.a
		ai_chance = { base = 100 }
		add_ideas = AUS_idea_hungarian_tax_refusal_1
		add_political_power = -25
		add_stability = -0.025
		add_popularity = { ideology = centrism popularity = 0.05 }
		custom_effect_tooltip = AUS_enforced_enhanced_centralization_effect_tt
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_ten_tt
		hidden_effect = {
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.1
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			set_country_flag = AUS_enforced_enhanced_centralization_flag
			mark_focus_tree_layout_dirty = yes
			compute_national_vote = yes
		}
	}
}

#Central Authority Successfully Enforced
country_event = {
	id = austria.552
	title = austria.552.t
	desc = austria.552.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.552.a
		ai_chance = { base = 100 }
		complete_national_focus = AUS_focus_a_unitary_empire
		add_popularity = { ideology = autocracy popularity = 0.05 }
		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
			}
			compute_national_vote = yes
		}
	}
}

### Federalization Arrangements

#Choose Between Federalization or Dual Monarchy
country_event = {
	id = austria.576
	title = austria.576.t
	desc = austria.576.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Dual Monarchy
		name = austria.576.a
		ai_chance = {
			base = 100
			modifier = {
				add = -25
				is_historical_focus_on = no
			}
		}
		hidden_effect = {
			country_event = { id = austria.402 days = 200 }
			set_country_flag = AUS_flag_dual_monarchy_begin
		}
	}
	
	option = { #Federalization
		name = austria.576.b
		ai_chance = {
			base = 0
			modifier = {
				add = 25
				is_historical_focus_on = no
			}
		}
		hidden_effect = {
			country_event = { id = austria.577 days = 200 }
			set_country_flag = AUS_flag_federalization_1_begin
		}
	}
}

#The Vienna Conference
country_event = {
	id = austria.577
	title = austria.577.t
	desc = austria.577.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.577.a
		ai_chance = { base = 100 }
		hidden_effect = {
			country_event = { id = austria.578 days = 150 }
			set_country_flag = AUS_flag_federalization_begin
		}
	}
}

#Conference Ends
country_event = {
	id = austria.578
	title = austria.578.t
	desc = austria.578.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.578.a
		ai_chance = { base = 100 }
		hidden_effect = {
			set_country_flag = AUS_flag_federalization_1867
		}
	}
}

#Negotiate with Hungarians
country_event = {
	id = austria.579
	title = austria.579.t
	desc = austria.579.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Accept the crown of Hungary
		name = austria.579.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_two_tt
		custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_one_tt
		hidden_effect = {
			add_to_variable = {
				var = CZE_REVOLT_RISK
				value = 0.02
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
			subtract_from_variable = {
				var = HUN_REVOLT_RISK
				value = 0.01
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			set_country_flag = AUS_flag_federalization_franz_joseph_crowned_king_hun
		}
	}

	option = { #Reject the crown of Hungary
		name = austria.579.b
		ai_chance = { base = 100 }
		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
			}
		}
	}
}

#Negotiate with Slovaks
country_event = {
	id = austria.580
	title = austria.580.t
	desc = austria.580.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Accept Slovak Autonomy
		name = austria.580.a
		ai_chance = { base = 100 }
		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
			}
		}
	}
	
	option = { #All of Slovakia under Hungary
		name = austria.580.b
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_half_tt
		hidden_effect = {
			add_to_variable = {
				var = CZE_REVOLT_RISK
				value = 0.005
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}	
}

#Negotiate with the Transylvanians
country_event = {
	id = austria.581
	title = austria.581.t
	desc = austria.581.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Full Autonomy for Transylvania
		name = austria.581.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_two_tt
		custom_effect_tooltip = AUS_decrease_polish_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
			}
			subtract_from_variable = {
				var = POL_REVOLT_RISK
				value = 0.02
			}
			clamp_variable = {
				var = POL_REVOLT_RISK
				min = 0
				max = 1
			}
			set_country_flag = AUS_flag_federalization_1867_transylvania_full_autonomy
		}
	}

	option = { #Autonomy for Transylvania but Szekerland under Hungary
		name = austria.581.b
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_one_tt
		custom_effect_tooltip = AUS_decrease_polish_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
			}
			subtract_from_variable = {
				var = POL_REVOLT_RISK
				value = 0.01
			}
			clamp_variable = {
				var = POL_REVOLT_RISK
				min = 0
				max = 1
			}
			set_country_flag = AUS_flag_federalization_1867_transylvania_autonomy_not_szekerland
		}
	}
	
	option = { #All Transylvania Under Hungary
		name = austria.581.c
		ai_chance = { base = 100 }
	}
}

#Negotiate with the Croats
country_event = {
	id = austria.582
	title = austria.582.t
	desc = austria.582.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Full Autonomy with Dalmatia
		name = austria.582.a
		ai_chance = { base = 25 }
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_half_tt
		hidden_effect = {
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.005
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			set_country_flag = AUS_flag_federalization_1867_full_autonomy_croatia
		}
	}

	option = { #Autonomy without Dalmatia
		name = austria.582.b
		ai_chance = { base = 15 }
		custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_half_tt
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_half_tt
		hidden_effect = {
			add_to_variable = {
				var = HUN_REVOLT_RISK
				value = 0.005
			}
			clamp_variable = {
				var = HUN_REVOLT_RISK
				min = 0
				max = 1
			}
			add_to_variable = {
				var = CZE_REVOLT_RISK
				value = 0.005
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
			set_country_flag = AUS_flag_federalization_1867_full_autonomy_croatia
		}
	}

	option = { #Croatia under Hungary
		name = austria.582.c
		ai_chance = { base = 60 }
		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
			}
		}
	}
}

#Negotiate with the Italians
country_event = {
	id = austria.583
	title = austria.583.t
	desc = austria.583.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #If annexed Venice give it back to Lombardy-Venetia or autonomy + Trentino
		name = austria.583.a
		ai_chance = { base = 100 }
		trigger = {
			owns_state = 160
		}
		if = {
			limit = {
				LVN = { exists = yes }
			}
			LVN = {
				transfer_state = 160 
				transfer_state = 1234 
			}
			160 = {
				add_core_of = LVN
			}
			1234 = {
				add_core_of = LVN
			}
		}
		else = {
			hidden_effect = {
				set_country_flag = AUS_flag_federalization_1867_venice_and_trentino_autonomy
			}
		}
	}

	option = { #If annexed Venice give it back to Lombardy-Venetia or autonomy
		name = austria.583.b
		ai_chance = { base = 100 }
		trigger = {
			owns_state = 160
		}
		if = {
			limit = {
				LVN = { exists = yes }
			}
			LVN = {
				transfer_state = 160
			}
			160 = {
				add_core_of = LVN
			}
		}
		else = {
			hidden_effect = {
				set_country_flag = AUS_flag_federalization_1867_venice_autonomy
			}
		}
	}
	
	option = { #If not annexed Venice give it autonomy + Trentino
		name = austria.583.c
		ai_chance = { base = 100 }
		trigger = {
			NOT = {
				owns_state = 160
			}
		}
		if = {
			limit = {
				LVN = { exists = yes }
			}
			LVN = {
				transfer_state = 1234 
			}
			1234 = {
				add_core_of = LVN
			}
		}
		hidden_effect = {
			set_country_flag = AUS_flag_federalization_1867_italy_trentino_and_autonomy
		}
	}
	
	option = { #If not annexed Venice give it autonomy
		name = austria.583.e
		ai_chance = { base = 100 }
		trigger = {
			NOT = {
				owns_state = 160
			}
		}
		hidden_effect = {
			set_country_flag = AUS_flag_federalization_1867_italy_autonomy
		}
	}
}

#Negotiate with the Bohemians
country_event = {
	id = austria.584
	title = austria.584.t
	desc = austria.584.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Full Autonomy
		name = austria.584.a
		ai_chance = { base = 100 }
		hidden_effect = {
			set_country_flag = AUS_flag_federalization_1867_bohemia_autonomy
		}
	}

	option = { #Sudentenland under Austria
		name = austria.584.b
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_two_tt
		hidden_effect = {
			set_country_flag = AUS_flag_federalization_1867_bohemia_sudentenland_austrian
			add_to_variable = {
				var = CZE_REVOLT_RISK
				value = 0.02
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}

	option = { #All under Austria
		name = austria.584.c
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_four_tt
		hidden_effect = {
			set_country_flag = AUS_flag_federalization_1867_bohemia_austrian
			add_to_variable = {
				var = CZE_REVOLT_RISK
				value = 0.04
			}
			clamp_variable = {
				var = CZE_REVOLT_RISK
				min = 0
				max = 1
			}
		}
	}
}

#Negotiate with the Galicians
country_event = {
	id = austria.585
	title = austria.585.t
	desc = austria.585.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Full Autonomy for Galicia
		name = austria.585.a
		ai_chance = { base = 5 }
		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
			}
			set_country_flag = AUS_flag_federalization_1867_galicia_full_autonomy
		}
	}

	option = { #Autonomy for Cracow, rest under Austria
		name = austria.585.b
		ai_chance = { base = 15 }
		custom_effect_tooltip = AUS_decrease_polish_nationalism_by_one_tt
		hidden_effect = {
			subtract_from_variable = {
				var = POL_REVOLT_RISK
				value = 0.01
			}
			clamp_variable = {
				var = POL_REVOLT_RISK
				min = 0
				max = 1
			}
			set_country_flag = AUS_flag_federalization_1867_cracow_autonomy_not_galicia
		}
	}
	
	option = { #All Galicia Under Austria
		name = austria.585.c
		ai_chance = { base = 80 }
		hidden_effect = {
			set_country_flag = AUS_flag_federalization_1867_galicia_no_autonomy
		}
	}
}

#Negotiate with the Serbians
country_event = {
	id = austria.586
	title = austria.586.t
	desc = austria.586.d
	picture = GFX_report_event_budapest_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.586.a
		ai_chance = { base = 100 }
		hidden_effect = {
			set_country_flag = AUS_flag_federalization_1867_serbia_no_autonomy
		}
	}
}

##### ARMY EVENTS (austria.601-800) #####

### Austrian Army Reform Events

#Degenfeld Appointed Army Theorist
country_event = {
	id = austria.601
	title = austria.601.t
	desc = austria.601.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.601.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_appointed_degenfeld_effect_tt
		unlock_decision_category_tooltip = AUS_decision_category_austrian_army
		add_war_support = 0.05
		if = {
			limit = {
				NOT = {
					has_doctrine = victorian_aggressive_tactics_doctrine # Subdoctrine
				}
			}
			set_sub_doctrine = victorian_aggressive_tactics_doctrine
		}
		AUS_august_von_degenfeld = {
			add_advisor_role = {
				advisor = {
					cost = 150
					slot = theorist
					idea_token = AUS_august_von_degenfeld_theorist
					ledger = army
					traits = {
						AUS_trait_theorist_degenfeld
					}
					#research_bonus = {
					#	doctrine_victorian_innovative_tech = 0.1
					#}
				}
				activate = yes
			}
		}
		activate_mission_tooltip = AUS_mission_degenfelds_army_reform_plans
		hidden_effect = {
			activate_mission = AUS_mission_degenfelds_army_reform_plans
		}
	}
}

#Benedek Appointed Army Theorist
country_event = {
	id = austria.621
	title = austria.621.t
	desc = austria.621.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.621.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_appointed_benedek_effect_tt
		unlock_decision_category_tooltip = AUS_decision_category_austrian_army
		add_war_support = 0.05
		if = {
			limit = {
				NOT = {
					has_doctrine = victorian_deep_battles_doctrine # Subdoctrine
				}
			}
			set_sub_doctrine = victorian_deep_battles_doctrine
		}
		AUS_ludwig_von_benedek = {
			add_advisor_role = {
				advisor = {
					cost = 150
					slot = theorist
					idea_token = AUS_theorist_ludwig_von_benedek
					ledger = army
					traits = {
						AUS_trait_theorist_benedek
					}
				}
				activate = yes
			}
		}
		activate_mission_tooltip = AUS_mission_benedeks_army_reform_plans
		hidden_effect = {
			activate_mission = AUS_mission_benedeks_army_reform_plans
		}
	}
}

#Invest in Special Training for Military Railway Department?
country_event = {
	id = austria.623
	title = austria.623.t
	desc = austria.623.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {	#Yes
		name = austria.623.a
		ai_chance = {
			base = 100
			modifier = {
				add = -75
				has_political_power < 25
			}
			modifier = {
				add = -25
				has_political_power < 5
			}
		}
		add_political_power = -10
		add_command_power = -10
		hidden_effect = {
			random_list = {
				60 = {
					country_event = { id = austria.624 days = 180 }
				}
				40 = {
					country_event = { id = austria.625 days = 180 }
				}
			}
		}
	}
	
	option = {	#No
		name = austria.623.b
		ai_chance = {
			base = 0
			modifier = {
				add = 75
				has_political_power < 25
			}
			modifier = {
				add = 25
				has_political_power < 5
			}
		}
	}
}

#Training for Military Railway Department Finished
country_event = {
	id = austria.624
	title = austria.624.t
	desc = austria.624.d
	picture = GFX_report_event_austrian_army_1
	
    is_triggered_only = yes
	
	option = {	#Yes
		name = austria.624.a
		ai_chance = {
			base = 100
			modifier = {
				add = -75
				has_political_power < 25
			}
			modifier = {
				add = -25
				has_political_power < 5
			}
		}
		add_political_power = -10
		add_command_power = -10
		hidden_effect = {
			random_list = {
				60 = {
					country_event = { id = austria.624 days = 180 }
				}
				40 = {
					country_event = { id = austria.625 days = 180 }
				}
			}
		}
	}
	
	option = {	#No
		name = austria.624.b
		ai_chance = {
			base = 0
			modifier = {
				add = 75
				has_political_power < 25
			}
			modifier = {
				add = 25
				has_political_power < 5
			}
		}
	}
}

#Training for Military Railway Department Finished
country_event = {
	id = austria.625
	title = austria.625.t
	desc = austria.625.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.625.a
		ai_chance = { base = 100 }
		army_experience = 25
		add_tech_bonus = { bonus = 0.5 uses = 1 category = trains_tech }
	}
}

#Österreichische Militärische Zeitschrift
country_event = {
	id = austria.676
	title = austria.676.t
	desc = austria.676.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	option = {
		name = austria.676.a
		ai_chance = { base = 100 }
		army_experience = 50
	}
}

#Breechloader Development Successful
country_event = {
	id = austria.651
	title = austria.651.t
	desc = austria.651.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
    is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			set_country_flag = AUS_breechloader_prototype_developed_flag
		}
	}
	
	option = {
		name = austria.651.a
		ai_chance = { base = 100 }
		army_experience = 5
		unlock_decision_tooltip = AUS_decision_optimize_breechloader_rifle_for_mass_production
	}
}

#Breechloader Development Failed
country_event = {
	id = austria.652
	title = austria.652.t
	desc = austria.652.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = no
    is_triggered_only = yes
	
	option = {
		name = austria.652.a
		ai_chance = { base = 100 }
		add_political_power = -25
		unlock_decision_tooltip = AUS_decision_invest_in_breechloader_development
	}
}

### Generals Events

#Retire Ferenc Gyulay
country_event = {
	id = austria.701
	title = austria.701.t
	desc = austria.701.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	
	trigger = {
		tag = AUS
		date > 1859.05.15
		has_character = AUS_ferenc_gyulay
		LVN = {
			has_war_with = PIE
			surrender_progress > 0.1
		}
	}
	
	option = { #Retire him, Heß will take over      
		name = austria.701.a 
		ai_chance = { base = 75 }
		AUS_heinrich_von_hess = {
			remove_unit_leader_role = yes
			add_field_marshal_role = {
				traits = { politically_connected }
				skill = 3
					attack_skill = 2 
					defense_skill = 2
					planning_skill = 3
					logistics_skill = 3 
			}
		}
		retire_character = AUS_ferenc_gyulay
	}
	
	option = { #Do not Retire him      
		name = austria.701.b
		trigger = {
			command_power > 99.9
		}
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = -25
		add_command_power = -100
	}
}

#Retire Heinrich von Hess
country_event = {
	id = austria.702
	title = austria.702.t
	desc = austria.702.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Retire him
		name = austria.702.a
		ai_chance = { base = 100 }
		AUS_heinrich_von_hess = {
			remove_unit_leader_role = yes
		}
	}
	
	option = { #Do not Retire him
		name = austria.702.b
		trigger = {
			command_power > 49.9
		}
		ai_chance = { base = 0 }
		add_command_power = -50
	}
}

#Retire Eduard Clam-Gallas
country_event = {
	id = austria.703
	title = austria.703.t
	desc = austria.703.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Retire him
		name = austria.703.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_character = AUS_eduard_clam_gallas
			}
			retire_character = AUS_eduard_clam_gallas
		}
	}
	
	option = { #Do not Retire him
		name = austria.703.b
		trigger = {
			command_power > 74.9
		}
		ai_chance = { base = 0 }
		add_command_power = -75
	}
}

#Make Leopold Gondrecourt Tutor of Rudolf
country_event = {
	id = austria.704
	title = austria.704.t
	desc = austria.704.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.704.a
		ai_chance = { base = 100 }
	}
}

#Retire Leopold Gondrecourt as Tutor
country_event = {
	id = austria.705
	title = austria.705.t
	desc = austria.705.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.705.a
		ai_chance = { base = 100 }
	}
}

#Promote Kuhnenfeld as General
country_event = {
	id = austria.706
	title = austria.706.t
	desc = austria.706.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.706.a
		ai_chance = { base = 100 }
		AUS_franz_kuhn_von_kuhnenfeld = {
			add_corps_commander_role = {
				traits = { trait_mountaineer }
				skill = 3
					attack_skill = 2
					defense_skill = 4
					planning_skill = 3
					logistics_skill = 2
			}
		}
	}
}

#Promote Archduke Wilhelm
country_event = {
	id = austria.707
	title = austria.707.t
	desc = austria.707.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.707.a
		ai_chance = { base = 100 }
		AUS_wilhelm_von_osterreich = {
			add_corps_commander_role = {
				traits = { bearer_of_artillery politically_connected }
				skill = 2
					attack_skill = 1
					defense_skill = 3
					planning_skill = 2
					logistics_skill = 2
			}
		}
	}
}

#Promote Leopold Gondrecourt
country_event = {
	id = austria.708
	title = austria.708.t
	desc = austria.708.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.708.a
		ai_chance = { base = 100 }
		AUS_leopold_gondrecourt = {
			add_corps_commander_role = {
				traits = { skilled_staffer politically_connected }
				skill = 3
					attack_skill = 2
					defense_skill = 2
					planning_skill = 2
					logistics_skill = 3
			}
		}
	}
}

##### NAVY EVENTS (austria.801-900) #####

### Austrian Navy Events

#The Austrian Navy - Info
country_event = {
	id = austria.801
	title = austria.801.t
	desc = austria.801.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.801.a
		ai_chance = { base = 100 }
	}
}

#Salvacoste
country_event = {
	id = austria.802
	title = austria.802.t
	desc = austria.802.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.802.a
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Incorporation of the Flottillenkorps
country_event = {
	id = austria.803
	title = austria.803.t
	desc = austria.803.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.803.a
		ai_chance = { base = 100 }
		navy_experience = 5
		hidden_effect = {
			create_equipment_variant = {
				name = "Paddle River Gunboat"
				type = ship_hull_gunboat_1
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_0
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_paddle_gunboat
					fixed_ship_armor_slot = empty
					mid_1_custom_slot = empty
					mid_2_custom_slot = empty
				}
				obsolete = yes
			}
			create_equipment_variant = {
				name = "Screw River Gunboat"
				type = ship_hull_gunboat_1
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_0
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_armor_slot = empty
					mid_1_custom_slot = empty
					mid_2_custom_slot = empty
				}
				
			}
			load_oob = AUS_flottillenkorps_naval_mtg
		}
	}
}

#Drache-Class Ironclads
country_event = {
	id = austria.804
	title = austria.804.t
	desc = austria.804.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.804.a
		ai_chance = { base = 100 }
		navy_experience = 5
		hidden_effect = {
			create_equipment_variant = {
				name = "Drache-Klasse"
				type = ship_hull_ironclad_0
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_paddle_cruiser
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_cannon_battery_1
					mid_2_custom_slot = ship_cannon_battery_1
					front_1_custom_slot = ship_cannon_battery_1
					rear_1_custom_slot = ship_cannon_battery_1
				}
				
			}
			load_oob = AUS_drache_ironclads_naval_mtg
		}
	}
}

#Kaiser Max-Class Ironclads
country_event = {
	id = austria.805
	title = austria.805.t
	desc = austria.805.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { 
		name = austria.805.a
		ai_chance = { base = 100 }
		navy_experience = 5
		hidden_effect = {
			create_equipment_variant = {
				name = "Kaiser Max-Klasse"
				type = ship_hull_ironclad_0
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_cruiser
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_cannon_battery_1
					mid_2_custom_slot = ship_cannon_battery_1
					front_1_custom_slot = ship_cannon_battery_1
					rear_1_custom_slot = ship_cannon_battery_1
				}
			}
			load_oob = AUS_kaiser_max_ironclads_naval_mtg
		}
	}
}

#Erzherzog Ferdinand Max-Class Ironclads
country_event = {
	id = austria.806
	title = austria.806.t
	desc = austria.806.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { 
		name = austria.806.a
		ai_chance = { base = 100 }
		navy_experience = 5
		hidden_effect = {
			create_equipment_variant = {
				name = "Erzherzog Ferdinand Max-Klasse"
				type = ship_hull_ironclad_1
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_cruiser
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_cannon_battery_1
					mid_2_custom_slot = ship_cannon_battery_1
					front_1_custom_slot = ship_cannon_battery_1
					rear_1_custom_slot = ship_cannon_battery_1
				}
			}
			load_oob = AUS_erzherzog_ferdinand_max_ironclads_naval_mtg
		}
	}
}

#Protection of Interests Mission Successful
country_event = {
	id = austria.807
	title = austria.807.t
	desc = austria.807.d
	picture = GFX_report_event_sms_drache
	
	is_triggered_only = yes
	
	option = {
		name = austria.807.a
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Protection of Interests Mission Failed
country_event = {
	id = austria.808
	title = austria.808.t
	desc = austria.808.d
	picture = GFX_report_event_sms_drache
	
	is_triggered_only = yes
	
	option = {
		name = austria.808.a
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}

#Naval Expedition Successful
country_event = {
	id = austria.809
	title = austria.809.t
	desc = austria.809.d
	picture = GFX_report_event_sms_drache
	
	is_triggered_only = yes
	
	option = {
		name = austria.809.a
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		random_list = {
			20 = {
				add_tech_bonus = { bonus = 0.25 uses = 1 category = biochemistry_tech }
			}
			5 = {
				add_tech_bonus = { bonus = 0.25 uses = 1 category = mechanical_engineering_tech }
			}
			5 = {
				add_tech_bonus = { bonus = 0.25 uses = 1 category = naval_equipment }
			}
			70 = {
				#
			}
		}
	}
}

#Naval Expedition Failed
country_event = {
	id = austria.810
	title = austria.810.t
	desc = austria.810.d
	picture = GFX_report_event_sms_drache
	
	is_triggered_only = yes
	
	option = {
		name = austria.810.a
		ai_chance = { base = 100 }
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}

#A Screw Gunboat Prototype
country_event = {
	id = austria.811
	title = austria.811.t
	desc = austria.811.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {	#Yes
		name = austria.811.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_screw_gunboat_prototype_effect_tt
		add_political_power = -20
		navy_experience = 5
		hidden_effect = {
			create_equipment_variant = {
				name = "Screw Gunboat"
				type = ship_hull_gunboat_2
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_cannon_battery_1
					mid_2_custom_slot = ship_cannon_battery_1
				}
			}
			load_oob = AUS_mowe_gunboat_prototype_naval_mtg
		}
	}
	
	option = {	#No
		name = austria.811.b
		ai_chance = { base = 0 }
		hidden_effect = {
			create_equipment_variant = {
				name = "Screw Gunboat"
				type = ship_hull_gunboat_2
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_armor_slot = ship_armor_capital_hardwood_0
					mid_1_custom_slot = ship_cannon_battery_1
					mid_2_custom_slot = ship_cannon_battery_1
				}
			}
		}
	}
}

#Gunboats Ordered 1
country_event = {
	id = austria.812
	title = austria.812.t
	desc = austria.812.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.812.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_screw_gunboat_first_series_effect_tt
		navy_experience = 5
		unlock_decision_tooltip = AUS_decision_order_screw_gunboats_2
		hidden_effect = {
			create_equipment_variant = {
				name = "Screw Gunboat"
				type = ship_hull_gunboat_2
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_cannon_battery_1
					mid_2_custom_slot = ship_cannon_battery_1
				}
				
			}
			load_oob = AUS_screw_gunboats_1_naval_mtg
			set_country_flag = AUS_first_screw_gunboat_series_delivered_flag
		}
	}
}

#Gunboats Ordered 2
country_event = {
	id = austria.813
	title = austria.813.t
	desc = austria.813.d
	picture = GFX_report_event_sms_drache
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.813.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_screw_gunboat_second_series_effect_tt
		navy_experience = 5
		hidden_effect = {
			create_equipment_variant = {
				name = "Screw Gunboat"
				type = ship_hull_gunboat_2
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_cannon_battery_1
					mid_2_custom_slot = ship_cannon_battery_1
				}
			}
			load_oob = AUS_screw_gunboats_2_naval_mtg
		}
	}
}

#SMS Novara docks in Gibraltar
country_event = {
	id = austria.814
	title = austria.814.t
	desc = austria.814.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#date > 1857.05.19
	#date < 1857.05.22
	
	option = {
		name = austria.814.a
		hidden_effect = {
			AUS = { country_event = { id = austria.815 days = 85 } } # Added Delays
		}
	}
}

#SMS Novara docks in Rio de Janeiro
country_event = {
	id = austria.815
	title = austria.815.t
	desc = austria.815.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes 
	is_triggered_only = yes
	
	#date > 1857.08.04
	#date < 1857.08.12
	
	option = {
		name = austria.815.a
		hidden_effect = {
			AUS = { country_event = { id = austria.816 days = 57 } }
		}
	}
}

#SMS Novara docks in Cape Town
country_event = {
	id = austria.816
	title = austria.816.t
	desc = austria.816.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#date > 1857.10.01
	#date < 1857.10.06
	
	option = {
		name = austria.816.a
		hidden_effect = {
			AUS = { country_event = { id = austria.817 days = 49 } }
		}
	}
}

#SMS Novara docks in St. Paul
country_event = {
	id = austria.817
	title = austria.817.t
	desc = austria.817.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#date > 1857.11.18
	#date < 1857.11.24
	
	option = {
		name = austria.817.a
		hidden_effect = {
			AUS = { country_event = { id = austria.818 days = 58 } }
		}
	}
}

#SMS Novara docks in India
country_event = {
	id = austria.818
	title = austria.818.t
	desc = austria.818.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#date > 1858.01.07
	#date < 1858.01.12
	
	option = {
		name = austria.818.a
		hidden_effect = {
			AUS = { country_event = { id = austria.819 days = 95 } }
		}
    }
}

#SMS Novara docks in Singapore
country_event = {
	id = austria.819
	title = austria.819.t
	desc = austria.819.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#date > 1858.04.14
	#date < 1858.04.17
	
	option = {
		name = austria.819.a
		hidden_effect = {
			AUS = { country_event = { id = austria.820 days = 19 } }
		}
	}
}

#SMS Novara docks in Java
country_event = {
	id = austria.820
	title = austria.820.t
	desc = austria.820.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes

	#date > 1858.05.04
	#date < 1858.05.08
	
	option = {
		name = austria.820.a
		hidden_effect = {
			AUS = { country_event = { id = austria.821 days = 47 } }
		}
	}
}

#SMS Novara docks in Manila
country_event = {
	id = austria.821
	title = austria.821.t
	desc = austria.821.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes

	#date > 1858.06.14
	#date < 1858.06.18
	
	option = {
		name = austria.821.a
		hidden_effect = {
			AUS = { country_event = { id = austria.822 days = 32 } }
		}
	}
}

#SMS Novara docks in China
country_event = {
	id = austria.822
	title = austria.822.t
	desc = austria.822.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes

	#date > 1858.07.04
	#date < 1858.07.09

	option = {
		name = austria.822.a
		hidden_effect = {
			AUS = { country_event = { id = austria.823 days = 113 } }
		}
	}
}

#SMS Novara docks in Oceania
country_event = {
	id = austria.823
	title = austria.823.t
	desc = austria.823.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes

	#date > 1858.11.04
	#date < 1858.11.09

	option = {
		name = austria.823.a
		hidden_effect = {
			AUS = { country_event = { id = austria.824 days = 62 } }
		}
	}
}

#SMS Novara Travels Through Pacific
country_event = {
	id = austria.824
	title = austria.824.t
	desc = austria.824.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes

	#date > 1859.01.07
	#date < 1859.01.12

	option = {
		name = austria.824.a
		hidden_effect = {
			AUS = { country_event = { id = austria.825 days = 92 } }
		}
	}
}

#SMS Novara Docks in South America
country_event = {
	id = austria.825
	title = austria.825.t
	desc = austria.825.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes

	#date > 1859.04.16
	#date < 1859.04.20

	option = {
		name = austria.825.a
		hidden_effect = {
			AUS = { country_event = { id = austria.826 days = 118 } }
		}
	}
}

#SMS Novara Circumnavigates The Globe
country_event = {
	id = austria.826
	title = austria.826.t
	desc = austria.826.d
	picture = GFX_report_event_generic_sailship
	
	fire_only_once = yes
	is_triggered_only = yes

	#date > 1859.08.25
	#date < 1859.08.27

	option = {
		name = austria.826.a 
		AUS_bernhard_von_wullerstorf_urbair = {
			add_naval_commander_role = {
				traits = { blue_water_expert navy_media_personality }
				skill = 3
					attack_skill = 2
					defense_skill = 2
					planning_skill = 3
					logistics_skill = 3
			}
		}
		AUS_friedrich_von_pock = {
			add_naval_commander_role = {
				traits = { blue_water_expert }
				skill = 2
					attack_skill = 1
					defense_skill = 2
					planning_skill = 3
					logistics_skill = 2
			}
		}
		add_tech_bonus = {
			bonus = 0.75
			uses = 1
			category = biochemistry_tech
		}
		set_temp_variable = { eoanb_prestige_change = 5 }
		eoanb_change_prestige_score = yes
		custom_effect_tooltip = AUS_tt_SMS_Novara
		hidden_effect = {
			create_equipment_variant = {
				name = "Sail Frigate Class"
				type = ship_hull_frigate_1
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_0
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_sail_2
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = empty
					mid_2_custom_slot = ship_cannon_battery_1
					mid_3_custom_slot = empty
					front_1_custom_slot = empty
					rear_1_custom_slot = empty
				}
			}
			load_oob = AUS_novara_naval_mtg
			set_country_flag = AUS_novara_expedition_returned_flag
		}
		
	}
}

##### ECONOMY (austria.901-999) #####

### Debt Crisis

#The Empire's Financial Crisis
country_event = {
	id = austria.901
	title = austria.901.t
	desc = austria.901.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.901.a
		ai_chance = { base = 100 }
	}
}

#Austrian Empire Debt-Free
country_event = {
	id = austria.902
	title = austria.902.t
	desc = austria.902.d
	picture = GFX_report_event_vienna_1
	
	is_triggered_only = yes

	option = {
		name = austria.902.a
		ai_chance = { base = 100 }
		add_political_power = 50
		hidden_effect = {
			clr_country_flag = debt_free_flag
			#remove_decision = AUS_decision_debt_repayments_done #Needs to transition to the new economy system @skoodge
			set_temp_variable = { loans_amount = -3 }
			take_loan_without_inflation_effect = yes
		}
	}
}

#A Debt Repayment Has Been Made
country_event = {
	id = austria.903
	title = austria.903.t
	desc = austria.903.d
	picture = GFX_report_event_vienna_1
	
	is_triggered_only = yes

	option = {
		name = austria.903.a
		ai_chance = { base = 100 }
		hidden_effect = {
			#remove_decision = AUS_decision_debt_repayments_done #Needs to transition to the new economy system @skoodge
		}
	}
}

#Reduced Army Budget Eases Debt Burden
country_event = {
	id = austria.904
	title = austria.904.t
	desc = austria.904.d
	picture = GFX_report_event_vienna_1
	
	is_triggered_only = yes
	
	trigger = {
		OR = {
			has_idea = army_spending_level_4
			has_idea = army_spending_level_3
			has_idea = army_spending_level_2
		}
		OR = {
			has_country_flag = AUS_army_budget_was_three_percent
			has_country_flag = AUS_army_budget_was_five_percent
			has_country_flag = AUS_army_budget_was_ten_percent
		}
		set_temp_variable = { loan_size_to_check = 0 }
    	has_less_than_specific_loan_size = no
	}

	option = {
		name = austria.904.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				OR = {
					AND = {
						has_country_flag = AUS_army_budget_was_five_percent
						has_country_flag = AUS_army_budget_was_ten_percent
					}
					AND = {
						has_country_flag = AUS_army_budget_was_three_percent
						has_country_flag = AUS_army_budget_was_five_percent
					}
				}
			}
		}
		else_if = {
			limit = {
				OR = {
					AND = {
						NOT = { has_country_flag = AUS_army_budget_was_three_percent }
						NOT = { has_country_flag = AUS_army_budget_was_five_percent }
						has_country_flag = AUS_army_budget_was_ten_percent
					}
					AND = {
						NOT = { has_country_flag = AUS_army_budget_was_three_percent }
						has_country_flag = AUS_army_budget_was_five_percent
						NOT = { has_country_flag = AUS_army_budget_was_ten_percent }
					}
					AND = {
						has_country_flag = AUS_army_budget_was_three_percent
						NOT = { has_country_flag = AUS_army_budget_was_five_percent }
						NOT = { has_country_flag = AUS_army_budget_was_ten_percent }
					}
				}
			}
		}
		hidden_effect = {
			country_event = { id = austria.905 days = 365 }
		}
	}
}

#Reduced Army Budget Eases Debt Burden Further
country_event = {
	id = austria.905
	title = austria.905.t
	desc = austria.905.d
	picture = GFX_report_event_vienna_1
	
	is_triggered_only = yes
	
	trigger = {
		OR = {
			has_idea = army_spending_level_4
			has_idea = army_spending_level_3
			has_idea = army_spending_level_2
		}
		OR = {
			has_country_flag = AUS_army_budget_was_three_percent
			has_country_flag = AUS_army_budget_was_five_percent
			has_country_flag = AUS_army_budget_was_ten_percent
		}
		set_temp_variable = { loan_size_to_check = 0 }
    	has_less_than_specific_loan_size = no
	}

	option = {
		name = austria.905.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				OR = {
					AND = {
						has_country_flag = AUS_army_budget_was_five_percent
						has_country_flag = AUS_army_budget_was_ten_percent
					}
					AND = {
						has_country_flag = AUS_army_budget_was_three_percent
						has_country_flag = AUS_army_budget_was_five_percent
					}
				}
			}
		}
		else_if = {
			limit = {
				OR = {
					AND = {
						NOT = { has_country_flag = AUS_army_budget_was_three_percent }
						NOT = { has_country_flag = AUS_army_budget_was_five_percent }
						has_country_flag = AUS_army_budget_was_ten_percent
					}
					AND = {
						NOT = { has_country_flag = AUS_army_budget_was_three_percent }
						has_country_flag = AUS_army_budget_was_five_percent
						NOT = { has_country_flag = AUS_army_budget_was_ten_percent }
					}
					AND = {
						has_country_flag = AUS_army_budget_was_three_percent
						NOT = { has_country_flag = AUS_army_budget_was_five_percent }
						NOT = { has_country_flag = AUS_army_budget_was_ten_percent }
					}
				}
			}
		}
	}
}

#Newspaper Tax Reduces Debt Burden
country_event = {
	id = austria.906
	title = austria.906.t
	desc = austria.906.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_newspaper_tax
		set_temp_variable = { loan_size_to_check = 0 }
    	has_less_than_specific_loan_size = no
	}

	option = {
		name = austria.906.a
		ai_chance = { base = 100 }
		add_political_power = 20
		hidden_effect = {
			country_event = { id = austria.907 days = 730 }
		}
	}
}

#Newspaper Tax Reduces Debt Burden Further
country_event = {
	id = austria.907
	title = austria.907.t
	desc = austria.907.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		has_idea = AUS_idea_newspaper_tax
		set_temp_variable = { loan_size_to_check = 0 }
    	has_less_than_specific_loan_size = no
	}

	option = {
		name = austria.907.a
		ai_chance = { base = 100 }
		add_political_power = 20
	}
}

#HIDDEN EVENT: Growing Debt Burden due to High Army Budget?
country_event = {
	id = austria.908
	title = austria.908.t
	
	hidden = yes
	fire_only_once = no
	is_triggered_only = yes
	
	trigger = {
		NOT = {
			OR = {
				has_idea = army_spending_level_2
				has_idea = army_spending_level_3
			}
		}
		set_temp_variable = { loan_size_to_check = 0 }
    	has_less_than_specific_loan_size = no
	}

	immediate = {
		random_list = {
			75 = {
				country_event = { id = austria.909 days = 180 random_days = 90 }
			}
			25 = {
				#
			}
		}
		country_event = { id = austria.908 days = 365 }
	}
}

#Growing Debt Burden due to High Army Budget
country_event = {
	id = austria.909
	title = austria.909.t
	desc = austria.909.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		set_temp_variable = { loan_size_to_check = 0 }
    	has_less_than_specific_loan_size = no
	}

	option = {
		name = austria.909.a
		ai_chance = { base = 100 }
		set_temp_variable = { loans_amount = 1 }
		take_loan_without_inflation_effect = yes		
	}
}

### Austrian Economy Events

#Vienna Urbanization
country_event = {
	id = austria.931
	title = austria.931.t
	desc = austria.931.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.931.a
		ai_chance = { base = 100 }
		956 = { add_extra_state_shared_building_slots = 2 }
		956 = { set_state_category = metropolis }
		956 = { add_dynamic_modifier = { modifier = dynmod_AUS_urbanization } }
		set_temp_variable = { eoanb_prestige_change = 2 }
		eoanb_change_prestige_score = yes
	}
}

#Moravian Manchester
country_event = {
	id = austria.932
	title = austria.932.t
	desc = austria.932.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.932.a
		ai_chance = { base = 100 }
		75 = { add_dynamic_modifier = { modifier = dynmod_AUS_moravian_manchester } }
		activate_mission = AUS_mission_moravian_manchester
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Montanuniversität Leoben
country_event = {
	id = austria.933
	title = austria.933.t
	desc = austria.933.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.933.a
		ai_chance = { base = 100 }
		add_timed_idea = {
			idea = AUS_idea_mountanuniversitat_leoben
			days = 800
		}
	}
}

#Hungarian_Gold
country_event = {
	id = austria.934
	title = austria.934.t
	desc = austria.934.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.934.a
		ai_chance = { base = 100 }
		add_timed_idea = {
			idea = AUS_idea_hungarian_gold
			days = 1800
		}
		EOANBSYS_institutions_innovative_add_one = yes
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Danube Regulation Work around Vienna?
country_event = {
	id = austria.935
	title = austria.935.t
	desc = austria.935.d
	#picture = GFX_radecký_event_001_event_image
	
	fire_only_once = yes
	is_triggered_only = yes

	#date = 1868.9.12
	
	#Go ahead
	option = {
		name = austria.935.a
		add_political_power = -20
		#activate_decision = 
	}
	
	#No need
	option = {
		name = austria.935.b
	}
}

### Panic of 1873

#Initiation
country_event = {
	id = austria.951
	title = austria.951.t
	desc = austria.951.d
	picture = GFX_report_event_vienna_stock_exchange_crash
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = austria.951.a

		complete_national_focus = AUS_the_panic_of_1873 
		unlock_decision_category_tooltip = AUH_decision_category_panic_of_1873
		custom_effect_tooltip = eighteenseventhreecrisis_panic_of_1873_damage_tt
		add_dynamic_modifier = { modifier = dynmod_AUS_panic_of_1873 }
		hidden_effect = {
			set_country_flag = {
				flag = AUS_panic_decision_counter_1
				value = 0
			}
			### Civilian Industry - Businesses in trouble
			random_owned_controlled_state = {
				prioritize = { 956 }
				if = {
					limit = { industrial_complex > 0 }
					damage_building = {
						type = industrial_complex
						damage = 0.95
					}
				}
				if = {
					limit = { industrial_complex > 1 }
					damage_building = {
						type = industrial_complex
						damage = 0.65
					}
				}
				set_state_flag = AUS_the_panic_of_1873_civ
			}
			random_owned_controlled_state = {
				if = {
					limit = { industrial_complex > 0 }
					damage_building = {
						type = industrial_complex
						damage = 0.95
					}
				}
				if = {
					limit = { industrial_complex > 1 }
					damage_building = {
						type = industrial_complex
						damage = 0.65
					}
				}
				set_state_flag = AUS_the_panic_of_1873_civ
			}
			random_owned_controlled_state = {
				if = {
					limit = { industrial_complex > 0 }
					damage_building = {
						type = industrial_complex
						damage = 0.95
					}
				}
				if = {
					limit = { industrial_complex > 1 }
					damage_building = {
						type = industrial_complex
						damage = 0.65
					}
				}
				set_state_flag = AUS_the_panic_of_1873_civ
			}
			random_owned_controlled_state = {
				if = {
					limit = { industrial_complex > 0 }
					damage_building = {
						type = industrial_complex
						damage = 0.95
					}
				}
				if = {
					limit = { industrial_complex > 1 }
					damage_building = {
						type = industrial_complex
						damage = 0.65
					}
				}
				set_state_flag = AUS_the_panic_of_1873_civ
			}
			### Civilian Industry - Businesses going bankrupt
			random_owned_controlled_state = {
				limit = { 
					industrial_complex > 0 
					NOT = { 
						OR = {
							has_state_flag = AUS_the_panic_of_1873_civ
							has_state_flag = AUS_the_panic_of_1873_civr
						}
					}
				}
				remove_building = {
					type = industrial_complex
					level = 1
				}
				set_state_flag = AUS_the_panic_of_1873_civr
			}
			random_owned_controlled_state = {
				limit = { 
					industrial_complex > 0 
					NOT = { 
						OR = {
							has_state_flag = AUS_the_panic_of_1873_civ
							has_state_flag = AUS_the_panic_of_1873_civr
						}
					}
				}
				remove_building = {
					type = industrial_complex
					level = 1
				}
				set_state_flag = AUS_the_panic_of_1873_civr
			}
			### Railways in trouble
			random_owned_controlled_state = {
				limit = { 
					rail_way > 3 
				}
				damage_building = {
					type = rail_way
					damage = 1
				}
				set_state_flag = AUS_the_panic_of_1873_inf
			}
			random_owned_controlled_state = {
				limit = { 
					rail_way > 3 
					NOT = { has_state_flag = AUS_the_panic_of_1873_inf } 
				}
				damage_building = {
					type = rail_way
					damage = 0.85
				}
				set_state_flag = AUS_the_panic_of_1873_inf
			}
			random_owned_controlled_state = {
				limit = { 
					rail_way > 3 
					NOT = { has_state_flag = AUS_the_panic_of_1873_inf } 
				}
				damage_building = {
					type = rail_way
					damage = 0.79
				}
				set_state_flag = AUS_the_panic_of_1873_inf
			}
			random_owned_controlled_state = {
				limit = { 
					rail_way > 3 
					NOT = { has_state_flag = AUS_the_panic_of_1873_inf } 
				}
				damage_building = {
					type = rail_way
					damage = 0.95
				}
				set_state_flag = AUS_the_panic_of_1873_inf
			}
			random_owned_controlled_state = {
				limit = { 
					rail_way > 3 
					NOT = { has_state_flag = AUS_the_panic_of_1873_inf } 
				}
				damage_building = {
					type = rail_way
					damage = 0.87
				}
				set_state_flag = AUS_the_panic_of_1873_inf
			}
			### Military Industry - Businesses in trouble
			random_owned_controlled_state = {
				limit = { 
					arms_factory > 0 
					NOT = { has_state_flag = AUS_the_panic_of_1873_mil } 
				}
				remove_building = {
					type = arms_factory
					level = 1
				}
				set_state_flag = AUS_the_panic_of_1873_mil
			}
			random_owned_controlled_state = {
				limit = { 
					arms_factory > 0 
				}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				set_state_flag = AUS_the_panic_of_1873_mil
			}
			random_owned_controlled_state = {
				limit = { 
					arms_factory > 0 
					NOT = { has_state_flag = AUS_the_panic_of_1873_mil } 
				}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				set_state_flag = AUS_the_panic_of_1873_mil
			}
			random_owned_controlled_state = {
				limit = { 
					arms_factory > 0 
					NOT = { has_state_flag = AUS_the_panic_of_1873_mil } 
				}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				set_state_flag = AUS_the_panic_of_1873_mil
			}
			random_owned_controlled_state = {
				limit = { 
					arms_factory > 0 
					NOT = { has_state_flag = AUS_the_panic_of_1873_mil } 
				}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				if = {
					limit = { arms_factory > 1 }
					damage_building = {
						type = arms_factory
						damage = 0.94
					}
				}
				set_state_flag = AUS_the_panic_of_1873_mil
			}
			random_owned_controlled_state = {
				limit = { 
					arms_factory > 0 
					NOT = { has_state_flag = AUS_the_panic_of_1873_mil } 
				}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				if = {
					limit = { arms_factory > 1 }
					damage_building = {
						type = arms_factory
						damage = 0.86
					}
				}
				set_state_flag = AUS_the_panic_of_1873_mil
			}
			random_owned_controlled_state = {
				limit = { 
					arms_factory > 0 
					NOT = { has_state_flag = AUS_the_panic_of_1873_mil } 
				}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				set_state_flag = AUS_the_panic_of_1873_mil
			}
			### Naval Industry
			random_owned_controlled_state = {
				limit = { 
					dockyard > 0 
					NOT = { has_state_flag = AUS_the_panic_of_1873_nav } 
				}
				damage_building = {
					type = dockyard
					damage = 0.91
				}
				set_state_flag = AUS_the_panic_of_1873_nav
			}
			random_owned_controlled_state = {
				limit = { 
					dockyard > 0 
					NOT = { has_state_flag = AUS_the_panic_of_1873_nav } 
				}
				damage_building = {
					type = dockyard
					damage = 0.54
				}
				set_state_flag = AUS_the_panic_of_1873_nav
			}
			### Flags Removed, inf removed in focuses
			every_owned_state = {
				limit = { 
				OR = {
					has_state_flag = AUS_the_panic_of_1873_civ
					has_state_flag = AUS_the_panic_of_1873_mil
					has_state_flag = AUS_the_panic_of_1873_nav
				}
				}
				clr_state_flag = AUS_the_panic_of_1873_civ
				clr_state_flag = AUS_the_panic_of_1873_mil
				clr_state_flag = AUS_the_panic_of_1873_nav
			}
		}
    }		     
}
