add_namespace = saxony

#saxony.1-200	Starting, General Information and Flavour Events
#saxony.201-500	Political and War Events
#saxony.501-700	Economy and Trade Events
#saxony.701-900	Military Events
#saxony.901-999	Parliamentary Events

##### STARTING, GENERAL INFO AND FLAVOR EVENTS (saxony.1-200) #####

### STARTING EVENTS (saxony.1-10) ###

#The Kingdom of Saxony – Starting Situation: Domestic Policy
country_event = {
	id = saxony.1
	title = saxony.1.t
	desc = saxony.1.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.1.a
		ai_chance = { base = 100 }
		add_political_power = 10
		add_stability = 0.02
	}
}

#The Kingdom of Saxony – Starting Situation: Foreign Affairs
country_event = {
	id = saxony.2
	title = saxony.2.t
	desc = saxony.2.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.2.a
		ai_chance = { base = 100 }
		add_political_power = 10
		add_war_support = 0.02
	}
}

### GENERAL INFORMATION AND FLAVOR EVENTS (saxony.11-100) ###

#The Discovery of the Element Indium
country_event = {
	id = saxony.11
	title = saxony.11.t
	desc = saxony.11.d
	picture = GFX_report_event_saxony_indium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.11.a
		ai_chance = { base = 100 }
		add_tech_bonus = { bonus = 0.25 uses = 1 category = biochemistry_tech }
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Foundation of the Zwickau Brewing Association
country_event = {
	id = saxony.12
	title = saxony.12.t
	desc = saxony.12.d
	picture = GFX_report_event_saxony_mauritius_1857
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.12.a
		ai_chance = { base = 100 }
	}
}

#Foundation of the Zwickau Association Brewery
country_event = {
	id = saxony.13
	title = saxony.13.t
	desc = saxony.13.d
	picture = GFX_report_event_saxony_mauritius_1859
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.13.a
		ai_chance = { base = 100 }
		set_temp_variable = {
			money_to_gain = 0.05
		}
		add_money_with_tooltip_effect = yes
	}
}

#The Dresden Striezelmarkt
country_event = {
	id = saxony.14
	title = saxony.14.t
	desc = saxony.14.d
	picture = GFX_report_event_saxony_striezelmarkt
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.14.a
		ai_chance = { base = 100 }
		add_political_power = 5
		add_stability = 0.005
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
}

#Striezelmarkt to Leave Traditional Location
country_event = {
	id = saxony.15
	title = saxony.15.t
	desc = saxony.15.d
	picture = GFX_report_event_saxony_striezelmarkt
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.15.a
		ai_chance = { base = 100 }
		add_political_power = 5
		add_stability = -0.01
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}

#Saxony Connected to the European Telegraph Network
country_event = {
	id = saxony.16
	title = saxony.16.t
	desc = saxony.16.d
	picture = GFX_report_event_generic_telegraph
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.16.a
		ai_chance = { base = 100 }
		add_political_power = 20
		add_tech_bonus = { bonus = 0.75 uses = 1 category = electronics_devices_tech }
	}
}

#Mulde Flood of 1858
country_event = {
	id = saxony.17
	title = saxony.17.t
	desc = saxony.17.d
	picture = GFX_report_event_saxony_mulde_flood
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#Send aid
	option = {
		name = saxony.17.a
		ai_chance = { base = 100 }
		set_temp_variable = { money_to_gain = -0.05 }
		add_money_with_tooltip_effect = yes
		custom_effect_tooltip = historical_option
	}

	#They are on their own
	option = {
		name = saxony.17.b
		ai_chance = { base = 0 }
		add_political_power = -5
		add_stability = -0.01
	}
}

#Devastating Hail Storm in Leipzig
country_event = {
	id = saxony.18
	title = saxony.18.t
	desc = saxony.18.d
	picture = GFX_report_event_saxony_leipzig_1860
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#There is nothing we can do.
	option = {
		name = saxony.18.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
		custom_effect_tooltip = historical_option
	}

	#Send aid.
	option = {
		name = saxony.18.b
		ai_chance = { base = 0 }
		set_temp_variable = { money_to_gain = -0.05 }
		add_money_with_tooltip_effect = yes
	}
}

#Elbe Floods of 1862
country_event = {
	id = saxony.19
	title = saxony.19.t
	desc = saxony.19.d
	picture = GFX_report_event_saxony_elbe_flood
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#Send aid.
	option = {
		name = saxony.19.a
		ai_chance = { base = 100 }
		set_temp_variable = { money_to_gain = -0.05 }
		add_money_with_tooltip_effect = yes
		custom_effect_tooltip = historical_option
	}

	#There is nothing we can do.
	option = {
		name = saxony.19.b
		ai_chance = { base = 0 }
		add_political_power = -10
		add_stability = -0.01
	}
}

#Establishment of Handels- und Gewerbekammern
country_event = {
	id = saxony.20
	title = saxony.20.t
	desc = saxony.20.d
	picture = GFX_report_event_saxony_handelskammer
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.20.a
		ai_chance = { base = 100 }
		add_tech_bonus = { bonus = 0.25 uses = 1 category = humanities_tech }
		add_tech_bonus = { bonus = 0.25 uses = 1 category = mechanical_engineering_tech }
	}
}

#Hartmann Factory Germany's Largest Producer of Steam Locomotives
country_event = {
	id = saxony.51
	title = saxony.51.t
	desc = saxony.51.d
	picture = GFX_report_event_saxony_hartmann_factory_outside
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.51.a
		ai_chance = { base = 100 }
		add_political_power = 5
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		set_temp_variable = {
			unemployment_value = -0.0001
		}
		add_unemployment_effect = yes
		add_tech_bonus = { bonus = 0.5 uses = 1 category = mechanical_engineering_tech }
		add_equipment_to_stockpile = { type = train_equipment_1 amount = 2 producer = SAX }
		add_victory_points = {
			province = 11481
			value = 1
		}
	}
}

#Hartmann Factory Growing Ever Larger
country_event = {
	id = saxony.52
	title = saxony.52.t
	desc = saxony.52.d
	picture = GFX_report_event_saxony_hartmann_factory_inside
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.52.a
		ai_chance = { base = 100 }
		add_political_power = 5
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		EOANBSYS_institutions_innovative_add_one = yes
		set_temp_variable = {
			unemployment_value = -0.0001
		}
		add_unemployment_effect = yes
		add_tech_bonus = { bonus = 0.5 uses = 1 category = mechanical_engineering_tech }
		add_equipment_to_stockpile = { type = train_equipment_1 amount = 4 producer = SAX }
		add_victory_points = {
			province = 11481
			value = 1
		}
	}
}

#Neues Archiv für sächsische Geschichte (1863)

#Oktober 1865 - Frauenkonferenz im Schützenhaus

#Foundation of Deutscher Cigarettenarbeiter-Verein at Pantheon Leipzig (22.-27.12.1865)

#1866 Gründung Deutscher Buchdruckerverband im Schützenhaus

#Death of Princess Maria Augusta of Saxony (08.10.1857)
country_event = {
	id = saxony.181
	title = saxony.181.t
	desc = saxony.181.d
	picture = GFX_report_event_leandro_valle_martinez_death

	trigger = {
		has_idea = SAX_Johann
	}
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.181.a
		ai_chance = { base = 100 }
	}
}

#Death of Princess Margarete Karoline of Saxony (15.09.1858)
country_event = {
	id = saxony.182
	title = saxony.182.t
	desc = saxony.182.d
	picture = GFX_report_event_leandro_valle_martinez_death

	trigger = {
		has_idea = SAX_Johann
	}
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.182.a
		ai_chance = { base = 100 }
	}
}

#Death of Princess Anna Maria of Saxony (10.02.1859)
country_event = {
	id = saxony.183
	title = saxony.183.t
	desc = saxony.183.d
	picture = GFX_report_event_leandro_valle_martinez_death

	trigger = {
		has_idea = SAX_Johann
	}
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.183.a
		ai_chance = { base = 100 }
	}
}

#Death of Princess Maria Sidonie of Saxony (02.03.1862)
country_event = {
	id = saxony.184
	title = saxony.184.t
	desc = saxony.184.d
	picture = GFX_report_event_leandro_valle_martinez_death

	trigger = {
		has_idea = SAX_Johann
	}
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.184.a
		ai_chance = { base = 100 }
	}
}

##### POLITICAL AND WAR EVENTS (saxony.201-500) #####

### DOMESTIC POLITICS EVENTS (saxony.201-280) ###

#Prime Minister Ferdinand von Zschinsky Has Fallen Sick
country_event = {
	id = saxony.201
	title = saxony.201.t
	desc = saxony.201.d
	picture = GFX_report_event_zschinsky_beust
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.201.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.03
		decrease_ps_by_one = yes
		set_politics = { ruling_party = centrism }
		SAX_friedrich_ferdinand_von_beust = {
			remove_advisor_role = {
				slot = political_advisor
			}
		}
		add_power_balance_modifier = {
			id = SAX_Balance_of_Power_Trias
			modifier = SAX_Balance_of_Power_Trias_beust_promoter
		}
		hidden_effect = {
			SAX = { country_event = { id = saxony.202 days = 3 } }
		}
	}
}

#Death of Ferdinand von Zschinsky
country_event = {
	id = saxony.202
	title = saxony.202.t
	desc = saxony.202.d
	picture = GFX_report_event_zschinsky_dead
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.202.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.02
		SAX_johann_paul_von_falkenstein = {
			add_country_leader_role = {
				country_leader = {
					desc = "POLITICS_GENERIC_EOANB_DESC"
					ideology = conserv
					expire = "1900.1.1.1"
					id = -1
				}
			}
			promote_character = yes
			promote_character = conserv
		}
		retire_character = SAX_ferdinand_von_zschinsky
	}
}

#Death of Ferdinand Lassalle
country_event = {
	id = saxony.203
	title = saxony.203.t
	desc = saxony.203.d
	picture = GFX_report_event_advisor_death_lassalle
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.203.a
		ai_chance = { base = 100 }
		retire_character = SAX_ferdinand_lassalle
	}
}

#The Sorbian Question
country_event = {
	id = saxony.204
	title = saxony.204.t
	desc = saxony.204.d
	picture = GFX_report_event_sorbian_question
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.204.a
		ai_chance = { base = 10 }
		swap_ideas = { remove_idea = SAX_idea_ethnic_tensions_1 add_idea = SAX_idea_ethnic_tensions_2 }
		decrease_ps_by_one = yes
	}
	
	option = {
		name = saxony.204.b
		ai_chance = { base = 60 }
		add_political_power = -25
		add_stability = 0.02
	}
	
	option = {
		name = saxony.204.c
		ai_chance = { base = 30 }
		swap_ideas = { remove_idea = SAX_idea_ethnic_tensions_1 add_idea = SAX_idea_ethnic_tensions_3 }
		if = {
			limit = {
				has_idea = limited_equality
			}
			swap_ideas = { remove_idea = limited_equality add_idea = segregation }
		}
		decrease_ps_by_two = yes
	}
}

#Formation of the Sorbian Written Language
country_event = {
	id = saxony.205
	title = saxony.205.t
	desc = saxony.205.d
	picture = GFX_report_event_sorbian_grammar
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.205.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
	}
}

#Decennial Anniversary of the Maćica Serbska
country_event = {
	id = saxony.206
	title = saxony.206.t
	desc = saxony.206.d
	picture = GFX_report_event_zejler
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.206.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
	}
}

#Serbske Nowiny - Sorbian Journal
country_event = {
	id = saxony.207
	title = saxony.207.t
	desc = saxony.207.d
	picture = GFX_report_event_serbske_nowitny
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		NOT = { has_completed_focus = SAX_focus_full_equality_for_sorbs }
	}
	
	option = {
		name = saxony.207.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
	}
}

#New Lusatian Magazine - 40th Anniversary
country_event = {
	id = saxony.208
	title = saxony.208.t
	desc = saxony.208.d
	picture = GFX_report_event_lusatian_magazine
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		NOT = { has_completed_focus = SAX_focus_full_equality_for_sorbs }
	}
	
	option = {
		name = saxony.208.a
		ai_chance = { base = 100 }
		add_tech_bonus = { bonus = 0.25 uses = 1 category = humanities_tech }
		add_political_power = -10
	}
}

#Katolski Posoł - Catholic Sorbian Magazine
country_event = {
	id = saxony.209
	title = saxony.209.t
	desc = saxony.209.d
	picture = GFX_report_event_hornik
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		NOT = { has_completed_focus = SAX_focus_full_equality_for_sorbs }
	}
	
	option = {
		name = saxony.209.a
		ai_chance = { base = 100 }
		add_political_power = -20
		add_stability = -0.02
	}
}

#Slawisches Zentralblatt - a Weekly Journal with Panslavic Tendencies
country_event = {
	id = saxony.210
	title = saxony.210.t
	desc = saxony.210.d
	picture = GFX_report_event_smoler
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		NOT = { has_completed_focus = SAX_focus_full_equality_for_sorbs }
	}
	
	option = {
		name = saxony.210.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
	}
}

#Lusatian-Lower Sorbian Dictionary Published
country_event = {
	id = saxony.211
	title = saxony.211.t
	desc = saxony.211.d
	picture = GFX_report_event_sorbian_dictionary
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.211.a
		ai_chance = { base = 100 }
		add_political_power = -10
	}
}

#Second Pan-Slav Congress in Vienna
country_event = {
	id = saxony.212
	title = saxony.212.t
	desc = saxony.212.d
	picture = GFX_event_panslavic_flag
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.212.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
	}
}

### POLITICAL PARTY EVENTS (saxony.281-300) ###

#25. April 1863 - Sächsischer Fortschrittsverein im Leipziger Schützenhaus (Linksliberale)
country_event = {
	id = saxony.281
	title = saxony.281.t
	desc = saxony.281.d
	picture = GFX_report_event_saxony_schutzenhaus
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.281.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_government = ideology_social_liberalism
			}
			add_political_power = 25
			add_stability = 0.025
		}
		else_if = {
			limit = {
				NOT = { has_government = ideology_social_liberalism }
			}
			add_political_power = -10
			add_stability = -0.01
		}
		set_party_name = {
			ideology = ideology_social_liberalism
			long_name = SAX_ideology_social_liberalism_progressive_party_long
			name = SAX_ideology_social_liberalism_progressive_party
		}
		add_popularity = {
			ideology = ideology_social_liberalism
			popularity = 0.05
		}
		hidden_effect = {
			country_event = { id = saxony.282 days = 28 }
		}
	}
}

#23. Mai 1863 ADAV im Leipziger Pantheon (Lassalle)
country_event = {
	id = saxony.282
	title = saxony.282.t
	desc = saxony.282.d
	picture = GFX_report_event_saxony_adav
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.282.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_government = social_egalitarianism
			}
			add_political_power = 25
			add_stability = 0.025
		}
		else_if = {
			limit = {
				NOT = { has_government = social_egalitarianism }
			}
			add_political_power = -10
			add_stability = -0.01
		}
		set_party_name = {
			ideology = social_egalitarianism
			long_name = SAX_social_egalitarianism_adav_party_long
			name = SAX_social_egalitarianism_adav_party
		}
		add_popularity = {
			ideology = social_egalitarianism
			popularity = 0.05
		}
		hidden_effect = {
			PRS = { country_event = { id = prussia.233 } }
		}
	}
}

### FOREIGN POLITICS AND WAR EVENTS (saxony.301-500) ###

#Prusso-Saxon Relationship - Status Quo
country_event = {
	id = saxony.301
	title = saxony.301.t
	desc = saxony.301.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		PRS = { 
			exists = yes
			is_puppet = no
		}
		SAX = { 
			exists = yes
			is_puppet = no 
		}
	}
	
	#Prussia is the enemy
	option = {
		name = saxony.301.a
		ai_chance = { base = 90 }
		custom_effect_tooltip = SAX_PRS_relation_bad_effect_tt
		hidden_effect = {
			set_country_flag = SAX_PRS_relation_bad_flag
		}
	}
	
	#We need to reconcile
	option = {
		name = saxony.301.b
		ai_chance = { base = 10 }
		custom_effect_tooltip = SAX_PRS_relation_good_effect_tt
		hidden_effect = {
			set_country_flag = SAX_PRS_relation_good_flag
		}
	}
}

#Austro-Saxon Relationship - Status Quo
country_event = {
	id = saxony.302
	title = saxony.302.t
	desc = saxony.302.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		AUS = { 
			exists = yes
			is_puppet = no
		}
		SAX = { 
			exists = yes
			is_puppet = no 
		}
	}
	
	#Austria is our friend
	option = {
		name = saxony.302.a
		ai_chance = { base = 75 }
		custom_effect_tooltip = SAX_AUS_relation_good_effect_tt
		hidden_effect = {
			set_country_flag = SAX_AUS_relation_good_flag
		}
	}
	
	#We need to be neutral
	option = {
		name = saxony.302.b
		ai_chance = { base = 25 }
		custom_effect_tooltip = SAX_AUS_relation_neutral_effect_tt
		hidden_effect = {
			set_country_flag = SAX_AUS_relation_neutral_flag
		}
	}
}

#German Middle States/The Trias - Saxony Suggests Bundesreform Endeavor 
country_event = {
	id = saxony.303
	title = saxony.303.t
	desc = saxony.303.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Positive
	option = {
		name = saxony.303.a
		ai_chance = {
			base = 70
			modifier = {
				add = -35
				OR = {
					tag = BAD
					tag = HAN
				}
			}
			modifier = {
				add = -20
				OR = {
					tag = HES
					tag = HSD
				}
			}
			modifier = {
				add = 10
				has_opinion = {
					target = SAX
					value > 50
				}
			}
			modifier = {
				add = 10
				has_opinion = {
					target = SAX
					value > 100
				}
			}
		}
		custom_effect_tooltip = SAX_bundesreform_event_positive_effect_tt
		add_opinion_modifier = { target = SAX modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL }
		reverse_add_opinion_modifier = { target = SAX modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL }
		hidden_effect = {
			SAX = { add_to_variable = { var = SAX_bundesreform_positive_votes value = 1 } }
			SAX = { country_event = { id = saxony.304 days = 2 random_days = 3 } }
		}
	}
	
	#Cautious
	option = {
		name = saxony.303.b
		ai_chance = {
			base = 20
			modifier = {
				add = 30
				OR = {
					tag = BAD
					tag = HAN
				}
			}
			modifier = {
				add = 20
				OR = {
					tag = HES
					tag = HSD
				}
			}
		}
		custom_effect_tooltip = SAX_bundesreform_event_cautious_effect_tt
		add_opinion_modifier = { target = SAX modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL }
		reverse_add_opinion_modifier = { target = SAX modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL }
		hidden_effect = {
			SAX = { country_event = { id = saxony.305 days = 2 random_days = 3 } }
		}
	}
	
	#Negative
	option = {
		name = saxony.303.c
		ai_chance = {
			base = 10
			modifier = {
				add = 15
				OR = {
					tag = BAD
					tag = HAN
				}
			}
		}
		custom_effect_tooltip = SAX_bundesreform_event_negative_effect_tt
		add_opinion_modifier = { target = SAX modifier = SAX_GC_BUNDESREFORM_NEGATIVE_REL }
		reverse_add_opinion_modifier = { target = SAX modifier = SAX_GC_BUNDESREFORM_NEGATIVE_REL }
		hidden_effect = {
			SAX = { country_event = { id = saxony.306 days = 2 random_days = 3 } }
		}
	}
}

#Saxony - Middle State Reacts Positively 
country_event = {
	id = saxony.304
	title = saxony.304.t
	desc = saxony.304.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.304.a
		ai_chance = { base = 100 }
		add_political_power = 5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.02
		}
	}
}

#Saxony - Middle State Reacts Cautiously 
country_event = {
	id = saxony.305
	title = saxony.305.t
	desc = saxony.305.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.305.a
		ai_chance = { base = 100 }
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.01
		}
	}
}

#Saxony - Middle State Reacts Negatively 
country_event = {
	id = saxony.306
	title = saxony.306.t
	desc = saxony.306.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.306.a
		ai_chance = { base = 100 }
		add_political_power = -5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.01
		}
	}
}

#German Middle States/The Trias - Saxon Invitation to a Trias Conference in Würzburg
country_event = {
	id = saxony.307
	title = saxony.307.t
	desc = saxony.307.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Accept the Invitation
	option = {
		name = saxony.307.a
		ai_chance = {
			base = 80
			modifier = {
				factor = 0
				has_opinion_modifier = SAX_GC_BUNDESREFORM_NEGATIVE_REL
			}
			modifier = {
				add = 10
				has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
			}
			modifier = {
				add = -30
				has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
			}
		}
		add_political_power = 25
		SAX = { country_event = { id = saxony.308 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_attend_wurzburg_conference_flag
		}
	}
	
	#Reject the Invitation
	option = {
		name = saxony.307.b
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_SUPPORT_REL
					tag = BAV
				}
			}
			modifier = {
				factor = 0.5
				has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
			}
			modifier = {
				factor = 2.5
				has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
			}
		}
		add_political_power = -25
		SAX = { country_event = { id = saxony.309 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_reject_wurzburg_conference_flag
		}
	}
}

#Saxony - Middle State Accepts Invitation
country_event = {
	id = saxony.308
	title = saxony.308.t
	desc = saxony.308.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.308.a
		ai_chance = { base = 100 }
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.02
		}
	}
}

#Saxony - Middle State Rejects Invitation 
country_event = {
	id = saxony.309
	title = saxony.309.t
	desc = saxony.309.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.309.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.01
		}
	}
}

#Saxony/German Middle States/The Trias - Reform Debates Commence at the Würzburg Conference
country_event = {
	id = saxony.310
	title = saxony.310.t
	desc = saxony.310.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.310.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				tag = SAX
			}
			add_political_power = 25
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.05
			}
			add_power_balance_modifier = {
				id = SAX_Balance_of_Power_Trias
				modifier = SAX_Balance_of_Power_Trias_active_talks
			}
			hidden_effect = {
				country_event = { id = saxony.311 days = 4 }
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_wurzburg_conference_flag
					}
					country_event = { id = saxony.310 }
				}
			}
		}
		else = {
			add_political_power = 10
		}
	}
}

#Saxony - Würzburg Conference Comes to a Close
country_event = {
	id = saxony.311
	title = saxony.311.t
	desc = saxony.311.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.311.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				tag = SAX
			}
			custom_effect_tooltip = SAX_first_wurzburg_conference_effect_tt
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.03
			}
			remove_power_balance_modifier = {
				id = SAX_Balance_of_Power_Trias
				modifier = SAX_Balance_of_Power_Trias_active_talks
			}
			hidden_effect = {
				set_country_flag = SAX_first_wurzburg_conference_flag
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_wurzburg_conference_flag
					}
					country_event = { id = saxony.311 }
				}
			}
		}
	}
}

#Judiciary Reform Proposal Successful
country_event = {
	id = saxony.312
	title = saxony.312.t
	desc = saxony.312.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.312.a
		ai_chance = { base = 100 }
		add_political_power = 25
		if = {
			limit = {
				tag = SAX
			}
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.1
			}
			set_temp_variable = { eoanb_prestige_change = 1 }
			eoanb_change_prestige_score = yes
			hidden_effect = {
				country_event = { id = saxony.314 days = 14 }
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_wurzburg_conference_flag
					}
					country_event = { id = saxony.312 }
				}
			}
		}
	}
}

#Judiciary Reform Proposal Fails
country_event = {
	id = saxony.313
	title = saxony.313.t
	desc = saxony.313.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.313.a
		ai_chance = { base = 100 }
		add_political_power = -5
		if = {
			limit = {
				tag = SAX
			}
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.03
			}
			hidden_effect = {
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_wurzburg_conference_flag
					}
					country_event = { id = saxony.313 }
				}
			}
		}
	}
}

#Promising Signs of Success
country_event = {
	id = saxony.314
	title = saxony.314.t
	desc = saxony.314.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.314.a
		ai_chance = { base = 100 }
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.03
		}
	}
}

#German Middle States/The Trias - Invitation to another Trias Conference in Würzburg
country_event = {
	id = saxony.315
	title = saxony.315.t
	desc = saxony.315.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Accept the Invitation
	option = {
		name = saxony.315.a
		ai_chance = {
			base = 80
			modifier = {
				factor = 0
				has_opinion_modifier = SAX_GC_BUNDESREFORM_NEGATIVE_REL
			}
			modifier = {
				add = 10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
					has_country_flag = SAX_attend_wurzburg_conference_flag
				}
			}
			modifier = {
				add = -10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
					has_country_flag = SAX_reject_wurzburg_conference_flag
				}
			}
		}
		add_political_power = 25
		SAX = { country_event = { id = saxony.316 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_attend_second_wurzburg_conference_flag
		}
	}
	
	#Reject the Invitation
	option = {
		name = saxony.315.b
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_SUPPORT_REL
					tag = BAV
				}
			}
			modifier = {
				factor = 0.5
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
					has_country_flag = SAX_attend_wurzburg_conference_flag
				}
			}
			modifier = {
				add = 10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
					has_country_flag = SAX_reject_wurzburg_conference_flag
				}
			}
		}
		add_political_power = -25
		SAX = { country_event = { id = saxony.317 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_reject_second_wurzburg_conference_flag
		}
	}
}

#Saxony - Middle State Accepts Invitation to Second Würzburg Conference
country_event = {
	id = saxony.316
	title = saxony.316.t
	desc = saxony.316.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.316.a
		ai_chance = { base = 100 }
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.02
		}
	}
}

#Saxony - Middle State Rejects Invitation to Second Würzburg Conference
country_event = {
	id = saxony.317
	title = saxony.317.t
	desc = saxony.317.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.317.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.01
		}
	}
}

#Saxony/German Middle States/The Trias - Second Würzburg Conference Commences
country_event = {
	id = saxony.318
	title = saxony.318.t
	desc = saxony.318.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.318.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				tag = SAX
			}
			add_political_power = 25
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.05
			}
			add_power_balance_modifier = {
				id = SAX_Balance_of_Power_Trias
				modifier = SAX_Balance_of_Power_Trias_active_talks
			}
			hidden_effect = {
				country_event = { id = saxony.319 days = 16 }
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_second_wurzburg_conference_flag
					}
					country_event = { id = saxony.318 }
				}
			}
		}
		else = {
			add_political_power = 10
			hidden_effect = {
				clr_country_flag = SAX_attend_wurzburg_conference_flag
				clr_country_flag = SAX_reject_wurzburg_conference_flag
			}
		}
	}
}

#Saxony - Second Würzburg Conference Comes to a Close
country_event = {
	id = saxony.319
	title = saxony.319.t
	desc = saxony.319.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.319.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				tag = SAX
			}
			custom_effect_tooltip = SAX_second_wurzburg_conference_effect_tt
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.02
			}
			remove_power_balance_modifier = {
				id = SAX_Balance_of_Power_Trias
				modifier = SAX_Balance_of_Power_Trias_active_talks
			}
			hidden_effect = {
				clr_country_flag = SAX_first_wurzburg_conference_flag
				set_country_flag = SAX_second_wurzburg_conference_flag
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_second_wurzburg_conference_flag
					}
					country_event = { id = saxony.319 }
				}
			}
		}
	}
}

#German Middle States/The Trias - Invitation to the Third Trias Conference in Würzburg
country_event = {
	id = saxony.320
	title = saxony.320.t
	desc = saxony.320.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Accept the Invitation
	option = {
		name = saxony.320.a
		ai_chance = {
			base = 80
			modifier = {
				factor = 0
				has_opinion_modifier = SAX_GC_BUNDESREFORM_NEGATIVE_REL
			}
			modifier = {
				add = 15
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
					has_country_flag = SAX_attend_second_wurzburg_conference_flag
				}
			}
			modifier = {
				add = -10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
					has_country_flag = SAX_reject_second_wurzburg_conference_flag
				}
			}
		}
		add_political_power = 25
		SAX = { country_event = { id = saxony.321 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_attend_third_wurzburg_conference_flag
		}
	}
	
	#Reject the Invitation
	option = {
		name = saxony.320.b
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_SUPPORT_REL
					tag = BAV
				}
			}
			modifier = {
				factor = 0.25
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
					has_country_flag = SAX_attend_second_wurzburg_conference_flag
				}
			}
			modifier = {
				add = 10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
					has_country_flag = SAX_reject_second_wurzburg_conference_flag
				}
			}
		}
		add_political_power = -25
		SAX = { country_event = { id = saxony.322 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_reject_third_wurzburg_conference_flag
		}
	}
}

#Saxony - Middle State Accepts Invitation to Third Würzburg Conference
country_event = {
	id = saxony.321
	title = saxony.321.t
	desc = saxony.321.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.321.a
		ai_chance = { base = 100 }
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.03
		}
	}
}

#Saxony - Middle State Rejects Invitation to Third Würzburg Conference
country_event = {
	id = saxony.322
	title = saxony.322.t
	desc = saxony.322.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.322.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.02
		}
	}
}

#Saxony/German Middle States/The Trias - Third Würzburg Conference Commences (22.05.-27.05.1861 ?)
country_event = {
	id = saxony.323
	title = saxony.323.t
	desc = {
		trigger = {
			NOT = {
				OR = {
					tag = AUS
					tag = PRS
				}
			}
		}
		text = saxony.323.d_middle_states
	}
	desc = {
		trigger = {
			OR = {
				tag = AUS
				tag = PRS
			}
		}
		text = saxony.323.d_great_powers
	}
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	#Saxony
	option = {
		name = saxony.323.a
		ai_chance = { base = 100 }
		trigger = {
			tag = SAX
		}
		add_political_power = 25
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.05
		}
		add_power_balance_modifier = {
			id = SAX_Balance_of_Power_Trias
			modifier = SAX_Balance_of_Power_Trias_active_talks
		}
		hidden_effect = {
			country_event = { id = saxony.324 days = 5 }
			every_other_country = {
				limit = {
					has_country_flag = SAX_attend_third_wurzburg_conference_flag
				}
				country_event = { id = saxony.323 }
			}
		}
	}

	#Middle States
	option = {
		name = saxony.323.b
		ai_chance = { base = 100 }
		trigger = {
			NOT = {
				OR = {
					tag = SAX
					tag = AUS
					tag = PRS
				}
			}
		}
		add_political_power = 10
		hidden_effect = {
			clr_country_flag = SAX_attend_second_wurzburg_conference_flag
			clr_country_flag = SAX_reject_second_wurzburg_conference_flag
		}
	}

	#AUS/PRS
	option = {
		name = saxony.323.c
		ai_chance = { base = 100 }
		trigger = {
			OR = {
				tag = AUS
				tag = PRS
			}
		}
		add_political_power = 10
		hidden_effect = {
			clr_country_flag = SAX_attend_second_wurzburg_conference_flag
			clr_country_flag = SAX_reject_second_wurzburg_conference_flag
		}
	}
}

#Saxony - Third Würzburg Conference Comes to a Close
country_event = {
	id = saxony.324
	title = saxony.324.t
	desc = saxony.324.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.324.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				tag = SAX
			}
			custom_effect_tooltip = SAX_third_wurzburg_conference_effect_tt
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.02
			}
			remove_power_balance_modifier = {
				id = SAX_Balance_of_Power_Trias
				modifier = SAX_Balance_of_Power_Trias_active_talks
			}
			hidden_effect = {
				clr_country_flag = SAX_second_wurzburg_conference_flag
				clr_country_flag = SAX_third_wurzburg_conference_flag
				set_country_flag = SAX_third_wurzburg_conference_finished_flag
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_third_wurzburg_conference_flag
					}
					country_event = { id = saxony.324 }
				}
			}
		}
	}
}

#War Constitution Reform Proposal Successful
country_event = {
	id = saxony.325
	title = saxony.325.t
	desc = saxony.325.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.325.a
		ai_chance = { base = 100 }
		add_political_power = 50
		if = {
			limit = {
				tag = SAX
			}
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.15
			}
			set_temp_variable = { eoanb_prestige_change = 2 }
			eoanb_change_prestige_score = yes
			hidden_effect = {
				country_event = { id = saxony.314 days = 14 }
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_wurzburg_conference_flag
					}
					country_event = { id = saxony.325 }
				}
			}
		}
	}
}

#War Constitution Reform Proposal Fails
country_event = {
	id = saxony.326
	title = saxony.326.t
	desc = saxony.326.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.326.a
		ai_chance = { base = 100 }
		add_political_power = -10
		if = {
			limit = {
				tag = SAX
			}
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.05
			}
			hidden_effect = {
				every_other_country = {
					limit = {
						has_country_flag = SAX_attend_wurzburg_conference_flag
					}
					country_event = { id = saxony.326 }
				}
			}
		}
	}
}

#German Middle States/The Trias - Saxony's Proposal for a Comprehensive Constitutional Reform
country_event = {
	id = saxony.327
	title = saxony.327.t
	desc = saxony.327.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Support the Proposal
	option = {
		name = saxony.327.a
		trigger = {
			NOT = { tag = BAV }
		}
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				has_opinion_modifier = SAX_GC_BUNDESREFORM_NEGATIVE_REL
			}
			modifier = {
				add = 25
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
					has_country_flag = SAX_attend_third_wurzburg_conference_flag
				}
			}
			modifier = {
				add = -10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
					has_country_flag = SAX_reject_third_wurzburg_conference_flag
				}
			}
		}
		SAX = { country_event = { id = saxony.328 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_support_comprehensive_constitutional_reform_flag
		}
	}
	
	#Reject the Proposal
	option = {
		name = saxony.327.b
		trigger = {
			NOT = { tag = BAV }
		}
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				has_opinion_modifier = SAX_GC_BUNDESREFORM_SUPPORT_REL
			}
			modifier = {
				factor = 0.5
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
					has_country_flag = SAX_attend_third_wurzburg_conference_flag
				}
			}
			modifier = {
				add = 10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
					has_country_flag = SAX_reject_third_wurzburg_conference_flag
				}
			}
		}
		SAX = { country_event = { id = saxony.329 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_reject_comprehensive_constitutional_reform_flag
		}
	}
	
	#Bavaria - Support the Proposal
	option = {
		name = saxony.327.c
		trigger = {
			tag = BAV
		}
		ai_chance = {
			base = 50
			modifier = {
				add = 30
				has_opinion_modifier = SAX_GC_BUNDESREFORM_SUPPORT_REL
			}
			modifier = {
				add = 10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
					has_country_flag = SAX_attend_third_wurzburg_conference_flag
				}
			}
			modifier = {
				add = -10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
					has_country_flag = SAX_reject_third_wurzburg_conference_flag
				}
			}
			modifier = {
				factor = 0
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_NEGATIVE_REL
					is_historical_focus_on = yes
				}
			}
		}
		SAX = { country_event = { id = saxony.328 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_support_comprehensive_constitutional_reform_flag
		}
	}
	
	#Bavaria - Reject the Proposal
	option = {
		name = saxony.327.e
		trigger = {
			tag = BAV
		}
		ai_chance = {
			base = 50
			modifier = {
				add = -30
				has_opinion_modifier = SAX_GC_BUNDESREFORM_SUPPORT_REL
			}
			modifier = {
				add = -10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
					has_country_flag = SAX_attend_third_wurzburg_conference_flag
				}
			}
			modifier = {
				add = 10
				OR = {
					has_opinion_modifier = SAX_GC_BUNDESREFORM_CAUTIOUS_REL
					has_country_flag = SAX_reject_third_wurzburg_conference_flag
				}
			}
		}
		SAX = { country_event = { id = saxony.330 days = 7 random_days = 5 } }
		hidden_effect = {
			set_country_flag = SAX_reject_comprehensive_constitutional_reform_flag
		}
	}
}

#Saxony - Middle State Supports Proposal for a Comprehensive Constitutional Reform
country_event = {
	id = saxony.328
	title = saxony.328.t
	desc = saxony.328.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.328.a
		ai_chance = { base = 100 }
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.03
		}
	}
}

#Saxony - Middle State Rejects Proposal for a Comprehensive Constitutional Reform
country_event = {
	id = saxony.329
	title = saxony.329.t
	desc = saxony.329.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.329.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.02
		}
	}
}

#Saxony - Bavaria Rejects Proposal for a Comprehensive Constitutional Reform
country_event = {
	id = saxony.330
	title = saxony.330.t
	desc = saxony.330.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.330.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.05
		}
	}
}

#Comprehensive Constitutional Reform Proposal Successful
country_event = {
	id = saxony.331
	title = saxony.331.t
	desc = saxony.331.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.331.a
		ai_chance = { base = 100 }
		add_political_power = 75
		if = {
			limit = {
				tag = SAX
			}
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.2
			}
			set_temp_variable = { eoanb_prestige_change = 5 }
			eoanb_change_prestige_score = yes
			hidden_effect = {
				BAD = { country_event = { id = saxony.331 } }
				BAV = { country_event = { id = saxony.331 } }
				HAN = { country_event = { id = saxony.331 } }
				HES = { country_event = { id = saxony.331 } }
				HSD = { country_event = { id = saxony.331 } }
				WUR = { country_event = { id = saxony.331 } }
			}
		}
		else = {
			clr_country_flag = SAX_support_comprehensive_constitutional_reform_flag
		}
	}
}

#Comprehensive Constitutional Reform Proposal Fails
country_event = {
	id = saxony.332
	title = saxony.332.t
	desc = saxony.332.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.332.a
		ai_chance = { base = 100 }
		add_political_power = -25
		if = {
			limit = {
				tag = SAX
			}
			add_power_balance_value = {
				id = SAX_Balance_of_Power_Trias
				value = 0.05
			}
			hidden_effect = {
				BAD = { country_event = { id = saxony.332 } }
				BAV = { country_event = { id = saxony.332 } }
				HAN = { country_event = { id = saxony.332 } }
				HES = { country_event = { id = saxony.332 } }
				HSD = { country_event = { id = saxony.332 } }
				WUR = { country_event = { id = saxony.332 } }
			}
		}
		else = {
			clr_country_flag = SAX_support_comprehensive_constitutional_reform_flag
		}
	}
}

#German Middle States/The Trias - Saxony Proposes Adapted Reform Plan
country_event = {
	id = saxony.333
	title = saxony.333.t
	desc = saxony.333.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	#Accept the new proposal
	option = {
		name = saxony.333.a
		ai_chance = {
			base = 50
			modifier = {
				factor = 0.5
				tag = BAV
			}
		}
		add_political_power = 10
		SAX = { country_event = { id = saxony.334 days = 7 random_days = 5 } }
		hidden_effect = {
			clr_country_flag = SAX_reject_comprehensive_constitutional_reform_flag
			set_country_flag = SAX_support_comprehensive_constitutional_reform_flag
		}
	}
	
	#Continue to reject the proposal
	option = {
		name = saxony.333.b
		ai_chance = {
			base = 50
			modifier = {
				factor = 1.5
				tag = BAV
			}
		}
		add_political_power = -10
		SAX = { country_event = { id = saxony.335 days = 21 random_days = 5 } }
		hidden_effect = {
			clr_country_flag = SAX_reject_comprehensive_constitutional_reform_flag
		}
	}
}

#Saxony - Middle State Now Supports the Proposal
country_event = {
	id = saxony.334
	title = saxony.334.t
	desc = saxony.334.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.334.a
		ai_chance = { base = 100 }
		add_political_power = 5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.02
		}
	}
}

#Saxony - Middle State Continues to Reject the Proposal
country_event = {
	id = saxony.335
	title = saxony.335.t
	desc = saxony.335.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.335.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = SAX_continued_rejection_of_reform_proposal_effect_tt
		add_political_power = -5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.02
		}
		hidden_effect = {
			BAD = { clr_country_flag = SAX_support_comprehensive_constitutional_reform_flag }
			BAV = { clr_country_flag = SAX_support_comprehensive_constitutional_reform_flag }
			HAN = { clr_country_flag = SAX_support_comprehensive_constitutional_reform_flag }
			HES = { clr_country_flag = SAX_support_comprehensive_constitutional_reform_flag }
			HSD = { clr_country_flag = SAX_support_comprehensive_constitutional_reform_flag }
			WUR = { clr_country_flag = SAX_support_comprehensive_constitutional_reform_flag }
		}
	}
}

#Saxony - Second and Third Würzburg Conference - Also Invite Austria and Prussia?
country_event = {
	id = saxony.336
	title = {
		trigger = { NOT = { has_country_flag = SAX_third_wurzburg_conference_flag } }
		text = saxony.336.t_second_conference
	}
	title = {
		trigger = { has_country_flag = SAX_third_wurzburg_conference_flag }
		text = saxony.336.t_third_conference
	}
	desc = {
		trigger = { NOT = { has_country_flag = SAX_third_wurzburg_conference_flag } }
		text = saxony.336.d_second_conference
	}
	desc = {
		trigger = { has_country_flag = SAX_third_wurzburg_conference_flag }
		text = saxony.336.d_third_conference
	}
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	#Invite both, Austria and Prussia
	option = {
		name = saxony.336.a
		ai_chance = {
			base = 100
			modifier = {
				factor = 0.8
				OR = {
					has_completed_focus = SAX_focus_mend_divide_prs
					has_completed_focus = SAX_focus_strengthen_bond_aus
				}
			}
			modifier = {
				factor = 0.25
				OR = {
					has_completed_focus = SAX_focus_improve_relations_prs
					has_completed_focus = SAX_focus_improve_relations_aus
				}
			}
		}
		custom_effect_tooltip = historical_option
		hidden_effect = {
			if = {
				limit = {
					NOT = { has_country_flag = SAX_third_wurzburg_conference_flag }
				}
				AUS = { country_event = { id = saxony.337 days = 7 } }
				PRS = { country_event = { id = saxony.337 days = 7 } }
			}
			else_if = {
				limit = {
					has_country_flag = SAX_third_wurzburg_conference_flag
				}
				AUS = { country_event = { id = saxony.341 days = 7 } }
				PRS = { country_event = { id = saxony.341 days = 7 } }
			}
		}
	}

	#Only invite Austria
	option = {
		name = saxony.336.b
		ai_chance = {
			base = 0
			modifier = {
				add = 20
				has_completed_focus = SAX_focus_deepen_rift_prs
			}
			modifier = {
				add = 60
				has_completed_focus = SAX_focus_claim_former_saxon_lands
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = SAX_no_invitation_for_prussia_effect_tt
		add_political_power = -5
		add_stability = -0.01
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.01
		}
		hidden_effect = {
			if = {
				limit = {
					NOT = { has_country_flag = SAX_third_wurzburg_conference_flag }
				}
				AUS = { country_event = { id = saxony.337 days = 7 } }
				PRS = { country_event = { id = saxony.338 days = 90 } }
			}
			else_if = {
				limit = {
					has_country_flag = SAX_third_wurzburg_conference_flag
				}
				AUS = { country_event = { id = saxony.341 days = 7 } }
				PRS = { country_event = { id = saxony.338 days = 90 } }
			}
		}
	}

	#Only invite Prussia
	option = {
		name = saxony.336.c
		ai_chance = {
			base = 0
			modifier = {
				add = 20
				has_completed_focus = SAX_focus_mend_divide_prs
			}
			modifier = {
				add = 60
				has_completed_focus = SAX_focus_improve_relations_prs
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = SAX_no_invitation_for_austria_effect_tt
		add_political_power = -5
		add_stability = -0.01
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.01
		}
		hidden_effect = {
			if = {
				limit = {
					NOT = { has_country_flag = SAX_third_wurzburg_conference_flag }
				}
				PRS = { country_event = { id = saxony.337 days = 7 } }
				AUS = { country_event = { id = saxony.338 days = 90 } }
			}
			else_if = {
				limit = {
					has_country_flag = SAX_third_wurzburg_conference_flag
				}
				PRS = { country_event = { id = saxony.341 days = 7 } }
				AUS = { country_event = { id = saxony.338 days = 90 } }
			}
		}
	}

	#Don't invite the two Great Powers
	option = {
		name = saxony.336.e
		ai_chance = {
			base = 0
			modifier = {
				add = 20
				OR = {
					has_completed_focus = SAX_focus_deepen_rift_prs
					has_completed_focus = SAX_focus_loosen_ties_aus
				}
			}
			modifier = {
				add = 60
				OR = {
					has_completed_focus = SAX_focus_claim_former_saxon_lands
					has_completed_focus = SAX_focus_neutral_stance
				}
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = SAX_no_invitation_for_austria_and_prussia_effect_tt
		add_political_power = -10
		add_stability = -0.02
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.02
		}
		hidden_effect = {
			PRS = { country_event = { id = saxony.338 days = 90 } }
			AUS = { country_event = { id = saxony.338 days = 90 } }
		}
	}
}

#AUS/PRS - Invitation to Conference in Würzburg
country_event = {
	id = saxony.337
	title = saxony.337.t
	desc = saxony.337.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Accept the Invitation
	option = {
		name = saxony.337.a
		ai_chance = {
			base = 90
			modifier = {
				add = -10
				tag = PRS
			}
		}
		add_political_power = 10
		SAX = { country_event = { id = saxony.339 days = 7 random_days = 7 } }
		hidden_effect = {
			set_country_flag = SAX_attend_second_wurzburg_conference_flag
		}
	}
	
	#Reject the Invitation
	option = {
		name = saxony.337.b
		ai_chance = {
			base = 10
			modifier = {
				add = 10
				tag = PRS
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = -10
		SAX = { country_event = { id = saxony.340 days = 7 random_days = 7 } }
		hidden_effect = {
			set_country_flag = SAX_reject_second_wurzburg_conference_flag
		}
	}
}

#AUS/PRS - Left out of Würzburg Conference
country_event = {
	id = saxony.338
	title = {
		trigger = { NOT = { has_opinion_modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL } }
		text = saxony.338.t_first_time
	}
	title = {
		trigger = { has_opinion_modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL }
		text = saxony.338.t_second_time
	}
	desc = {
		trigger = { NOT = { has_opinion_modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL } }
		text = saxony.338.d_first_time
	}
	desc = {
		trigger = { has_opinion_modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL }
		text = saxony.338.d_second_time
	}
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	#Second Würzburg Conference - First Time
	option = {
		name = saxony.338.a
		trigger = {
			NOT = { has_opinion_modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL }
		}
		ai_chance = { base = 100 }
		add_political_power = -15
		add_opinion_modifier = { target = SAX modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL }
	}

	#Third Würzburg Conference - First or Second Time
	option = {
		name = saxony.338.b
		trigger = {
			has_opinion_modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL
		}
		ai_chance = { base = 100 }
		add_political_power = -30
		remove_opinion_modifier = { target = SAX modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL }
		add_opinion_modifier = { target = SAX modifier = SAX_NO_INVITATION_TO_THIRD_WURZBURG_CONFERENCE_REL }
	}
}

#Saxony - AUS/PRS Accepts Invitation to Second Würzburg Conference
country_event = {
	id = saxony.339
	title = saxony.339.t
	desc = saxony.339.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.339.a
		ai_chance = { base = 100 }
		add_political_power = 5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.01
		}
	}
}

#Saxony - AUS/PRS Rejects Invitation to Second Würzburg Conference
country_event = {
	id = saxony.340
	title = saxony.340.t
	desc = saxony.340.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.340.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.03
		}
	}
}

#AUS/PRS - Invitation to Another Conference in Würzburg
country_event = {
	id = saxony.341
	title = saxony.341.t
	desc = saxony.341.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Accept the Invitation
	option = {
		name = saxony.341.a
		ai_chance = {
			base = 90
			modifier = {
				add = -10
				tag = PRS
			}
			modifier = {
				add = 10
				has_opinion_modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL
			}
		}
		add_political_power = 15
		SAX = { country_event = { id = saxony.342 days = 7 random_days = 7 } }
		hidden_effect = {
			set_country_flag = SAX_attend_third_wurzburg_conference_flag
		}
	}
	
	#Reject the Invitation
	option = {
		name = saxony.341.b
		ai_chance = {
			base = 10
			modifier = {
				add = 10
				tag = PRS
			}
			modifier = {
				add = -10
				NOT = { has_opinion_modifier = SAX_NO_INVITATION_TO_SECOND_WURZBURG_CONFERENCE_REL }
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = -15
		SAX = { country_event = { id = saxony.343 days = 7 random_days = 7 } }
		hidden_effect = {
			set_country_flag = SAX_reject_third_wurzburg_conference_flag
		}
	}
}

#Saxony - AUS/PRS Accepts Invitation to Third Würzburg Conference
country_event = {
	id = saxony.342
	title = saxony.342.t
	desc = saxony.342.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.342.a
		ai_chance = { base = 100 }
		add_political_power = 5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.01
		}
	}
}

#Saxony - AUS/PRS Rejects Invitation to Third Würzburg Conference
country_event = {
	id = saxony.343
	title = saxony.343.t
	desc = saxony.343.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.343.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.03
		}
	}
}

#Saxony - The Claim of the Augustenburger
country_event = {
	id = saxony.351
	title = saxony.351.t
	desc = saxony.351.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.351.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				OR = {
					has_country_flag = SAX_decision_trias_idea_ready_flag
					has_completed_focus = SAX_focus_support_augustenburger
				}
				NOT = {
					OR = {
						has_global_flag = eoanb_flag_second_schleswig_war
						has_global_flag = eoanb_flag_second_schleswig_war_gc
					}
				}
			}
			unlock_decision_tooltip = SAX_decision_gather_support_for_the_augustenburger
		}
	}
}

#Saxony - Gather Support for the Augustenburger
country_event = {
	id = saxony.352
	title = saxony.352.t
	desc = saxony.352.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			set_variable = { var = SAX_augustenburger_supporting_middle_states value = 1 }
		}
	}
	
	option = {
		name = saxony.352.a
		ai_chance = { base = 100 }
		BAD = { country_event = { id = saxony.353 days = 1 } }
		BAV = { country_event = { id = saxony.353 days = 1 } }
		HAN = { country_event = { id = saxony.353 days = 1 } }
		HES = { country_event = { id = saxony.353 days = 1 } }
		HSD = { country_event = { id = saxony.353 days = 1 } }
		WUR = { country_event = { id = saxony.353 days = 1 } }
		hidden_effect = {
			country_event = { id = saxony.357 days = 14 }
		}
	}
}

#German Middle States/The Trias - Support for the Augustenburger?
country_event = {
	id = saxony.353
	title = saxony.353.t
	desc = saxony.353.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Supportive
	option = {
		name = saxony.353.a
		ai_chance = {
			base = 70
			modifier = {
				add = 10
				has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
			}
			modifier = {
				add = 10
				has_country_flag = SAX_attend_third_wurzburg_conference_flag
			}
			modifier = {
				add = 10
				OR = {
					tag = BAD
					tag = HAN
				}
			}
		}
		custom_effect_tooltip = SAX_augustenburger_support_positive_effect_tt
		hidden_effect = {
			SAX = { add_to_variable = { var = SAX_augustenburger_supporting_middle_states value = 1 } }
			SAX = { country_event = { id = saxony.354 days = 2 random_days = 5 } }
		}
	}
	
	#Undecided
	option = {
		name = saxony.353.b
		ai_chance = {
			base = 15
			modifier = {
				add = -5
				has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
			}
			modifier = {
				add = -5
				has_country_flag = SAX_attend_third_wurzburg_conference_flag
			}
			modifier = {
				add = -5
				OR = {
					tag = BAD
					tag = HAN
				}
			}
		}
		custom_effect_tooltip = SAX_augustenburger_support_cautious_effect_tt
		hidden_effect = {
			SAX = { country_event = { id = saxony.355 days = 2 random_days = 5 } }
			set_country_flag = SAX_trias_augustenburger_support_undecided_flag
		}
	}
	
	#Staying out of it
	option = {
		name = saxony.353.c
		ai_chance = {
			base = 15
			modifier = {
				add = -5
				has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
			}
			modifier = {
				add = -5
				has_country_flag = SAX_attend_third_wurzburg_conference_flag
			}
			modifier = {
				add = -5
				OR = {
					tag = BAD
					tag = HAN
				}
			}
			modifier = {
				factor = 0
				has_government = centrism
			}
		}
		custom_effect_tooltip = SAX_augustenburger_support_negative_effect_tt
		hidden_effect = {
			SAX = { country_event = { id = saxony.356 days = 2 random_days = 5 } }
		}
	}
}

#Saxony - Middle State Reacts Positively 
country_event = {
	id = saxony.354
	title = saxony.354.t
	desc = saxony.354.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.354.a
		ai_chance = { base = 100 }
		add_political_power = 5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.01
		}
	}
}

#Saxony - Middle State Remains Undecided
country_event = {
	id = saxony.355
	title = saxony.355.t
	desc = saxony.355.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.355.a
		ai_chance = { base = 100 }
		hidden_effect = {
			set_country_flag = SAX_trias_persuade_sceptics_augustenburger_flag
		}
	}
}

#Saxony - Middle State Wants to stay out of it
country_event = {
	id = saxony.356
	title = saxony.356.t
	desc = saxony.356.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.356.a
		ai_chance = { base = 100 }
		add_political_power = -5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.03
		}
	}
}

#Saxony - Unanimous Support for the Augustenburger?
country_event = {
	id = saxony.357
	title = {
		trigger = { check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = greater_than_or_equals } }
		text = saxony.357.t_enough_support
	}
	title = {
		trigger = { check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = less_than } }
		text = saxony.357.t_not_enough_support
	}
	desc = {
		trigger = { check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = greater_than_or_equals } }
		text = saxony.357.d_enough_support
	}
	desc = {
		trigger = { check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = less_than } }
		text = saxony.357.d_not_enough_support
	}
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#We have unanimous support!
	option = {
		name = saxony.357.a
		ai_chance = { base = 100 }
		trigger = {
			check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = greater_than_or_equals }
		}
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.05
		}
		if = {
			limit = {
				has_country_flag = SAX_event_federal_execution_granted_flag
			}
			unlock_decision_tooltip = SAX_decision_file_for_federal_intervention
		}
		else = {
			custom_effect_tooltip = SAX_decision_file_for_federal_intervention_trigger_tt
		}
		hidden_effect = {
			set_country_flag = SAX_unanimous_support_for_augustenburger_flag
			clear_variable = SAX_augustenburger_supporting_middle_states
		}
	}

	#We still have some persuading to do.
	option = {
		name = saxony.357.b
		ai_chance = { base = 100 }
		trigger = {
			check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = less_than }
			check_variable = { var = SAX_augustenburger_supporting_middle_states value = 4 compare = greater_than_or_equals }
		}
		unlock_decision_tooltip = SAX_decision_persuade_sceptics_for_the_augustenburger
		hidden_effect = {
			set_country_flag = SAX_persuade_sceptics_augustenburger_flag
		}
	}

	#It's a failure.
	option = {
		name = saxony.357.c
		ai_chance = { base = 100 }
		trigger = {
			check_variable = { var = SAX_augustenburger_supporting_middle_states value = 4 compare = less_than }
		}
		add_political_power = -50
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.1
		}
		hidden_effect = {
			clear_variable = SAX_augustenburger_supporting_middle_states
		}
	}
}

#German Middle States/The Trias - Saxon Attempts of Persuasion
country_event = {
	id = saxony.358
	title = saxony.358.t
	desc = saxony.358.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Support the Augustenburger then.
	option = {
		name = saxony.358.a
		ai_chance = {
			base = 60
			modifier = {
				add = 10
				has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
			}
			modifier = {
				add = 10
				has_country_flag = SAX_attend_third_wurzburg_conference_flag
			}
			modifier = {
				add = 10
				OR = {
					tag = BAD
					tag = HAN
				}
			}
			modifier = {
				add = -10
				tag = BAV
			}
		}
		custom_effect_tooltip = SAX_augustenburger_support_positive_effect_tt
		add_political_power = 10
		add_war_support = 0.02
		hidden_effect = {
			SAX = { add_to_variable = { var = SAX_augustenburger_supporting_middle_states value = 1 } }
			SAX = { country_event = { id = saxony.359 days = 2 random_days = 5 } }
			clr_country_flag = SAX_trias_augustenburger_support_undecided_flag
		}
	}
	
	#Respectfully decline.
	option = {
		name = saxony.358.b
		ai_chance = {
			base = 40
			modifier = {
				add = -10
				has_opinion_modifier = SAX_GC_BUNDESREFORM_POSITIVE_REL
			}
			modifier = {
				add = -10
				has_country_flag = SAX_attend_third_wurzburg_conference_flag
			}
			modifier = {
				add = -10
				OR = {
					tag = BAD
					tag = HAN
				}
			}
			modifier = {
				add = 10
				tag = BAV
			}
			modifier = {
				factor = 0
				has_government = centrism
			}
		}
		custom_effect_tooltip = SAX_augustenburger_support_negative_effect_tt
		hidden_effect = {
			SAX = { country_event = { id = saxony.360 days = 2 random_days = 5 } }
			clr_country_flag = SAX_trias_augustenburger_support_undecided_flag
		}
	}
}

#Saxony - Middle State Persuaded
country_event = {
	id = saxony.359
	title = saxony.359.t
	desc = saxony.359.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.359.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.01
		}
	}
}

#Saxony - Middle State Refuses to Join the Cause
country_event = {
	id = saxony.360
	title = saxony.360.t
	desc = saxony.360.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	is_triggered_only = yes
	
	option = {
		name = saxony.360.a
		ai_chance = { base = 100 }
		add_political_power = -5
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.03
		}
	}
}

#Saxony - Enough Support for the Augustenburger?
country_event = {
	id = saxony.361
	title = {
		trigger = { check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = greater_than_or_equals } }
		text = saxony.361.t_enough_support
	}
	title = {
		trigger = { check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = less_than } }
		text = saxony.361.t_not_enough_support
	}
	desc = {
		trigger = { check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = greater_than_or_equals } }
		text = saxony.361.d_enough_support
	}
	desc = {
		trigger = { check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = less_than } }
		text = saxony.361.d_not_enough_support
	}
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#Success
	option = {
		name = saxony.361.a
		ai_chance = { base = 100 }
		trigger = {
			check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = greater_than_or_equals }
		}
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = 0.05
		}
		if = {
			limit = {
				has_country_flag = SAX_event_federal_execution_granted_flag
			}
			unlock_decision_tooltip = SAX_decision_file_for_federal_intervention
		}
		else = {
			custom_effect_tooltip = SAX_decision_file_for_federal_intervention_trigger_tt
		}
		hidden_effect = {
			set_country_flag = SAX_unanimous_support_for_augustenburger_flag
			clear_variable = SAX_augustenburger_supporting_middle_states
		}
	}

	#Failure
	option = {
		name = saxony.361.b
		ai_chance = { base = 100 }
		trigger = {
			check_variable = { var = SAX_augustenburger_supporting_middle_states value = 7 compare = less_than }
		}
		add_political_power = -75
		add_power_balance_value = {
			id = SAX_Balance_of_Power_Trias
			value = -0.15
		}
		hidden_effect = {
			clear_variable = SAX_augustenburger_supporting_middle_states
		}
	}
}

##### ECONOMY AND TRADE EVENTS (saxony.501-700) #####



##### MILITARY EVENTS (saxony.701-900) #####

### GENERAL AND ADMIRAL EVENTS (saxony.701-750) ###

### ARMY EVENTS (saxony.751-900) ###

#Prussia/Austria – Saxony Seeks Military Convention
country_event = {
	id = saxony.751
	title = saxony.751.t
	desc = saxony.751.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.751.a
		ai_chance = { base = 100 }
		army_experience = 10
		SAX = { army_experience = 20 }
		give_military_access = SAX
		SAX = { give_military_access = ROOT }
		add_opinion_modifier = { target = SAX modifier = SAX_MILITARY_CONVENTION_EARLY_REL }
		reverse_add_opinion_modifier = { target = SAX modifier = SAX_MILITARY_CONVENTION_EARLY_REL }
		SAX = { country_event = { id = saxony.752 } }
	}
	
	option = {
		name = saxony.751.b
		ai_chance = { base = 0 }
		add_opinion_modifier = { target = SAX modifier = SAX_MILITARY_CONVENTION_REJECTED_REL }
		reverse_add_opinion_modifier = { target = SAX modifier = SAX_MILITARY_CONVENTION_REJECTED_REL }
		SAX = { country_event = { id = saxony.753 } }
	}
}

#Saxony – Prussia/Austria Agrees to Military Convention
country_event = {
	id = saxony.752
	title = saxony.752.t
	desc = saxony.752.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.752.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				FROM = { tag = PRS }
			}
			add_ideas = SAX_idea_PRS_military_convention_1
		}
		if = {
			limit = {
				FROM = { tag = AUS }
			}
			add_ideas = SAX_idea_AUS_military_convention_1
		}
		unlock_decision_tooltip = SAX_decision_intensify_convention
	}
}

#Saxony – Prussia/Austria Rejects Military Convention
country_event = {
	id = saxony.753
	title = saxony.753.t
	desc = saxony.753.d
	picture = GFX_report_event_saxony_coat_of_arms
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = saxony.753.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.03
	}
}
