﻿add_namespace = sevenweekswar

#Biarritz Meeting
country_event = {
	id = sevenweekswar.1
	title = sevenweekswar.1.t
	desc = sevenweekswar.1.d
	picture = GFX_report_event_biarritz_meeting
	
	fire_only_once = yes
	###is_triggered_only = yes  ###Change once Friedrich III's German War is done
	
	trigger = {
		OR = {
			AND = {
				tag = PRS
				PRS = { has_country_flag = PRS_gastein_convetion }
				PRS = { has_war = no }
				date > 1865.9.1
			}
			AND = {
				tag = PRS
				schleswig_holstein_question_resolved = yes
				PRS = { has_war = no }
				date > 1866.1.1
			}
		}
	}
	
	mean_time_to_happen = { days = 3 }
	
	option = {
		name = sevenweekswar.1.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_opinion_modifier = { target = FRA modifier = PRS_FRA_ARRANGEMENTS_REL }
		reverse_add_opinion_modifier = { target = FRA modifier = PRS_FRA_ARRANGEMENTS_REL }
		hidden_effect = {
			PRS = { country_event = { days = 150 id = sevenweekswar.2 } }
			PRS = { clr_country_flag = PRS_gastein_convetion }
			#FRA = { country_event = { id = france.20234 } }
		}
	}
}

#Prussia – Signs of War 
country_event = {
	id = sevenweekswar.2
	title = sevenweekswar.2.t
	desc = sevenweekswar.2.d
	picture = GFX_report_event_german_confederation_inner_circle
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.2.a
		ai_chance = { base = 100 }
		unlock_decision_tooltip = PRS_decision_break_dualism
		add_war_support = 0.02
		add_stability = -0.02
		hidden_effect = {
			PRS = { set_country_flag = PRS_signs_of_war_GC_flag }
			AUS = { country_event = { id = sevenweekswar.3 } }
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = AUS}
					NOT = { tag = BAD}
				}
				country_event = { id = sevenweekswar.4 } 
			}
			PRS = { country_event = { days = 15 id = sevenweekswar.5 } }
			BAD = {
				if = {
					limit = { NOT = { has_completed_focus = BAD_focus_national_question } }	
					country_event = { id = badenevent.2 }
				}
				else = { country_event = { id = sevenweekswar.4 } }
			}
			if = {
				limit = {
					is_ai = yes
				}
				51 = {
					add_building_construction = {
						type = supply_node
						province = 11494
						level = 1
						instant_build = yes
					}
				}
				64 = {
					add_building_construction = {
						type = supply_node
						province = 9560
						level = 1
						instant_build = yes
					}
				}
				66 = {
					add_building_construction = {
						type = supply_node
						province = 3545
						level = 1
						instant_build = yes
					}
				}
				950 = {
					add_building_construction = {
						type = supply_node
						province = 11517
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}
}

#Austria – Signs of War 
country_event = {
	id = sevenweekswar.3
	title = sevenweekswar.3.t
	desc = sevenweekswar.3.d
	picture = GFX_report_event_german_confederation_inner_circle
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.3.a
		ai_chance = { base = 100 }
		add_war_support = 0.02
		add_stability = -0.02
		hidden_effect = {
			AUS = { country_event = { days = 15 id = sevenweekswar.6 } }
		}
	}
}

#GC – Signs of War 
country_event = {
	id = sevenweekswar.4
	title = sevenweekswar.4.t
	desc = sevenweekswar.4.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.4.a
		ai_chance = { base = 100 }
		add_war_support = 0.02
		add_stability = -0.02
	}
}

#Prussia – Financial Preparations  
country_event = {
	id = sevenweekswar.5
	title = sevenweekswar.5.t
	desc = sevenweekswar.5.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			
		}
	}
	
	option = {
		name = sevenweekswar.5.a
		ai_chance = { base = 100 }
		add_dynamic_modifier = { modifier = dynmod_PRS_war_preparations }
		custom_effect_tooltip = PRS_war_preparations_effect_tt
		set_variable = { PRS_war_preparations_cgf = 0.15 tooltip = consumer_goods_expected_value_tooltip }
		set_variable = { PRS_war_preparations_icf = 0.05 tooltip = industrial_capacity_factory_tooltip }
		set_variable = { PRS_war_preparations_pfmef = 0.05 tooltip = production_factory_max_efficiency_factor_tooltip }
		hidden_effect = {
			PRS = { country_event = { days = 7 id = sevenweekswar.7 } }
		}
	}
}

#Austria – Financial Crisis   
country_event = {
	id = sevenweekswar.6
	title = sevenweekswar.6.t
	desc = sevenweekswar.6.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		set_temp_variable = { loan_size_to_check = 15 }
		has_less_than_specific_loan_size = no
	}
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.6.a
		ai_chance = { base = 100 }
		add_political_power = -75
		hidden_effect = {
			AUS = { country_event = { days = 21 id = sevenweekswar.8 } }
		}
	}
}

#Prussia - Partial Privatization of Railways?
country_event = {
	id = sevenweekswar.7
	title = sevenweekswar.7.t
	desc = sevenweekswar.7.d
	picture = GFX_report_event_generic_railway_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.7.a
		ai_chance = { base = 90 }
		add_political_power = 50
		custom_effect_tooltip = PRS_war_preparations_effect_tt
		add_to_variable = { PRS_war_preparations_cgf = -0.1 tooltip = consumer_goods_expected_value_tooltip }
		set_variable = { PRS_war_preparations_psif = -0.15 tooltip = production_speed_infrastructure_factor_tooltip }
		set_variable = { PRS_war_preparations_psrwf = -0.15 tooltip = production_speed_rail_way_factor_tooltip }
		hidden_effect = {
			PRS = { country_event = { days = 14 id = sevenweekswar.9 } }
		}
	}
	
	option = {
		name = sevenweekswar.7.b
		ai_chance = { 
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = -50
		hidden_effect = {
			PRS = { country_event = { days = 14 id = sevenweekswar.9 } }
		}
	}
}

#Austria - Austrian Maneuvers
country_event = {
	id = sevenweekswar.8
	title = sevenweekswar.8.t
	desc = sevenweekswar.8.d
	picture = GFX_report_event_soldiers_marching
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.8.a
		ai_chance = { base = 100 }
		add_stability = -0.02
		add_war_support = 0.02
		hidden_effect = {
			PRS = { country_event = { days = 7 id = sevenweekswar.10 } }
		}
	}
}

#Prussia - Increase Arms Production 
country_event = {
	id = sevenweekswar.9
	title = sevenweekswar.9.t
	desc = sevenweekswar.9.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.9.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_war_preparations_effect_tt
		add_to_variable = { PRS_war_preparations_cgf = 0.05 tooltip = consumer_goods_expected_value_tooltip }
		add_to_variable = { PRS_war_preparations_icf = 0.05 tooltip = industrial_capacity_factory_tooltip }
		add_to_variable = { PRS_war_preparations_pfmef = 0.05 tooltip = production_factory_max_efficiency_factor_tooltip }
		set_variable = { PRS_war_preparations_pfegf = 0.05 tooltip = production_factory_efficiency_gain_factor_tooltip }
	}
}

#Prussia - Prussian Army Preparations 
country_event = {
	id = sevenweekswar.10
	title = sevenweekswar.10.t
	desc = sevenweekswar.10.d
	picture = GFX_report_event_soldiers_marching
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.10.a
		ai_chance = { base = 100 }
		add_stability = -0.02
		add_war_support = 0.02
		if = {
			limit = {
				is_ai = no
			}
			if = {
				limit = {
					has_idea = PRS_dreyse_rifle_1
				}
				swap_ideas = { remove_idea = PRS_dreyse_rifle_1 add_idea = PRS_dreyse_rifle_2 }
			}
			else = {
				add_ideas = PRS_dreyse_rifle_1
			}
		}
		else = {
			if = {
				limit = {
					has_idea = PRS_dreyse_rifle_ai_1
				}
				swap_ideas = { remove_idea = PRS_dreyse_rifle_ai_1 add_idea = PRS_dreyse_rifle_ai_2 }
			}
			else = {
				add_ideas = PRS_dreyse_rifle_ai_1
			}
		}
	}
}

#Italy/Sardinia-Piedmont - Alliance with Prussia?
country_event = {
	id = sevenweekswar.11
	title = sevenweekswar.11.t
	desc = sevenweekswar.11.d
	picture = GFX_report_event_hitler_handshake
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#Options a,b,c only trigger when ITA does not already control Veneto
	option = {
		name = sevenweekswar.11.a
		trigger = {
			ITA = { NOT = { controls_state = 160 } }
		}
		ai_chance = { base = 95 }
		custom_effect_tooltip = historical_option
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.12 } }
			####Veneto = Historical Option
		}
	}

	option = {
		name = sevenweekswar.11.b
		trigger = {
			ITA = { NOT = { controls_state = 160 } }
		}
		ai_chance = { 
			base = 5
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.13 } }
			####Veneto + Trentino
		}
	}
	
	option = {
		name = sevenweekswar.11.c
		trigger = {
			ITA = { NOT = { controls_state = 160 } }
		}
		ai_chance = { base = 0 }
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.14 } }
			###Veneto + Trentino + Trieste
		}
	}
	
	#Options e,f,g only trigger when ITA already controls Veneto
	option = {
		name = sevenweekswar.11.e
		trigger = {
			ITA = { controls_state = 160 }
		}
		ai_chance = { base = 95 }
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.79 } }
			###Trentino
		}
	}
	
	option = {
		name = sevenweekswar.11.f
		trigger = {
			ITA = { controls_state = 160 }
		}
		ai_chance = { base = 5 }
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.80 } }
			###Trentino + Trieste
		}
	}
	
	option = {
		name = sevenweekswar.11.g
		trigger = {
			ITA = { controls_state = 160 }
		}
		ai_chance = { base = 0 }
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.81 } }
			###Trentino + Trieste + Istria + South Istria
		}
	}
	
	#Option h will always appear
	option = {
		name = sevenweekswar.11.h
		ai_chance = { base = 0 }
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.78 } }
			###No Alliance with Prussia
		}
	}
}

#Prussia - Accept Italian Demands? ####Veneto = Historical Option
country_event = {
	id = sevenweekswar.12
	title = sevenweekswar.12.t
	desc = sevenweekswar.12.d
	picture = GFX_report_event_generic_read_write
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.12.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_accept_Italy_demands_Veneto_tt
		hidden_effect = {
			PRS = { set_country_flag = PRS_ITA_alliance_1866_1 }
			ITA = { country_event = { days = 1 id = sevenweekswar.82 } }
		}
	}
	
	option = {
		name = sevenweekswar.12.b
		ai_chance = { base = 0 }
		hidden_effect = {
			ITA = { country_event = { days = 1 id = sevenweekswar.15 } }
		}
	}
}

#Prussia - Accept Italian Demands? ####Veneto + Trentino
country_event = {
	id = sevenweekswar.13
	title = sevenweekswar.13.t
	desc = sevenweekswar.13.d
	picture = GFX_report_event_generic_read_write
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.13.a
		ai_chance = { base = 25 }
		custom_effect_tooltip = PRS_accept_Italy_demands_Veneto_Trentino_tt
		hidden_effect = {
			PRS = { set_country_flag = PRS_ITA_alliance_1866_2 }
			ITA = { country_event = { days = 1 id = sevenweekswar.82 } }
		}
	}
	
	option = {
		name = sevenweekswar.13.b
		ai_chance = { base = 75 }
		hidden_effect = {
			ITA = { country_event = { days = 1 id = sevenweekswar.15 } }
		}
	}
}

#Prussia – Accept Italian Demands? ###Veneto + Trentino + Trieste
country_event = {
	id = sevenweekswar.14
	title = sevenweekswar.14.t
	desc = sevenweekswar.14.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.14.a
		ai_chance = { base = 5 }
		custom_effect_tooltip = PRS_accept_Italy_demands_Veneto_Trentino_Trieste_tt
		hidden_effect = {
			PRS = { set_country_flag = PRS_ITA_alliance_1866_3 }
			ITA = { country_event = { days = 1 id = sevenweekswar.82 } }
		}
	}
	
	option = {
		name = sevenweekswar.14.b
		ai_chance = { base = 95 }
		hidden_effect = {
			ITA = { country_event = { days = 1 id = sevenweekswar.15 } }
		}
	}
}

#Italy/Sardinia-Piedmont – No Prussian Alliance 
country_event = {
	id = sevenweekswar.15
	title = sevenweekswar.15.t
	desc = sevenweekswar.15.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.15.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = -0.05
	}
}

#Prussia – Present Bundesreformplan 
country_event = {
	id = sevenweekswar.16
	title = sevenweekswar.16.t
	desc = sevenweekswar.16.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.16.a
		ai_chance = { base = 100 }
		add_war_support = 0.02
		add_popularity = {
		    ideology = centrism
			popularity = 0.02
		}
		hidden_effect = {
			AUS = { country_event = { days = 1 id = sevenweekswar.17 } }
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = AUS }
				}
				country_event = { days = 1 id = sevenweekswar.18 } 
			}
			PRS = { country_event = { days = 7 id = sevenweekswar.19 } }
			PRS = { country_event = { days = 14 id = sevenweekswar.20 } }
			if = {
				limit = {
					PRS = {
						has_country_leader = {
							name = "Otto von Bismarck"
							ruling_only = yes
						}
					}
				}	
				PRS = { country_event = { days = 30 id = sevenweekswar.21 } }
			}
		}
	}
}

#Austria – Prussia Presents Bundesreformplan
country_event = {
	id = sevenweekswar.17
	title = sevenweekswar.17.t
	desc = sevenweekswar.17.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.17.a
		ai_chance = { base = 100 }
		add_war_support = 0.02
		add_political_power = -25
		add_stability = -0.02
		hidden_effect = {
			AUS = { country_event = { days = 30 id = sevenweekswar.24 } }
		}
	}
}

#GC – Prussia Presents Bundesreformplan 
country_event = {
	id = sevenweekswar.18
	title = sevenweekswar.18.t
	desc = sevenweekswar.18.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.18.a
		ai_chance = { base = 100 }
		add_political_power = 10
	}
}

#Prussia – Support Austrian Socialists?  
country_event = {
	id = sevenweekswar.19
	title = sevenweekswar.19.t
	desc = sevenweekswar.19.d
	picture = GFX_report_event_spain_civil_war_volunteers_02
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.19.a
		ai_chance = { base = 95 }
		add_political_power = -50
		AUS = { add_timed_idea = { idea = AUS_idea_PRS_boost_socialism days = 180 } }
		reverse_add_opinion_modifier = { target = AUS modifier = eoanb_om_PRS_AUS_socialism }
	}
	
	option = {
		name = sevenweekswar.19.b
		ai_chance = { base = 5 }
		add_political_power = 25
	}
}

#Prussia – Support Hungarian Separatists? 
country_event = {
	id = sevenweekswar.20
	title = sevenweekswar.20.t
	desc = sevenweekswar.20.d
	picture = GFX_report_event_hungary_parliament
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.20.a
		ai_chance = { base = 90 }
		add_political_power = -50
		AUS = { add_stability = -0.05 }
		AUS = { add_war_support = -0.1 }
		reverse_add_opinion_modifier = { target = AUS modifier = eoanb_om_PRS_AUS_hungary_seperatist }
	}
	
	option = {
		name = sevenweekswar.20.b
		ai_chance = { base = 10 }
		add_political_power = 25
	}
}

#Prussia – Assassination Attempt on Bismarck
country_event = {
	id = sevenweekswar.21
	title = sevenweekswar.21.t
	desc = sevenweekswar.21.d
	picture = GFX_report_event_bismarck_assassination_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.21.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.03
		hidden_effect = {
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
				}
				country_event = { days = 1 id = sevenweekswar.22 } 
			}
			PRS = { country_event = { days = 2 id = sevenweekswar.23 } }
		}
	}
}

#GC – Assassination Attempt on Bismarck  
country_event = {
	id = sevenweekswar.22
	title = sevenweekswar.22.t
	desc = sevenweekswar.22.d
	picture = GFX_report_event_bismarck_assassination_1
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.22.a
		ai_chance = { base = 100 }
		add_stability = -0.01
	}
}

#Prussia – Parliament Dissolution 
country_event = {
	id = sevenweekswar.23
	title = sevenweekswar.23.t
	desc = sevenweekswar.23.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.23.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_stability = -0.02
	}
}

#Austria – Block Prussian Reform Plan 
country_event = {
	id = sevenweekswar.24
	title = sevenweekswar.24.t
	desc = sevenweekswar.24.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.24.a
		ai_chance = { base = 100 }
		add_political_power = -50
		add_war_support = 0.02
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.25 } }
			AUS = { country_event = { days = 24 id = sevenweekswar.26 } }
		}
	}
}

#Prussia – Austria Blocks Reform Plan 
country_event = {
	id = sevenweekswar.25
	title = sevenweekswar.25.t
	desc = sevenweekswar.25.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.25.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = 0.02
	}
}

#Austria – Ask Bundestag to Settle Schleswig-Holstein Question 
country_event = {
	id = sevenweekswar.26
	title = sevenweekswar.26.t
	desc = sevenweekswar.26.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.26.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = 0.02
		if = {
			limit = {
				has_opinion_modifier = PRS_AUS_SCHLESWIG_REL
			}
			remove_opinion_modifier = { target = PRS modifier = PRS_AUS_SCHLESWIG_REL }
		}
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.27 } }
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = PRS }
				}
				country_event = { days = 1 id = sevenweekswar.28 } 
			}
		}
	}
}

#Prussia – Austria Invokes Bundestag in Schleswig-Holstein Question 
country_event = {
	id = sevenweekswar.27
	title = sevenweekswar.27.t
	desc = sevenweekswar.27.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.27.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = 0.02
		if = {
			limit = {
				has_opinion_modifier = PRS_AUS_SCHLESWIG_REL
			}
			remove_opinion_modifier = { target = AUS modifier = PRS_AUS_SCHLESWIG_REL }
		}
		hidden_effect = {
			PRS = { country_event = { days = 7 id = sevenweekswar.31 } }
		}
	}
}

#GC – Austria Invokes Bundestag in Schleswig-Holstein Question 
country_event = {
	id = sevenweekswar.28
	title = sevenweekswar.28.t
	desc = sevenweekswar.28.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.28.a
		ai_chance = { base = 100 }
		add_political_power = 10
		add_war_support = 0.02
	}
}

#Austria – Negotiate Secret Convention with France? 
country_event = {
	id = sevenweekswar.29
	title = sevenweekswar.29.t
	desc = sevenweekswar.29.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.29.a
		ai_chance = { base = 90 }
		custom_effect_tooltip = AUS_FRA_convention_1866
		add_political_power = -25
		add_stability = 0.01
		FRA = { country_event = { days = 1 id = sevenweekswar.30 } }
	}
	
	option = {
		name = sevenweekswar.29.b
		ai_chance = { 
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = 25
		add_stability = -0.01
	}
}

#France – Austria Proposes Secret Convention
country_event = {
	id = sevenweekswar.30
	title = sevenweekswar.30.t
	desc = sevenweekswar.30.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.30.a
		ai_chance = { base = 90 }
		custom_effect_tooltip = AUS_FRA_convention_1866_1
		add_political_power = -25
		add_war_support = -0.02
		add_stability = 0.02
		AUS = { country_event = { days = 8 id = sevenweekswar.40 } }
	}
	
	option = {
		name = sevenweekswar.30.b
		ai_chance = { 
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = 25
		add_war_support = 0.02
		add_stability = -0.02
		AUS = { country_event = { days = 8 id = sevenweekswar.41 } }
	}
}

#Prussia – Occupation of Holstein?
country_event = {
	id = sevenweekswar.31
	title = sevenweekswar.31.t
	desc = sevenweekswar.31.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = sevenweekswar.31.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = 0.03
		PRS = { transfer_state = 949 }
		custom_effect_tooltip = PRS_mobilize_divisions_effect_tt
		hidden_effect = {
			load_oob = "PRS_7WW_mobilization"
			AUS = { country_event = { id = sevenweekswar.32 } }
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = AUS }
				}
				country_event = { id = sevenweekswar.33 } 
			}
			PRS = { country_event = { days = 1 id = sevenweekswar.34 } }
			949 = { add_compliance = 20 }
		}
	}
	
	option = {
		name = sevenweekswar.31.b
		ai_chance = { base = 0 }
		add_political_power = 25
		add_war_support = -0.03
		custom_effect_tooltip = PRS_mobilize_divisions_effect_tt
		hidden_effect = {
			load_oob = "PRS_7WW_mobilization"
			PRS = { country_event = { days = 1 id = sevenweekswar.34 } }
		}
	}
}

#Austria – Prussian Troops Occupy Holstein 
country_event = {
	id = sevenweekswar.32
	title = sevenweekswar.32.t
	desc = sevenweekswar.32.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.32.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = 0.03
	}
}

#GC – Prussian Troops Occupy Holstein
country_event = {
	id = sevenweekswar.33
	title = sevenweekswar.33.t
	desc = sevenweekswar.33.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.33.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_war_support = 0.02
	}
}

#Prussia – Suggest Austrian Exit from German Confederation 
country_event = {
	id = sevenweekswar.34
	title = sevenweekswar.34.t
	desc = sevenweekswar.34.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.34.a
		ai_chance = { base = 100 }
		add_political_power = 10
		add_stability = 0.01
		hidden_effect = {
			AUS = { country_event = { id = sevenweekswar.35 } }
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = AUS }
				}
				country_event = { id = sevenweekswar.36 } 
			}
		}
	}
}

#Austria – Prussia Suggests German Confederation Without Us 
country_event = {
	id = sevenweekswar.35
	title = sevenweekswar.35.t
	desc = sevenweekswar.35.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.33.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_war_support = 0.03
		add_stability = -0.03
		hidden_effect = {
			AUS = { country_event = { days = 1 id = sevenweekswar.37 } }
		}
	}
}

#GC – Prussia Suggests German Confederation Without Austria
country_event = {
	id = sevenweekswar.36
	title = sevenweekswar.36.t
	desc = sevenweekswar.36.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.36.a
		ai_chance = { base = 100 }
		add_war_support = 0.02
		add_stability = -0.01
	}
}

#Austria – File Motion for Federal Execution Against Prussia 
country_event = {
	id = sevenweekswar.37
	title = sevenweekswar.37.t
	desc = sevenweekswar.37.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.37.a
		ai_chance = { base = 100 }
		add_political_power = 25
		add_war_support = 0.02
		hidden_effect = {
			PRS = { country_event = { id = sevenweekswar.38 } }
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = PRS }
				}
				country_event = { id = sevenweekswar.39 } 
			}
			every_country = {
				limit = {
					is_part_of_the_german_confederation = yes
				}
				country_event = { days = 3 id = sevenweekswar.46 } 
			}
		}
	}
}

#Prussia – Austria Filed Motion for Federal Execution Against Us 
country_event = {
	id = sevenweekswar.38
	title = sevenweekswar.38.t
	desc = sevenweekswar.38.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.38.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = 0.03
		add_stability = -0.02
	}
}

#GC – Austria Filed Motion for Federal Execution Against Prussia
country_event = {
	id = sevenweekswar.39
	title = sevenweekswar.39.t
	desc = sevenweekswar.39.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.39.a
		ai_chance = { base = 100 }
		add_political_power = 10
		add_war_support = 0.02
		add_stability = -0.01
	}
}

#Austria – Sign Secret Austro-French Convention?
country_event = {
	id = sevenweekswar.40
	title = sevenweekswar.40.t
	desc = sevenweekswar.40.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.40.a
		ai_chance = { base = 90 }
		custom_effect_tooltip = AUS_FRA_convention_1866_2
		add_political_power = 25
		add_opinion_modifier = { target = FRA modifier = AUS_POL_ARRANGEMENTS_REL }
		reverse_add_opinion_modifier = { target = FRA modifier = AUS_POL_ARRANGEMENTS_REL }
		FRA = { country_event = { days = 1 id = sevenweekswar.42 } }
		hidden_effect = {
			AUS = { set_country_flag = AUS_FRA_convention_1866_signed }
		}
	}
	
	option = {
		name = sevenweekswar.40.b
		ai_chance = { 
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = 25
		FRA = { country_event = { days = 1 id = sevenweekswar.43 } }
	}
}

#Austria – France Rejects Treaty
country_event = {
	id = sevenweekswar.41
	title = sevenweekswar.41.t
	desc = sevenweekswar.41.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.41.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.02
	}
}

#France – Austria Agrees to Our Terms  
country_event = {
	id = sevenweekswar.42
	title = sevenweekswar.42.t
	desc = sevenweekswar.42.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.42.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_FRA_convention_1866_3
		add_political_power = 10
		add_stability = 0.01
		add_war_support = -0.02
	}
}

#France – Austria Rejects Our Terms 
country_event = {
	id = sevenweekswar.43
	title = sevenweekswar.43.t
	desc = sevenweekswar.43.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.43.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_stability = -0.01
		add_war_support = 0.02
	}
}

#sevenweekswar.44 - Placeholder - Voting on Federal Execution

#sevenweekswar.45 - Placeholder - Hidden Event to Cast Votes

#GC – Federal Execution Granted 
country_event = {
	id = sevenweekswar.46
	title = sevenweekswar.46.t
	desc = sevenweekswar.46.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.46.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = GC_war_imminent
		add_war_support = 0.03
		add_stability = -0.03
		if = {
			limit = {
				tag = AUS
			}
			AUS = {
				create_faction_from_template = faction_template_german_war_austrian_allies
				#create_faction = faction_austrian_allies
			}
			AUS = {
				if = {
					limit = {
						BAV = {
							OR = {
								has_country_flag = eoanb_flag_sww_side_aus
								NOT = { has_country_flag = bavaria_sides_with_prussia }
							}
						}
					}
					add_to_faction = BAV
					hidden_effect = {
						BAV = { set_country_flag = eoanb_flag_AUS_ally_sww }
					}
				}
				if = {
					limit = {
						WUR = {
							OR = {
								has_country_flag = WUR_stance_austria_accepted
								has_country_flag = eoanb_flag_sww_side_aus
								NOT = { has_country_flag = WUR_stance_prussia_accepted }
							}
						}
					}
					add_to_faction = WUR
					hidden_effect = {
						WUR = { set_country_flag = eoanb_flag_AUS_ally_sww }
					}
				}
				if = {
					limit = {
						BAD = {
							has_country_flag = eoanb_flag_sww_side_aus
						}
					}
					add_to_faction = BAD
					hidden_effect = {
						BAD = { set_country_flag = eoanb_flag_AUS_ally_sww }
					}
				}
				if = {
					limit = {
						FRK = {
							has_country_flag = eoanb_flag_sww_side_aus
						}
					}
					add_to_faction = FRK
					hidden_effect = {
						FRK = { set_country_flag = eoanb_flag_AUS_ally_sww }
					}
				}
				if = {
					limit = {
						HSD = {
							has_country_flag = eoanb_flag_sww_side_aus
						}
					}
					add_to_faction = HSD
					hidden_effect = {
						HSD = { set_country_flag = eoanb_flag_AUS_ally_sww }
					}
				}
				if = {
					limit = {
						NAS = {
							has_country_flag = eoanb_flag_sww_side_aus
						}
					}
					add_to_faction = NAS
					hidden_effect = {
						NAS = { set_country_flag = eoanb_flag_AUS_ally_sww }
					}
				}
				add_to_faction = LIE
				hidden_effect = {
					LIE = { set_country_flag = eoanb_flag_AUS_ally_sww }
				}
			}
		}
		if = {
			limit = {
				tag = PRS
			}
			PRS = { country_event = { id = sevenweekswar.47 } }
		}
		if = {
			limit = {
				tag = SAX
			}
			complete_national_focus = SAX_focus_conflict_in_german_confederation
		}
	}
}

#Prussia – Declare German Confederation Dissolved 
country_event = {
	id = sevenweekswar.47
	title = sevenweekswar.47.t
	desc = sevenweekswar.47.d
	picture = GFX_report_event_german_confederation_inner_circle
	
	immediate = {
		hidden_effect = {
			AUS = {
				if = {
					limit = {
						has_idea = GEC_idea_polizeiverein_leader_1
					}
					remove_ideas = GEC_idea_polizeiverein_leader_1
				}
				else_if = {
					limit = {
						has_idea = GEC_idea_polizeiverein_leader_2
					}
					remove_ideas = GEC_idea_polizeiverein_leader_2
				}
			}
			PRS = { remove_ideas = GEC_idea_polizeiverein_leader_1 }
			BAD = { remove_ideas = GEC_idea_polizeiverein_member }
			BAV = { remove_ideas = GEC_idea_polizeiverein_member }
			HAN = { remove_ideas = GEC_idea_polizeiverein_member }
			SAX = { remove_ideas = GEC_idea_polizeiverein_member }
			WUR = { remove_ideas = GEC_idea_polizeiverein_member }
		}
	}
	
	timeout_days = 2
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.47.a
		ai_chance = { base = 100 }
		create_faction_from_template = faction_template_german_war_prussian_allies
		#create_faction = faction_prussian_allies
		PRS = {
			if = {
				limit = {
					BAV = {
						OR = {
							has_country_flag = eoanb_flag_sww_side_prs
							has_country_flag = bavaria_sides_with_prussia
						}
					}
				}
				add_to_faction = BAV
				hidden_effect = {
					BAV = { set_country_flag = eoanb_flag_PRS_ally_sww }
				}
			}
			if = {
				limit = {
					WUR = {
						OR = {
							has_country_flag = eoanb_flag_sww_side_prs
							has_country_flag = WUR_stance_prussia_accepted
						}
					}
				}
				add_to_faction = WUR
				hidden_effect = {
					WUR = { set_country_flag = eoanb_flag_PRS_ally_sww }
				}
			}
			if = {
				limit = {
					BAD = {
						has_country_flag = eoanb_flag_sww_side_prs
					}
				}
				add_to_faction = BAD
				hidden_effect = {
					BAD = { set_country_flag = eoanb_flag_PRS_ally_sww }
				}
			}
			if = {
				limit = {
					FRK = {
						has_country_flag = eoanb_flag_sww_side_prs
					}
				}
				add_to_faction = FRK
				hidden_effect = {
					FRK = { set_country_flag = eoanb_flag_PRS_ally_sww }
				}
			}
			if = {
				limit = {
					HSD = {
						has_country_flag = eoanb_flag_sww_side_prs
					}
				}
				add_to_faction = HSD
				hidden_effect = {
					HSD = { set_country_flag = eoanb_flag_PRS_ally_sww }
				}
			}
			if = {
				limit = {
					NAS = {
						has_country_flag = eoanb_flag_sww_side_prs
					}
				}
				add_to_faction = NAS
				hidden_effect = {
					NAS = { set_country_flag = eoanb_flag_PRS_ally_sww }
				}
			}
		}
		custom_effect_tooltip = PRS_declares_german_war
		declare_war_on = { target = AUS type = wargoal_german_war }
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.49 } }
			PRS = { country_event = { days = 2 id = sevenweekswar.53 } }
			if = {
				limit = {
					PRS = {
						OR = { 
							has_country_flag = PRS_ITA_alliance_1866_1
							has_country_flag = PRS_ITA_alliance_1866_2
							has_country_flag = PRS_ITA_alliance_1866_3
							has_country_flag = PRS_ITA_alliance_1866_4
							has_country_flag = PRS_ITA_alliance_1866_5
							has_country_flag = PRS_ITA_alliance_1866_6
						}
					}
				}
				PRS = { country_event = { days = 3 id = sevenweekswar.57 } }
			}
			news_event = news.7
			set_global_flag = eoanb_flag_seven_weeks_war_ongoing
			add_named_threat = { 
				threat = 2
				name = eoanb_threat_sww_war
			}
			if = {
				limit = {
					is_historical_focus_on = yes
					AUS = { is_ai = yes }
					BAD = { is_ai = yes }
					BAV = { is_ai = yes }
					BRE = { is_ai = yes }
					FRK = { is_ai = yes }
					HAM = { is_ai = yes }
					HAN = { is_ai = yes }
					HES = { is_ai = yes }
					HLS = { is_ai = yes }
					HSD = { is_ai = yes }
					LCK = { is_ai = yes }
					MCK = { is_ai = yes }
					NAS = { is_ai = yes }
					OLD = { is_ai = yes }
					PRS = { is_ai = yes }
					SCH = { is_ai = yes }
					SAX = { is_ai = yes }
					THU = { is_ai = yes }
					WUR = { is_ai = yes }
				}
				AUS = { add_ideas = PRS_idea_weakened_sww }
				PRS = { add_ideas = hidden_idea_historical_PRS_victory }
			}
			else_if = {
				limit = {
					is_historical_focus_on = no
					AUS = { is_ai = yes }
					BAD = { is_ai = yes }
					BAV = { is_ai = yes }
					BRE = { is_ai = yes }
					FRK = { is_ai = yes }
					HAM = { is_ai = yes }
					HAN = { is_ai = yes }
					HES = { is_ai = yes }
					HLS = { is_ai = yes }
					HSD = { is_ai = yes }
					LCK = { is_ai = yes }
					MCK = { is_ai = yes }
					NAS = { is_ai = yes }
					OLD = { is_ai = yes }
					PRS = { is_ai = yes }
					SCH = { is_ai = yes }
					SAX = { is_ai = yes }
					THU = { is_ai = yes }
					WUR = { is_ai = yes }
				}
				if = {
					limit = {
						AUS = { NOT = { has_country_flag = AUS_army_reform_success_flag } }
					}
					AUS = { add_ideas = PRS_idea_weakened_sww }
				}
				random_list = {
					50 = { PRS = { add_ideas = hidden_idea_historical_PRS_victory } }
					50 = { }
				}
			}
			else = {
				if = {
					limit = {
						AUS = { NOT = { has_country_flag = AUS_army_reform_success_flag } }
					}
					AUS = { add_ideas = PRS_idea_weakened_sww }
				}
			}
			activate_mission = PRS_mission_german_war
			AUS = { activate_mission = PRS_mission_german_war }
			BAD = { complete_national_focus = BAD_focus_brothers_war }
		}
	}
}

#sevenweekswar.48 - Placeholder - Federal Execution Denied

#Prussia – Send a Prussian Ultimatum 
country_event = {
	id = sevenweekswar.49
	title = sevenweekswar.49.t
	desc = sevenweekswar.49.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	timeout_days = 2
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.49.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				SCH = { exists = yes }
				SCH = { is_subject = no }
			}
			custom_effect_tooltip = PRS_german_war_ultimatum_SCH
		}
		else_if = {
			limit = {
				HLS = { exists = yes }
				HLS = { is_subject = no }
			}
			custom_effect_tooltip = PRS_german_war_ultimatum_HLS
		}
		else = {
			custom_effect_tooltip = PRS_german_war_ultimatum
		}
		add_political_power = -25
		hidden_effect = {
			HAN = { country_event = { days = 1 id = sevenweekswar.50 } }
			HES = { country_event = { days = 1 id = sevenweekswar.50 } }
			SAX = { country_event = { days = 1 id = sevenweekswar.50 } }
			if = {
				limit = {
					SCH = { exists = yes }
					SCH = { is_subject = no }
				}
				SCH = { country_event = { days = 1 id = sevenweekswar.50 } }
			}
			if = {
				limit = {
					HLS = { exists = yes }
					HLS = { is_subject = no }
				}
				HLS = { country_event = { days = 1 id = sevenweekswar.50 } }
			}
		}
	}
}

#Hanover, Hesse, Saxony (and Schleswig-Holstein/Holstein) – Respond to Prussian Ultimatum 
country_event = {
	id = sevenweekswar.50
	title = sevenweekswar.50.t
	desc = sevenweekswar.50.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	timeout_days = 1
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.50.a
		ai_chance = { 
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = GC_german_war_ultimatum_yes
		add_political_power = -25
		add_stability = -0.02
		PRS = { add_to_faction = ROOT }
		hidden_effect = {
			PRS = { country_event = { id = sevenweekswar.51 } }
			ROOT = { set_country_flag = eoanb_flag_PRS_ally_sww }
		}
	}
	
	option = {
		name = sevenweekswar.50.b
		ai_chance = { base = 90 }
		custom_effect_tooltip = GC_german_war_ultimatum_no
		add_political_power = 25
		add_stability = -0.04
		AUS = { add_to_faction = ROOT }
		hidden_effect = {
			PRS = { country_event = { id = sevenweekswar.52 } }
			ROOT = { set_country_flag = eoanb_flag_AUS_ally_sww }
		}
	}
}

#Prussia – XYZ Accepted Our Ultimatum
country_event = {
	id = sevenweekswar.51
	title = sevenweekswar.51.t
	desc = sevenweekswar.51.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.51.a
		ai_chance = { base = 100 }
		add_political_power = 20
		FROM = { add_to_war = { targeted_alliance = PRS enemy = AUS } }
	}
}

#Prussia – XYZ Ignored Our Ultimatum 
country_event = {
	id = sevenweekswar.52
	title = sevenweekswar.52.t
	desc = sevenweekswar.52.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	timeout_days = 2
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.52.a
		ai_chance = { base = 100 }
		add_political_power = -10
		FROM = { add_to_war = { targeted_alliance = AUS enemy = PRS } }
	}
}

#Prussia – North German Alliance Proposal
country_event = {
	id = sevenweekswar.53
	title = sevenweekswar.53.t
	desc = sevenweekswar.53.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.53.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_german_war_ngc_alliance
		add_political_power = 25
		hidden_effect = {
			BRE = { country_event = { days = 1 id = sevenweekswar.54 } }
			HAM = { country_event = { days = 1 id = sevenweekswar.54 } }
			LCK = { country_event = { days = 1 id = sevenweekswar.54 } }
			MCK = { country_event = { days = 1 id = sevenweekswar.54 } }
			OLD = { country_event = { days = 1 id = sevenweekswar.54 } }
			THU = { country_event = { days = 1 id = sevenweekswar.54 } }
		}
	}
}

#Mecklenburg, Oldenburg, Lübeck, Bremen, Hamburg, Thuringia – North German Alliance Proposal 
country_event = {
	id = sevenweekswar.54
	title = sevenweekswar.54.t
	desc = sevenweekswar.54.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	timeout_days = 1
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.54.a
		ai_chance = { base = 90 }
		custom_effect_tooltip = GC_german_war_ngc_alliance_yes
		add_political_power = 25
		add_stability = -0.02
		PRS = { add_to_faction = ROOT }
		hidden_effect = {
			PRS = { country_event = { id = sevenweekswar.55 } }
			ROOT = { set_country_flag = eoanb_flag_PRS_ally_sww }
		}
	}
	
	option = {
		name = sevenweekswar.54.b
		ai_chance = { 
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = GC_german_war_ngc_alliance_no
		add_political_power = -25
		add_stability = -0.05
		AUS = { add_to_faction = ROOT }
		hidden_effect = {
			PRS = { country_event = { id = sevenweekswar.56 } }
			ROOT = { set_country_flag = eoanb_flag_AUS_ally_sww }
		}
	}
}

#Prussia – XYZ Accepted Our Ultimatum
country_event = {
	id = sevenweekswar.55
	title = sevenweekswar.55.t
	desc = sevenweekswar.55.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.55.a
		ai_chance = { base = 100 }
		add_political_power = 20
		FROM = { add_to_war = { targeted_alliance = PRS enemy = AUS } }
	}
}

#Prussia – XYZ Ignored Our Ultimatum 
country_event = {
	id = sevenweekswar.56
	title = sevenweekswar.56.t
	desc = sevenweekswar.56.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	timeout_days = 2
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.56.a
		ai_chance = { base = 100 }
		add_political_power = -10
		FROM = { add_to_war = { targeted_alliance = AUS enemy = PRS } }
	}
}

#Prussia – Send Stab-in-the-Heart Dispatch to Italy
country_event = {
	id = sevenweekswar.57
	title = sevenweekswar.57.t
	desc = sevenweekswar.57.d
	picture = GFX_report_event_bismarck_portrait_younger
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.57.a
		ai_chance = { base = 100 }
		add_political_power = -25
		ITA = { country_event = { days = 3 id = sevenweekswar.58 } }
	}
}

#Italy/Sardinia-Piedmont – Bismarck's Stab-in-the-Heart Dispatch
country_event = {
	id = sevenweekswar.58
	title = sevenweekswar.58.t
	desc = sevenweekswar.58.d
	picture = GFX_report_event_bismarck_portrait_younger
	
	timeout_days = 2
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.58.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = 0.1
		add_stability = -0.03
		PRS = { add_to_faction = ROOT }
		ROOT = { add_to_war = { targeted_alliance = PRS enemy = AUS } }
	}
}

#Austria – We Must Sue for Peace 
country_event = {
	id = sevenweekswar.59
	title = sevenweekswar.59.t
	desc = sevenweekswar.59.d
	picture = GFX_report_event_battle_of_koniggratz
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.59.a
		ai_chance = { base = 100 }
		add_political_power = -50
		add_stability = -0.15
		add_war_support = -0.5
		custom_effect_tooltip = AUS_german_war_sue_for_peace
		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 = {
			white_peace = PRS
			white_peace = ITA
			PRS = { dismantle_faction = yes }
			AUS = { dismantle_faction = yes }
			remove_mission = PRS_mission_german_war
			set_global_flag = eoanb_flag_seven_weeks_war_end
			clr_global_flag = eoanb_flag_seven_weeks_war_ongoing
			AUS = {
				remove_ideas = PRS_idea_weakened_sww
                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
				}
			}
			PRS = { country_event = { id = sevenweekswar.60 } }
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = PRS }
				}
				country_event = { id = sevenweekswar.61 } 
			}
			if = {
				limit = {
					PRS = { 
						OR = {
							has_country_flag = PRS_ITA_alliance_1866_1
							has_country_flag = PRS_ITA_alliance_1866_2
							has_country_flag = PRS_ITA_alliance_1866_3
							has_country_flag = PRS_ITA_alliance_1866_4
							has_country_flag = PRS_ITA_alliance_1866_5
							has_country_flag = PRS_ITA_alliance_1866_6
						}
					}
				}
				ITA = { country_event = { id = sevenweekswar.83 } }
			}
		}
	}
}

#Prussia – Austria Sues for Peace 
country_event = {
	id = sevenweekswar.60
	title = sevenweekswar.60.t
	desc = sevenweekswar.60.d
	picture = GFX_report_event_battle_of_koniggratz
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.60.a
		ai_chance = { base = 100 }
		add_political_power = 100
		add_stability = 0.1
		add_war_support = -0.5
		hidden_effect = {
			PRS = { country_event = { days = 11 id = sevenweekswar.65 } }
			PRS = { country_event = { days = 23 id = sevenweekswar.69 } }
			PRS = { country_event = { days = 28 id = sevenweekswar.71 } }
			HAN = { give_military_access = PRS }
			HES = { give_military_access = PRS }
			FRK = { give_military_access = PRS }
			NAS = { give_military_access = PRS }
			THU = { give_military_access = PRS }
			PRS = { if = { limit = { has_idea = hidden_idea_historical_PRS_victory } remove_ideas = hidden_idea_historical_PRS_victory } }
			remove_dynamic_modifier = { modifier = dynmod_PRS_war_preparations }
			clear_variable = PRS_war_preparations_cgf
			clear_variable = PRS_war_preparations_icf
			clear_variable = PRS_war_preparations_pfmef
			clear_variable = PRS_war_preparations_psif
			clear_variable = PRS_war_preparations_pfegf
			BAD = { complete_national_focus = BAD_focus_prussian_victory }
			clr_country_flag = PRS_signs_of_war_GC_flag
		}
	}
}

#GC – Austria Sues for Peace
country_event = {
	id = sevenweekswar.61
	title = sevenweekswar.61.t
	desc = sevenweekswar.61.d
	picture = GFX_report_event_battle_of_koniggratz
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.61.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.05
		add_war_support = -0.5
	}
}

#Prussia – We Must Sue for Peace 
country_event = {
	id = sevenweekswar.62
	title = sevenweekswar.62.t
	desc = sevenweekswar.62.d
	picture = GFX_report_event_battle_of_koniggratz
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.62.a
		ai_chance = { base = 100 }
		add_political_power = -50
		add_stability = -0.15
		add_war_support = -0.5
		custom_effect_tooltip = PRS_german_war_sue_for_peace
		custom_effect_tooltip = PRS_disband_mobilized_divisions_7WW_effect_tt
		hidden_effect = {
			white_peace = AUS
			ITA = { white_peace = AUS }
			PRS = { dismantle_faction = yes }
			AUS = { dismantle_faction = yes }
			remove_mission = PRS_mission_german_war
			set_global_flag = eoanb_flag_seven_weeks_war_end
			clr_global_flag = eoanb_flag_seven_weeks_war_ongoing
			clr_country_flag = PRS_signs_of_war_GC_flag
			AUS = { remove_ideas = PRS_idea_weakened_sww }
			PRS = { if = { limit = { has_idea = hidden_idea_historical_PRS_victory } remove_ideas = hidden_idea_historical_PRS_victory } }
			remove_dynamic_modifier = { modifier = dynmod_PRS_war_preparations }
			clear_variable = PRS_war_preparations_cgf
			clear_variable = PRS_war_preparations_icf
			clear_variable = PRS_war_preparations_pfmef
			clear_variable = PRS_war_preparations_psif
			clear_variable = PRS_war_preparations_pfegf
			PRS = {
				if = {
					limit = {
						has_template = "Landsturm-Regiment"
					}
					delete_unit_template_and_units = {
						division_template = "Landsturm-Regiment"
					}
				}
				if = {
					limit = {
						has_template = "Infanterie-Division (mob.)"
					}
					delete_unit_template_and_units = {
						division_template = "Infanterie-Division (mob.)"
					}
				}
				if = {
					limit = {
						has_template = "Landwehr-Regiment (mob.)"
					}
					delete_unit_template_and_units = {
						division_template = "Landwehr-Regiment (mob.)"
					}
				}
				if = {
					limit = {
						has_template = "Füsilier-Regiment (mob.)"
					}
					delete_unit_template_and_units = {
						division_template = "Füsilier-Regiment (mob.)"
					}
				}
				if = {
					limit = {
						has_template = "Husaren-Regiment (mob.)"
					}
					delete_unit_template_and_units = {
						division_template = "Husaren-Regiment (mob.)"
					}
				}
				set_division_template_lock = {
					division_template = "Gardeinfanterie-Division"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Infanterie-Division"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Landwehr-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Füsilier-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Dragoner-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Husaren-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Kürassier-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Ulanen-Regiment"
					is_locked = no
				}
			}
			AUS = { country_event = { id = sevenweekswar.63 } }
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = AUS }
				}
				country_event = { id = sevenweekswar.64 } 
			}
		}
	}
}

#Austria – Prussia Sues for Peace 
country_event = {
	id = sevenweekswar.63
	title = sevenweekswar.63.t
	desc = sevenweekswar.63.d
	picture = GFX_report_event_battle_of_koniggratz
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.63.a
		ai_chance = { base = 100 }
		add_political_power = 100
		add_stability = 0.1
		add_war_support = -0.5
		hidden_effect = {
			AUS = { country_event = { days = 28 id = sevenweekswar.73 } }
			BAD = { complete_national_focus = BAD_focus_austrian_victory }
		}
	}
}

#GC – Prussia Sues for Peace
country_event = {
	id = sevenweekswar.64
	title = sevenweekswar.64.t
	desc = sevenweekswar.64.d
	picture = GFX_report_event_battle_of_koniggratz
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.64.a
		ai_chance = { base = 100 }
		add_political_power = 25
		add_stability = 0.02
		add_war_support = -0.5
	}
}

#Prussia – Offer Schutz- und Trutzbündnisse to South German Countries
country_event = {
	id = sevenweekswar.65
	title = sevenweekswar.65.t
	desc = sevenweekswar.65.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.65.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_stability = 0.02
		add_ideas = GC_idea_schutz_und_trutz
		custom_effect_tooltip = PRS_schutz_und_trutz_effect_tt
		WUR = { country_event = { days = 7 id = sevenweekswar.66 } }
		BAD = { country_event = { days = 11 id = sevenweekswar.66 } }
		BAV = { country_event = { days = 16 id = sevenweekswar.66 } }
		HSD = { country_event = { days = 28 id = sevenweekswar.66 } }
		PRS = { country_event = { days = 31 id = sevenweekswar.68 } }
	}
}

#Württemberg, Baden, Bayern, Hesse-Darmstadt – Schutz- und Trutzbündnis with Prussia?
country_event = {
	id = sevenweekswar.66
	title = sevenweekswar.66.t
	desc = sevenweekswar.66.d
	picture = GFX_report_event_german_confederation_inner_circle
	
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.66.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = GC_schutz_und_trutz_yes
		add_political_power = 25
		add_stability = 0.02
		add_ideas = GC_idea_schutz_und_trutz
		ROOT = {
			give_guarantee = PRS
			give_military_access = PRS
			diplomatic_relation = {
				country = PRS
				relation = non_aggression_pact
				active = no
			}
		}
		PRS = {
			give_guarantee = ROOT
			give_military_access = ROOT
			diplomatic_relation = {
				country = ROOT
				relation = non_aggression_pact
				active = no
			}
		}
	}
	
	option = {
		name = sevenweekswar.66.b
		ai_chance = { base = 0 }
		custom_effect_tooltip = GC_schutz_und_trutz_no
		add_political_power = -50
		add_stability = -0.05
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.67 } }
		}
	}
}

#Prussia – XYZ Rejected Schutz- und Trutzbündnis 
country_event = {
	id = sevenweekswar.67
	title = sevenweekswar.67.t
	desc = sevenweekswar.67.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.67.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.01
		create_wargoal = { type = annex_everything target = FROM }
		add_threat = 1
	}
}

#Prussia – Schutz- und Trutzbündnisse Signed 
country_event = {
	id = sevenweekswar.68
	title = sevenweekswar.68.t
	desc = sevenweekswar.68.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = PRS
		OR = {
			BAD = { has_idea = GC_idea_schutz_und_trutz }
			BAV = { has_idea = GC_idea_schutz_und_trutz }
			HSD = { has_idea = GC_idea_schutz_und_trutz }
			WUR = { has_idea = GC_idea_schutz_und_trutz }
		}
	}
	
	option = {
		name = sevenweekswar.68.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_schutz_und_trutz_complete_effect_tt
		add_political_power = 25
		add_stability = 0.02
	}
}

#Prussia – North German Confederation Treaties
country_event = {
	id = sevenweekswar.69
	title = sevenweekswar.69.t
	desc = sevenweekswar.69.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.69.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties
		hidden_effect = {
			BRE = { country_event = { id = sevenweekswar.70 } }
			HAM = { country_event = { id = sevenweekswar.70 } }
			LCK = { country_event = { id = sevenweekswar.70 } }
			MCK = { country_event = { id = sevenweekswar.70 } }
			OLD = { country_event = { id = sevenweekswar.70 } }
			SAX = { country_event = { id = sevenweekswar.70 } }
			THU = { country_event = { id = sevenweekswar.70 } }
			add_ideas = PRS_idea_anti_ngc_sentiment
			add_ideas = PRS_idea_rapid_expansion
			PRS = { set_cosmetic_tag = GER_north_confederation }
		}
		complete_national_focus = PRS_focus_north_german_confederation
	}
}

#Bremen, Hamburg, Lübeck, Mecklenburg, Oldenburg, Saxony, Thuringia – North German Confederation Treaties
country_event = {
	id = sevenweekswar.70
	title = sevenweekswar.70.t
	desc = sevenweekswar.70.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.70.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties
		hidden_effect = {
			PRS = { annex_country = { target = ROOT transfer_troops = yes } }
			if = {
				limit = {
					tag = SAX
					950 = { is_claimed_by = SAX }
				}
				950 = { remove_claim_by = SAX }
			}
		}
	}
}

#Prussia – Prague Peace Treaty 
country_event = {
	id = sevenweekswar.71
	title = sevenweekswar.71.t
	desc = sevenweekswar.71.d
	picture = GFX_report_event_battle_of_koniggratz
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.71.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_prague_peace_treaty_effect_tt
		set_temp_variable = {
			eoanb_prestige_change = 25
		}
		eoanb_change_prestige_score = yes
		hidden_effect = {
			PRS = { set_country_flag = eoanb_flag_won_7_weeks_war }
			PRS = { set_variable = { rival_country = FRA.id } }
			FRA = { 
				set_variable = { rival_country = PRS.id } 
				add_ai_strategy = {
					type = prepare_for_war
					id = PRS
					value = 110
				}		
				add_ai_strategy = {
					type = prepare_for_war
					id = BAV
					value = 110
				}		
				add_ai_strategy = {
					type = prepare_for_war
					id = BAD
					value = 110
				}
				add_ai_strategy = {
					type = area_priority
					id = africa
					value = -100
				}
				add_ai_strategy = {
					type = area_priority
					id = europe
					value = 4000 #more focus here
				} 
			}
			AUS = { country_event = { id = sevenweekswar.72 } }
			PRS = { country_event = { days = 1 id = sevenweekswar.75 } }
			every_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = PRS }
				}
				country_event = { days = 1 id = sevenweekswar.76 } 
			}
			PRS = { country_event = { days = 21 id = sevenweekswar.77 } }
			ITA = { country_event = { days = 41 id = sevenweekswar.84 } }
			AUS = { clr_country_flag = AUS_FRA_convention_1866_signed }
		}
	}
}

#Austria – Prague Peace Treaty 
country_event = {
	id = sevenweekswar.72
	title = sevenweekswar.72.t
	desc = sevenweekswar.72.d
	picture = GFX_report_event_battle_of_koniggratz
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.72.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_prague_peace_treaty_effect_tt
		set_temp_variable = {
			eoanb_prestige_change = -25
		}
		eoanb_change_prestige_score = yes
		hidden_effect = {
			AUS = { set_variable = { rival_country = OTO.id } }
			AUS = { country_event = { days = 30 id = austria.401 } }
		}
	}
}

#Austria – Breslau Peace Treaty 
country_event = {
	id = sevenweekswar.73
	title = sevenweekswar.73.t
	desc = sevenweekswar.73.d
	picture = GFX_report_event_battle_of_koniggratz
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.73.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_breslau_peace_treaty_effect_tt
		set_temp_variable = {
			eoanb_prestige_change = 25
		}
		eoanb_change_prestige_score = yes
		hidden_effect = {
			AUS = {
			    transfer_state = 1107
				add_state_core = 1107
			    transfer_state = 67
				add_state_core = 67
				transfer_state = 66
				add_state_core = 66
			}
			#add limits to account for war participation on the right side
			WUR = { 
				transfer_state = 1033
				add_state_core = 1033
			}
			HAN = { annex_country = { target = OLD transfer_troops = no } }
			HAN = { 
				transfer_state = 1060
				add_state_core = 1060
				add_state_core = 745
			}
			if = {
				limit = {
					OR = {
						950 = { is_claimed_by = SAX }
						SAX = { has_country_flag = eoanb_flag_AUS_ally_sww }
					}
				}
				SAX = { 
					transfer_state = 950
					add_state_core = 950
				}
			}
			if = {
				limit = {
					SCH = { exists = no }
					PRS = {
						owns_state = 58
						owns_state = 949
						owns_state = 1032
					}
				}
				SCH = {
					transfer_state = 58
					transfer_state = 949
					transfer_state = 1032
					give_military_access = AUS
					load_oob = "SCH_free_GC_member"
					set_politics = { ruling_party = autocracy }
					set_party_name = { ideology = autocracy name = SCH_autocracy_party_augustenburg }
					SCH_friedrich_von_augustenburg = {
						add_country_leader_role = {
							promote_leader = yes
							country_leader = {
								expire = "1950.1.1"
								desc = "POLITICS_GENERIC_EOANB_DESC"
								ideology = constit_monarch
								traits = {
									#
								}
							}
						}
					}
					country_event = { days = 14 id = secschwar.54 }
				}
			}
			AUS = { set_country_flag = AUS_flag_won_sww }
			PRS = { country_event = { id = sevenweekswar.74 } }
			ITA = { country_event = { days = 41 id = sevenweekswar.85 } }
			AUS = { clr_country_flag = AUS_FRA_convention_1866_signed }
		}
	}
}

#Prussia – Breslau Peace Treaty 
country_event = {
	id = sevenweekswar.74
	title = sevenweekswar.74.t
	desc = sevenweekswar.74.d
	picture = GFX_report_event_battle_of_koniggratz
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.74.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_breslau_peace_treaty_effect_tt
		set_temp_variable = {
			eoanb_prestige_change = -25
		}
		eoanb_change_prestige_score = yes
	}
}

#Prussia – German Confederation Dissolved 
country_event = {
	id = sevenweekswar.75
	title = sevenweekswar.75.t
	desc = sevenweekswar.75.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	fire_only_once = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.75.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_gerconfed_over_effect_tt
		remove_ideas = GEC_idea_german_confederation_major_power
		remove_ideas = GEC_idea_german_confederation_middle_power
		remove_ideas = GEC_idea_german_confederation_minor_power
		remove_ideas = GEC_idea_vienna_monetary_treaty
		hidden_effect = {
			news_event = news.8
		}
	}
}

#GC – German Confederation Dissolved 
country_event = {
	id = sevenweekswar.76
	title = sevenweekswar.76.t
	desc = sevenweekswar.76.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.76.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = GC_gerconfed_over_effect_tt
		add_stability = -0.02
		remove_ideas = GEC_idea_german_confederation_major_power
		remove_ideas = GEC_idea_german_confederation_middle_power
		remove_ideas = GEC_idea_german_confederation_minor_power
		remove_ideas = GEC_idea_vienna_monetary_treaty
	}
}

#Prussia – Prussian Annexations 
country_event = {
	id = sevenweekswar.77
	title = sevenweekswar.77.t
	desc = sevenweekswar.77.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.77.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_prussian_annexations_effect_tt
		hidden_effect = {
			PRS = { annex_country = { target = FRK transfer_troops = yes } }
			PRS = { annex_country = { target = HAN transfer_troops = yes } }
			PRS = { annex_country = { target = HES transfer_troops = yes } }
			PRS = { annex_country = { target = HLS transfer_troops = yes } }
			PRS = { annex_country = { target = NAS transfer_troops = yes } }
			PRS = { annex_country = { target = SCH transfer_troops = yes } }
			PRS = { transfer_state = 1061 }
			PRS = { remove_ideas = PRS_dreyse_rifle_1 }
			PRS = { remove_ideas = PRS_dreyse_rifle_2 }
			PRS = { remove_ideas = PRS_dreyse_rifle_ai_1 }
			PRS = { remove_ideas = PRS_dreyse_rifle_ai_2 }
		}
	}
}

#Prussia – No Italian Alliance 
country_event = {
	id = sevenweekswar.78
	title = sevenweekswar.78.t
	desc = sevenweekswar.78.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.78.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_war_support = -0.05
	}
}

#Prussia - Accept Italian Demands? ###Trentino
country_event = {
	id = sevenweekswar.79
	title = sevenweekswar.79.t
	desc = sevenweekswar.79.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.79.a
		ai_chance = { base = 95 }
		custom_effect_tooltip = PRS_accept_Italy_demands_Trentino_tt
		hidden_effect = {
			PRS = { set_country_flag = PRS_ITA_alliance_1866_4 }
			ITA = { country_event = { days = 1 id = sevenweekswar.82 } }
		}
	}
	
	option = {
		name = sevenweekswar.79.b
		ai_chance = { base = 5 }
		hidden_effect = {
			ITA = { country_event = { days = 1 id = sevenweekswar.15 } }
		}
	}
}

#Prussia - Accept Italian Demands? ###Trentino + Trieste
country_event = {
	id = sevenweekswar.80
	title = sevenweekswar.80.t
	desc = sevenweekswar.80.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.80.a
		ai_chance = { base = 20 }
		custom_effect_tooltip = PRS_accept_Italy_demands_Trentino_Triest_tt
		hidden_effect = {
			PRS = { set_country_flag = PRS_ITA_alliance_1866_5 }
			ITA = { country_event = { days = 1 id = sevenweekswar.82 } }
		}
	}
	
	option = {
		name = sevenweekswar.80.b
		ai_chance = { base = 80 }
		hidden_effect = {
			ITA = { country_event = { days = 1 id = sevenweekswar.15 } }
		}
	}
}

#Prussia - Accept Italian Demands? ###Trentino + Trieste + Istria + South Istria
country_event = {
	id = sevenweekswar.81
	title = sevenweekswar.81.t
	desc = sevenweekswar.81.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.81.a
		custom_effect_tooltip = PRS_accept_Italy_demands_Trentino_Triest_Istria_tt
		ai_chance = { base = 0 }
		hidden_effect = {
			PRS = { set_country_flag = PRS_ITA_alliance_1866_6 }
			ITA = { country_event = { days = 1 id = sevenweekswar.82 } }
		}
	}
	
	option = {
		name = sevenweekswar.81.b
		ai_chance = { base = 100 }
		hidden_effect = {
			ITA = { country_event = { days = 1 id = sevenweekswar.15 } }
		}
	}
}

#Italy/Sardinia-Piedmont – Prussia Accepted Our Demands
country_event = {
	id = sevenweekswar.82
	title = sevenweekswar.82.t
	desc = sevenweekswar.82.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.82.a
		ai_chance = { base = 100 }
		add_political_power = 10
		add_war_support = 0.25
	}
}

#Italy/Sardinia-Piedmont – Austria Sues for Peace
country_event = {
	id = sevenweekswar.83
	title = sevenweekswar.83.t
	desc = sevenweekswar.83.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.83.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = ITA_SWW_Victory_effect_tt
		add_political_power = 25
		add_war_support = -0.25
	}
}

#Italy/Sardinia-Piedmont – Peace of Vienna - Italian Victory
country_event = {
	id = sevenweekswar.84
	title = sevenweekswar.84.t
	desc = sevenweekswar.84.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.84.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = ITA_SWW_Victory_peace_tt
		if = {
			limit = {
				PRS = { has_country_flag = PRS_ITA_alliance_1866_1 } 
			}
			ITA = { transfer_state = 160 } #Veneto
		}
		else_if = {
			limit = {
				PRS = { has_country_flag = PRS_ITA_alliance_1866_2 } 
			}
			ITA = { transfer_state = 160 } #Veneto
			ITA = { transfer_state = 1234 } #Trentino
		}
		else_if = {
			limit = {
				PRS = { has_country_flag = PRS_ITA_alliance_1866_3 } 
			}
			ITA = { transfer_state = 160 } #Veneto
			ITA = { transfer_state = 1234 } #Trentino
			ITA = { transfer_state = 1235 } #Trieste
		}
		else_if = {
			limit = {
				PRS = { has_country_flag = PRS_ITA_alliance_1866_4 } 
			}
			ITA = { transfer_state = 1234 } #Trentino
		}
		else_if = {
			limit = {
				PRS = { has_country_flag = PRS_ITA_alliance_1866_5 } 
			}
			ITA = { transfer_state = 1234 } #Trentino
			ITA = { transfer_state = 1235 } #Trieste
		}
		else_if = {
			limit = {
				PRS = { has_country_flag = PRS_ITA_alliance_1866_6 } 
			}
			ITA = { transfer_state = 1234 } #Trentino
			ITA = { transfer_state = 1235 } #Trieste
			ITA = { transfer_state = 736 } #Istria
			ITA = { transfer_state = 1236 } #South Istria
		}
		set_temp_variable = {
			eoanb_prestige_change = 10
		}
		eoanb_change_prestige_score = yes
		hidden_effect = {
			PRS = {
				clr_country_flag = PRS_ITA_alliance_1866_1
				clr_country_flag = PRS_ITA_alliance_1866_2
				clr_country_flag = PRS_ITA_alliance_1866_3
				clr_country_flag = PRS_ITA_alliance_1866_4
				clr_country_flag = PRS_ITA_alliance_1866_5
				clr_country_flag = PRS_ITA_alliance_1866_6
			}
			AUS = {
				remove_dynamic_modifier = { modifier = AUS_Italian_Unrest_Modifier }
				clear_variable = AUS_ITA_Unrest_ppf
				clear_variable = AUS_ITA_Unrest_ddf
				clear_variable = AUS_ITA_Unrest_sf
				clear_variable = AUS_ITA_Unrest_risk_change
				clear_variable = ITA_UPROAR_RISK
			}
		}
	}
}

#sevenweekswar.85 - Placeholder - Peace of Vienna - Italian Defeat


### TIE - MISSION RUNS OUT ###

#Austria/Prussia – Stalemate in the German Confederation
country_event = {
	id = sevenweekswar.86
	title = sevenweekswar.86.t
	desc = sevenweekswar.86.d
	picture = GFX_report_event_battle_of_koniggratz
	
	timeout_days = 5
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.86.a
		ai_chance = { base = 100 }
		add_political_power = -50
		add_stability = -0.1
		add_war_support = -0.5
		if = {
			limit = {
				tag = PRS
			}
			custom_effect_tooltip = PRS_disband_mobilized_divisions_7WW_effect_tt
			hidden_effect = {
				clr_country_flag = PRS_signs_of_war_GC_flag
				if = {
					limit = {
						has_template = "Landsturm-Regiment"
					}
					delete_unit_template_and_units = {
						division_template = "Landsturm-Regiment"
					}
				}
				if = {
					limit = {
						has_template = "Infanterie-Division (mob.)"
					}
					delete_unit_template_and_units = {
						division_template = "Infanterie-Division (mob.)"
					}
				}
				if = {
					limit = {
						has_template = "Landwehr-Regiment (mob.)"
					}
					delete_unit_template_and_units = {
						division_template = "Landwehr-Regiment (mob.)"
					}
				}
				if = {
					limit = {
						has_template = "Füsilier-Regiment (mob.)"
					}
					delete_unit_template_and_units = {
						division_template = "Füsilier-Regiment (mob.)"
					}
				}
				if = {
					limit = {
						has_template = "Husaren-Regiment (mob.)"
					}
					delete_unit_template_and_units = {
						division_template = "Husaren-Regiment (mob.)"
					}
				}
				set_division_template_lock = {
					division_template = "Gardeinfanterie-Division"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Infanterie-Division"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Landwehr-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Füsilier-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Dragoner-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Husaren-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Kürassier-Regiment"
					is_locked = no
				}
				set_division_template_lock = {
					division_template = "Ulanen-Regiment"
					is_locked = no
				}
				PRS = { country_event = { days = 5 id = sevenweekswar.88 } }
			}
		}
	}
}

#GC – Stalemate in the German Confederation
country_event = {
	id = sevenweekswar.87
	title = sevenweekswar.87.t
	desc = sevenweekswar.87.d
	picture = GFX_report_event_battle_of_koniggratz
	
	timeout_days = 5
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.87.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.05
		add_war_support = -0.4
	}
}

#Prussia – Propose a Split of the German Confederation 
country_event = {
	id = sevenweekswar.88
	title = sevenweekswar.88.t
	desc = sevenweekswar.88.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.88.a
		ai_chance = { base = 100 }
		add_political_power = 25
		AUS = { country_event = { days = 1 id = sevenweekswar.89 } }
		hidden_effect = {
			every_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = AUS }
					NOT = { tag = PRS }
				}
				country_event = { days = 1 id = sevenweekswar.90 } 
			}
		}
	}
}

#Austria – Prussia Proposes Split of the German Confederation 
country_event = {
	id = sevenweekswar.89
	title = sevenweekswar.89.t
	desc = sevenweekswar.89.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.89.a
		ai_chance = { base = 100 }
		add_political_power = 10
		hidden_effect = {
			PRS = { country_event = { days = 14 id = sevenweekswar.91 } }
		}
	}
}

#GC – Prussia Proposes Split of the German Confederation 
country_event = {
	id = sevenweekswar.90
	title = sevenweekswar.90.t
	desc = sevenweekswar.90.d
	picture = GFX_report_event_german_confederation_building

	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.90.a
		ai_chance = { base = 100 }
		add_political_power = -20
	}
}

#Prussia – Austria Agrees to Our Plan
country_event = {
	id = sevenweekswar.91
	title = sevenweekswar.91.t
	desc = sevenweekswar.91.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.91.a
		ai_chance = { base = 100 }
		add_political_power = 15
		hidden_effect = {
			PRS = { country_event = { days = 7 id = sevenweekswar.92 } }
		}
	}
}

#Prussia – Dissolution of the German Confederation
country_event = {
	id = sevenweekswar.92
	title = sevenweekswar.92.t
	desc = sevenweekswar.92.d
	picture = GFX_report_event_german_confederation_building
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.92.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_gerconfed_over_effect_tt
		remove_ideas = GEC_idea_german_confederation_major_power
		remove_ideas = GEC_idea_german_confederation_middle_power
		remove_ideas = GEC_idea_german_confederation_minor_power
		hidden_effect = {
			news_event = news.31
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { tag = PRS }
				}
				country_event = { id = sevenweekswar.93 } 
			}
			AUS = { country_event = { days = 5 id = sevenweekswar.94 } }
			PRS = { country_event = { days = 14 id = sevenweekswar.97 } }
		}
	}
}

#GC – German Confederation Dissolved 
country_event = {
	id = sevenweekswar.93
	title = sevenweekswar.93.t
	desc = sevenweekswar.93.d
	picture = GFX_report_event_german_confederation_building
	
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.93.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = GC_gerconfed_over_effect_tt
		add_stability = -0.02
		remove_ideas = GEC_idea_german_confederation_major_power
		remove_ideas = GEC_idea_german_confederation_middle_power
		remove_ideas = GEC_idea_german_confederation_minor_power
	}
}

#Austria – Offer Schutz- und Trutzbündnisse to South German Countries
country_event = {
	id = sevenweekswar.94
	title = sevenweekswar.94.t
	desc = sevenweekswar.94.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.94.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_stability = 0.02
		add_ideas = GC_idea_south_german_bund
		custom_effect_tooltip = AUS_schutz_und_trutz_effect_tt
		WUR = { country_event = { days = 3 id = sevenweekswar.95 } }
		BAD = { country_event = { days = 5 id = sevenweekswar.95 } }
		BAV = { country_event = { days = 7 id = sevenweekswar.95 } }
		HSD = { country_event = { days = 9 id = sevenweekswar.95 } }
		AUS = { country_event = { days = 14 id = sevenweekswar.96 } }
	}
}

#Württemberg, Baden, Bayern, Hesse-Darmstadt – Schutz- und Trutzbündnis with Austria
country_event = {
	id = sevenweekswar.95
	title = sevenweekswar.95.t
	desc = sevenweekswar.95.d
	picture = GFX_report_event_german_confederation_inner_circle
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = sevenweekswar.95.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = SGA_schutz_und_trutz_effect_tt
		add_political_power = -75
		add_stability = 0.02
		add_ideas = GC_idea_south_german_bund
		ROOT = { give_guarantee = AUS }
		AUS = { give_guarantee = ROOT }
	}
}

#Austria – Schutz- und Trutzbündnisse Signed 
country_event = {
	id = sevenweekswar.96
	title = sevenweekswar.96.t
	desc = sevenweekswar.96.d
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = PRS
		OR = {
			BAD = { has_idea = GC_idea_south_german_bund }
			BAV = { has_idea = GC_idea_south_german_bund }
			HSD = { has_idea = GC_idea_south_german_bund }
			WUR = { has_idea = GC_idea_south_german_bund }
		}
	}
	
	option = {
		name = sevenweekswar.96.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = AUS_schutz_und_trutz_complete_effect_tt
		add_political_power = 25
		add_stability = 0.02
	}
}

#Prussia – North German Confederation Treaties
country_event = {
	id = sevenweekswar.97
	title = sevenweekswar.97.t
	desc = sevenweekswar.97.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = sevenweekswar.97.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_faction
		create_faction_from_template = faction_template_ngc
		hidden_effect = {
			set_country_flag = eoanb_flag_PRS_decentralized_ngc
			set_country_flag = eoanb_flag_tied_7_weeks_war
			BRE = { country_event = { id = sevenweekswar.98 } }
			FRK = { country_event = { id = sevenweekswar.98 } }
			HAM = { country_event = { id = sevenweekswar.98 } }
			HAN = { country_event = { id = sevenweekswar.98 } }
			HES = { country_event = { id = sevenweekswar.98 } }
			if = {
				limit = {
					HLS = { exists = yes }
					HLS = { is_subject = no }
				}
				HLS = { country_event = { id = sevenweekswar.98 } }
			}
			LCK = { country_event = { id = sevenweekswar.98 } }
			MCK = { country_event = { id = sevenweekswar.98 } }
			NAS = { country_event = { id = sevenweekswar.98 } }
			OLD = { country_event = { id = sevenweekswar.98 } }
			SAX = { country_event = { id = sevenweekswar.98 } }
			if = {
				limit = {
					SCH = { exists = yes }
					SCH = { is_subject = no }
				}
				SCH = { country_event = { id = sevenweekswar.98 } }
			}
			THU = { country_event = { id = sevenweekswar.98 } }
			PRS = { transfer_state = 1061 }
			add_ideas = PRS_idea_anti_ngc_sentiment
			add_ideas = PRS_idea_rapid_expansion
			remove_ideas = PRS_dreyse_rifle_1
			remove_ideas = PRS_dreyse_rifle_2
			remove_ideas = PRS_dreyse_rifle_ai_1
			remove_ideas = PRS_dreyse_rifle_ai_2
			PRS = { set_variable = { rival_country = FRA.id } }
		}
		complete_national_focus = PRS_focus_north_german_confederation
	}
}

#Bremen, Frankfurt, Hamburg, Hannover, Hessen-Kassel, Holstein, Lübeck, Mecklenburg, Nassau, Oldenburg, Saxony, Schleswig-Holstein, Thuringia – North German Confederation Treaties
country_event = {
	id = sevenweekswar.98
	title = sevenweekswar.98.t
	desc = sevenweekswar.98.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = sevenweekswar.98.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties
		hidden_effect = {
			PRS = { puppet = ROOT }
			ROOT = { add_to_faction = faction_ngc }
		}
	}
}

### FRIEDRICH III 7WW PATH ###

#The Coburger Plan 
country_event = {
	id = sevenweekswar.100
	title = sevenweekswar.100.t
	desc = sevenweekswar.100.d
	picture = GFX_report_event_prussia_berliner_schloss
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.100.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_government = centrism
			}
			if = {
				limit = {
					has_idea = PRS_idea_rule_of_law
					#has_idea = constitution_adopted
					#OR = {
					#	has_idea = constitutional_monarchy
					#	has_idea = parliamentary_monarchy
					#}
					NOT = { has_idea = PRS_idea_three_class_franchise }
					OR = {
						has_idea = parliamentary_suffrage
						has_idea = universal_male_suffrage
						has_idea = universal_suffrage
					}
					has_idea = free_trade
					has_idea = PRS_idea_british_style_rule_2
				}
				PRS = { country_event = { days = 120 id = sevenweekswar.104 } }
			}
			else = {
				PRS = { country_event = { days = 1 id = sevenweekswar.101 } } #Testing - Should be 14 days
			}
		}
		else_if = {
			limit = {
				NOT = { has_government = centrism }
			}
			if = {
				limit = {
					has_idea = PRS_idea_prussian_constitutionalism
					#OR = {
					#	has_idea = limited_constitution
					#	has_idea = human_rights
					#	has_idea = constitution_adopted
					#}
					#OR = {
					#	has_idea = constitutional_monarchy
					#	has_idea = parliamentary_monarchy
					#}
					NOT = { has_idea = PRS_idea_three_class_franchise }
					OR = {
						has_idea = parliamentary_suffrage
						has_idea = universal_male_suffrage
						has_idea = universal_suffrage
					}
					OR = {
						has_idea = free_trade
						has_idea = export_focus
					}
				}
				PRS = { country_event = { days = 120 id = sevenweekswar.104 } }
			}
			else = {
				PRS = { country_event = { days = 1 id = sevenweekswar.101 } } #Testing - Should be 14 days
			}
		}
	}
}

#Liberalize the Kingdom of Prussia 
country_event = {
	id = sevenweekswar.101
	title = sevenweekswar.101.t
	desc = sevenweekswar.101.d
	picture = GFX_report_event_prussian_parliament_king
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.101.a
		ai_chance = { base = 100 }
		activate_mission_tooltip = PRS_mission_liberalize_prussia
		hidden_effect = {
			activate_mission = PRS_mission_liberalize_prussia
		}
	}
}

#Liberalization Successful
country_event = {
	id = sevenweekswar.102
	title = sevenweekswar.102.t
	desc = sevenweekswar.102.d
	picture = GFX_report_event_prussian_parliament_king
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.102.a
		ai_chance = { base = 100 }
		add_political_power = 100
		increase_ps_by_one = yes
		hidden_effect = {
			PRS = { country_event = { days = 60 id = sevenweekswar.104 } }
		}
	}
}

#Liberalization Unsuccessful 
country_event = {
	id = sevenweekswar.103
	title = sevenweekswar.103.t
	desc = sevenweekswar.103.d
	picture = GFX_report_event_prussian_parliament_king
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.103.a
		ai_chance = { base = 100 }
		PRS = { country_event = { days = 90 id = sevenweekswar.1 } }
		#PM resigns - Bismarck?
	}
}

#Prussia - Try to Get Bavarian Support 
country_event = {
	id = sevenweekswar.104
	title = sevenweekswar.104.t
	desc = sevenweekswar.104.d
	picture = GFX_report_event_hitler_handshake
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = { #SGC without Austria
		name = sevenweekswar.104.a
		ai_chance = { base = 90 }
		custom_effect_tooltip = PRS_SGC_smaller_Germany_proposal_effect_tt
		add_political_power = -20
		add_war_support = 0.02
		hidden_effect = {
			set_global_flag = PRS_propose_smaller_Germany_flag
			BAV = { country_event = { days = 14 id = sevenweekswar.105 } }
		}
	}
	
	option = { #SGC with Austria
		name = sevenweekswar.104.b
		ai_chance = { base = 10 }
		custom_effect_tooltip = PRS_SGC_greater_Germany_proposal_effect_tt
		add_political_power = -10
		add_war_support = -0.01
		hidden_effect = {
			set_global_flag = PRS_propose_greater_Germany_flag
			BAV = { country_event = { days = 14 id = sevenweekswar.106 } }
		}
	}
}

#Bavaria - Prussia Asks for Our Support - No Austria
country_event = {
	id = sevenweekswar.105
	title = sevenweekswar.105.t
	desc = sevenweekswar.105.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.105.a
		ai_chance = { base = 100 }
		set_country_flag = BAV_support_PRS_reformplan_flag
		PRS = { country_event = { days = 1 id = sevenweekswar.107 } }
	}
	
	option = {
		name = sevenweekswar.105.b
		ai_chance = { base = 0 }
		set_country_flag = BAV_reject_PRS_reformplan_flag
		PRS = { country_event = { days = 1 id = sevenweekswar.108 } }
	}
}

#Bavaria - Prussia Asks for Our Support - With Austria
country_event = {
	id = sevenweekswar.106
	title = sevenweekswar.106.t
	desc = sevenweekswar.106.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.106.a
		ai_chance = { base = 50 }
		set_country_flag = BAV_support_PRS_reformplan_flag
		PRS = { country_event = { days = 1 id = sevenweekswar.107 } }
	}
	
	option = {
		name = sevenweekswar.106.b
		ai_chance = { base = 50 }
		set_country_flag = BAV_reject_PRS_reformplan_flag
		PRS = { country_event = { days = 1 id = sevenweekswar.108 } }
	}
}

#Prussia - Bavaria Agrees to Our Proposal
country_event = {
	id = sevenweekswar.107
	title = sevenweekswar.107.t
	desc = sevenweekswar.107.d
	picture = GFX_report_event_hitler_handshake
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.107.a
		ai_chance = { base = 100 }
		add_political_power = 20
		hidden_effect = {
			PRS = { country_event = { days = 3 id = sevenweekswar.109 } }
		}
	}
}

#Prussia - Bavaria Refuses Our Proposal
country_event = {
	id = sevenweekswar.108
	title = sevenweekswar.108.t
	desc = sevenweekswar.108.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.108.a
		ai_chance = { base = 100 }
		add_political_power = -10
		hidden_effect = {
			PRS = { country_event = { days = 3 id = sevenweekswar.109 } }
		}
	}
}

#Prussia - Ask Grand Duke Carl Alexander for a Neutral Venue
country_event = {
	id = sevenweekswar.109
	title = sevenweekswar.109.t
	desc = sevenweekswar.109.d
	picture = GFX_report_event_prussia_berliner_schloss
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.109.a
		ai_chance = { base = 100 }
		THU = { country_event = { days = 3 id = sevenweekswar.110 } }
	}
}

#Thuringia - Prussia Asks Us to Host a Diet of the Heads of State
country_event = {
	id = sevenweekswar.110
	title = sevenweekswar.110.t
	desc = sevenweekswar.110.d
	picture = GFX_report_event_prussia_berliner_schloss
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = { #Yes
		name = sevenweekswar.110.a
		ai_chance = { base = 100 }
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.111 } }
		}
	}
	
	option = { #No
		name = sevenweekswar.110.b
		ai_chance = { base = 0 }
		hidden_effect = {
			PRS = { country_event = { days = 1 id = sevenweekswar.112 } }
		}
	}
}

#Prussia - The Grand Duke Agrees 
country_event = {
	id = sevenweekswar.111
	title = sevenweekswar.111.t
	desc = sevenweekswar.111.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.111.a
		ai_chance = { base = 100 }
		add_political_power = 10
		hidden_effect = {
			set_country_flag = PRS_THU_venue_accepted_flag
			PRS = { country_event = { days = 14 id = sevenweekswar.113 } }
		}
	}
}

#Prussia - The Grand Duke Refuses 
country_event = {
	id = sevenweekswar.112
	title = sevenweekswar.112.t
	desc = sevenweekswar.112.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.112.a
		ai_chance = { base = 100 }
		add_political_power = -10
		hidden_effect = {
			PRS = { country_event = { days = 14 id = sevenweekswar.113 } }
		}
	}
}

#Prussia - Early Preparations for Fürstentag Completed
country_event = {
	id = sevenweekswar.113
	title = sevenweekswar.113.t
	desc = sevenweekswar.113.d
	picture = GFX_report_event_prussia_berliner_schloss
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.113.a
		ai_chance = { base = 100 }
		unlock_decision_tooltip = PRS_decision_propose_furstentag
		hidden_effect = {
			set_country_flag = PRS_furstentag_preparations_ready_flag
			complete_national_focus = PRS_focus_british_example #Testing
		}
	}
}

#GC (without Austria, Luxembourg, Liechtenstein) – Prussia Invites Us to Fürstentag 
country_event = {
	id = sevenweekswar.114
	title = sevenweekswar.114.t
	desc = sevenweekswar.114.d
	picture = GFX_report_event_prussia_berliner_schloss
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = { #Accept
		name = sevenweekswar.114.a
		ai_chance = { base = 100 } #Testing
		hidden_effect = {
			PRS = { country_event = { days = 3 id = sevenweekswar.116 } }
			ROOT = { set_country_flag = PRS_furstentag_attending_flag }
		}
	}
	
	option = { #Decline
		name = sevenweekswar.114.b
		ai_chance = { base = 0 } #Testing
		hidden_effect = {
			PRS = { country_event = { days = 3 id = sevenweekswar.117 } }
		}
	}
}

#Austria – Prussia Invites Us to Fürstentag 
country_event = {
	id = sevenweekswar.115
	title = sevenweekswar.115.t
	desc = {
		trigger = { has_global_flag = PRS_propose_smaller_Germany_flag }
		text = sevenweekswar.115.d_smaller_Germany
	}
	desc = {
		trigger = { has_global_flag = PRS_propose_greater_Germany_flag }
		text = sevenweekswar.115.d_greater_Germany
	}
	picture = GFX_report_event_vienna_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Option a only appears when PRS proposed a Greater German Solution
	option = { #Accept
		name = sevenweekswar.115.a
		trigger = {
			has_global_flag = PRS_propose_greater_Germany_flag
		}
		ai_chance = { base = 50 } #Testing
		hidden_effect = {
			PRS = { country_event = { days = 7 id = sevenweekswar.118 } }
			ROOT = { set_country_flag = PRS_furstentag_attending_flag }
		}
	}
	
	#Option b always appears
	option = { #Decline
		name = sevenweekswar.115.b
		ai_chance = { base = 50 } #Testing
		hidden_effect = {
			PRS = { country_event = { days = 7 id = sevenweekswar.119 } }
		}
	}
}

#Prussia – XYZ Accepts Our Invitation 
country_event = {
	id = sevenweekswar.116
	title = sevenweekswar.116.t
	desc = sevenweekswar.116.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = sevenweekswar.116.a
		ai_chance = { base = 100 }
		add_political_power = 10
		hidden_effect = {
			add_to_variable = { var = PRS_bundesreform_furstentag_attendance value = 1 }
		}
	}
}

#Prussia – XYZ Declined Our Invitation 
country_event = {
	id = sevenweekswar.117
	title = sevenweekswar.117.t
	desc = sevenweekswar.117.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = sevenweekswar.117.a
		ai_chance = { base = 100 }
		add_political_power = -10
	}
}

#Prussia – Austria Accepts Our Invitation 
country_event = {
	id = sevenweekswar.118
	title = sevenweekswar.118.t
	desc = sevenweekswar.118.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	is_triggered_only = yes
	fire_only_once = yes
	
	timeout_days = 5
	
	option = {
		name = sevenweekswar.118.a
		ai_chance = { base = 100 }
		add_political_power = 20
		hidden_effect = {
			set_global_flag = PRS_AUS_attends_furstentag_flag
			add_to_variable = { var = PRS_bundesreform_furstentag_attendance value = 1 }
		}
	}
}

#Prussia – Austria Declined Our Invitation 
country_event = {
	id = sevenweekswar.119
	title = sevenweekswar.119.t
	desc = sevenweekswar.119.d
	picture = GFX_report_event_wilhelmstrasse_staatsministerium
	
	is_triggered_only = yes
	fire_only_once = yes
	
	timeout_days = 5
	
	option = {
		name = sevenweekswar.119.a
		ai_chance = { base = 100 }
		add_political_power = -20
		hidden_effect = {
			set_global_flag = PRS_AUS_declines_furstentag_flag
		}
	}
}

#Prussia - Hidden Event to check attendance is sufficient   
country_event = {
	id = sevenweekswar.120
	title = sevenweekswar.120.t
	desc = sevenweekswar.120.d
	
	fire_only_once = yes
	hidden = yes
	is_triggered_only = yes

	option = {
		name = sevenweekswar.120.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				check_variable = { var = PRS_bundesreform_furstentag_attendance value = 8 compare = less_than_or_equals }
			}
			set_country_flag = PRS_bundesreform_furstentag_attendance_too_low_flag
		}
		else = {
			add_political_power = 10
		}
	}
}

#Prussia - Not Enough Interest in Fürstentag
country_event = {
	id = sevenweekswar.121
	title = sevenweekswar.121.t
	desc = sevenweekswar.121.d
	picture = GFX_report_event_veste_coburg
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.121.a
		ai_chance = { base = 100 }
		#custom_effect_tooltip = 
		add_political_power = -50
		add_stability = -0.03
		add_war_support = 0.05
		hidden_effect = {
			clr_country_flag = PRS_bundesreform_furstentag_attendance_too_low_flag
			clr_global_flag = PRS_AUS_attends_furstentag_flag
			clr_global_flag = PRS_AUS_declines_furstentag_flag
			every_country = {
				limit = {
					has_country_flag = PRS_furstentag_attending_flag
				}
				clr_country_flag = PRS_furstentag_attending_flag
			}
		}
	}
}

#Prussia - Let the Coburger Fürstentag Commence
country_event = {
	id = sevenweekswar.122
	title = sevenweekswar.122.t
	desc = sevenweekswar.122.d
	picture = GFX_report_event_veste_coburg
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.122.a
		ai_chance = { base = 100 }
		#custom_effect_tooltip = 
		hidden_effect = {
			every_other_country = {
				limit = {
					has_country_flag = PRS_furstentag_attending_flag
				}
				country_event = { id = sevenweekswar.124 }	
			}
			PRS = { country_event = { days = 2 id = sevenweekswar.126 } }
		}
	}
}

#Prussia - Let the Koblenzer Fürstentag Commence
country_event = {
	id = sevenweekswar.123
	title = sevenweekswar.123.t
	desc = sevenweekswar.123.d
	picture = GFX_report_event_stolzenfels_castle
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.123.a
		ai_chance = { base = 100 }
		#custom_effect_tooltip = 
		hidden_effect = {
			every_other_country = {
				limit = {
					has_country_flag = PRS_furstentag_attending_flag
				}
				country_event = { id = sevenweekswar.125 }	
			}
			PRS = { country_event = { days = 2 id = sevenweekswar.126 } }
		}
	}
}

#GC (every participant) – The Coburger Fürstentag Has Commenced
country_event = {
	id = sevenweekswar.124
	title = sevenweekswar.124.t
	desc = sevenweekswar.124.d
	picture = GFX_report_event_veste_coburg
	
	timeout_days = 4
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.124.a
		ai_chance = { base = 100 }
	}
}

#GC (every participant) – The Koblenzer Fürstentag Has Commenced
country_event = {
	id = sevenweekswar.125
	title = sevenweekswar.125.t
	desc = sevenweekswar.125.d
	picture = GFX_report_event_stolzenfels_castle
	
	timeout_days = 4
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.125.a
		ai_chance = { base = 100 }
	}
}

#Prussia - Present the Details of Our Bundesreformplan
country_event = {
	id = sevenweekswar.126
	title = sevenweekswar.126.t
	desc = {
		trigger = { has_global_flag = PRS_propose_smaller_Germany_flag }
		text = sevenweekswar.126.d_smaller_Germany
	}
	desc = {
		trigger = { has_global_flag = PRS_propose_greater_Germany_flag }
		text = sevenweekswar.126.d_greater_Germany
	}
	picture = GFX_report_event_stolzenfels_castle
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.126.a
		ai_chance = { base = 100 }
		hidden_effect = {
			if = {
				limit = {
					has_global_flag = PRS_propose_smaller_Germany_flag
				}
				every_other_country = {
					limit = {
						has_country_flag = PRS_furstentag_attending_flag
					}
					country_event = { id = sevenweekswar.127 }
				}
			}
			else = {
				every_other_country = {
					limit = {
						has_country_flag = PRS_furstentag_attending_flag
					}
					country_event = { id = sevenweekswar.128 }
				}
			}
			PRS = { country_event = { days = 5 id = sevenweekswar.129 } }
		}
	}
}

#GC (every participant) – Prussia Presents Plan for Reshaping the German Confederation - The Smaller German Solution
country_event = {
	id = sevenweekswar.127
	title = sevenweekswar.127.t
	desc = sevenweekswar.127.d
	picture = GFX_report_event_stolzenfels_castle
	
	timeout_days = 4
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.127.a
		ai_chance = { base = 100 }
	}
}

#GC (every participant) – Prussia Presents Plan for Reshaping the German Confederation - The Greater German Solution
country_event = {
	id = sevenweekswar.128
	title = sevenweekswar.128.t
	desc = sevenweekswar.128.d
	picture = GFX_report_event_stolzenfels_castle
	
	timeout_days = 4
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.128.a
		ai_chance = { base = 100 }
	}
}

#Prussia - Hold a Vote on Our Reform Agenda
country_event = {
	id = sevenweekswar.129
	title = sevenweekswar.129.t
	desc = sevenweekswar.129.d
	picture = GFX_report_event_stolzenfels_castle
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.129.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_reform_vote_effect_tt
		hidden_effect = {
			set_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 1 }
			set_country_flag = PRS_furstentag_voting_yes_flag
			every_other_country = {
				limit = {
					has_country_flag = PRS_furstentag_attending_flag
				}
				country_event = { id = sevenweekswar.130 }
			}
			PRS = { country_event = { days = 3 id = sevenweekswar.131 } }
		}
	}
}

#GC (every participant) – Vote on the Prussian Reform Plan
country_event = {
	id = sevenweekswar.130
	title = sevenweekswar.130.t
	desc = sevenweekswar.130.d
	picture = GFX_report_event_stolzenfels_castle
	
	is_triggered_only = yes
	
	timeout_days = 2
	
	option = {
		name = sevenweekswar.130.a
		ai_chance = { base = 75 } #Testing
		add_political_power = 10
		hidden_effect = {
			PRS = { add_to_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 1 } }
			set_country_flag = PRS_furstentag_voting_yes_flag
		}
	}
	
	option = {
		name = sevenweekswar.130.b
		ai_chance = { base = 25 } #Testing
		add_political_power = -10
		hidden_effect = {
			set_country_flag = PRS_furstentag_voting_no_flag
		}
	}
}

#Prussia - Hidden Event to check variable   
country_event = {
	id = sevenweekswar.131
	title = sevenweekswar.131.t
	desc = sevenweekswar.131.d
	
	fire_only_once = yes
	hidden = yes
	is_triggered_only = yes

	option = {
		name = sevenweekswar.131.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				check_variable = { var = PRS_bundesreform_furstentag_attendance value = 9 }
				NOT = { check_variable = { PRS_bundesreform_furstentag_attendance = PRS_bundesreform_furstentag_yes_votes } }
			}
			if = {
				limit = {
					check_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 6 compare = greater_than_or_equals }
				}
				PRS = { country_event = { id = sevenweekswar.132 } }
			}
			else = {
				PRS = { country_event = { id = sevenweekswar.133 } }
			}
		}
		else_if = {
			limit = {
				check_variable = { var = PRS_bundesreform_furstentag_attendance value = 10 }
				NOT = { check_variable = { PRS_bundesreform_furstentag_attendance = PRS_bundesreform_furstentag_yes_votes } }
			}
			if = {
				limit = {
					check_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 7 compare = greater_than_or_equals }
				}
				PRS = { country_event = { id = sevenweekswar.132 } }
			}
			else = {
				PRS = { country_event = { id = sevenweekswar.133 } }
			}
		}
		else_if = {
			limit = {
				OR = {
					check_variable = { var = PRS_bundesreform_furstentag_attendance value = 11 }
					check_variable = { var = PRS_bundesreform_furstentag_attendance value = 12 }
				}
				NOT = { check_variable = { PRS_bundesreform_furstentag_attendance = PRS_bundesreform_furstentag_yes_votes } }
			}
			if = {
				limit = {
					check_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 8 compare = greater_than_or_equals }
				}
				PRS = { country_event = { id = sevenweekswar.132 } }
			}
			else = {
				PRS = { country_event = { id = sevenweekswar.133 } }
			}
		}
		else_if = {
			limit = {
				check_variable = { var = PRS_bundesreform_furstentag_attendance value = 13 }
				NOT = { check_variable = { PRS_bundesreform_furstentag_attendance = PRS_bundesreform_furstentag_yes_votes } }
			}
			if = {
				limit = {
					check_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 9 compare = greater_than_or_equals }
				}
				PRS = { country_event = { id = sevenweekswar.132 } }
			}
			else = {
				PRS = { country_event = { id = sevenweekswar.133 } }
			}
		}
		else_if = {
			limit = {
				OR = {
					check_variable = { var = PRS_bundesreform_furstentag_attendance value = 14 }
					check_variable = { var = PRS_bundesreform_furstentag_attendance value = 15 }
				}
				NOT = { check_variable = { PRS_bundesreform_furstentag_attendance = PRS_bundesreform_furstentag_yes_votes } }
			}
			if = {
				limit = {
					check_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 10 compare = greater_than_or_equals }
				}
				PRS = { country_event = { id = sevenweekswar.132 } }
			}
			else = {
				PRS = { country_event = { id = sevenweekswar.133 } }
			}
		}
		else_if = {
			limit = {
				check_variable = { var = PRS_bundesreform_furstentag_attendance value = 16 }
				NOT = { check_variable = { PRS_bundesreform_furstentag_attendance = PRS_bundesreform_furstentag_yes_votes } }
			}
			if = {
				limit = {
					check_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 11 compare = greater_than_or_equals }
				}
				PRS = { country_event = { id = sevenweekswar.132 } }
			}
			else = {
				PRS = { country_event = { id = sevenweekswar.133 } }
			}
		}
		else_if = {
			limit = {
				OR = {
					check_variable = { var = PRS_bundesreform_furstentag_attendance value = 17 }
					check_variable = { var = PRS_bundesreform_furstentag_attendance value = 18 }
				}
				NOT = { check_variable = { PRS_bundesreform_furstentag_attendance = PRS_bundesreform_furstentag_yes_votes } }
			}
			if = {
				limit = {
					check_variable = { var = PRS_bundesreform_furstentag_yes_votes value = 12 compare = greater_than_or_equals }
				}
				PRS = { country_event = { id = sevenweekswar.132 } }
			}
			else = {
				PRS = { country_event = { id = sevenweekswar.133 } }
			}
		}
		else_if = {
			limit = {
				check_variable = { PRS_bundesreform_furstentag_attendance = PRS_bundesreform_furstentag_yes_votes }
			}
			PRS = { country_event = { id = sevenweekswar.134 } }
		}
		else = {
			PRS = { country_event = { id = sevenweekswar.133 } }
		}
	}
}

#Prussia - Reform Vote Successful
country_event = {
	id = sevenweekswar.132
	title = sevenweekswar.132.t
	desc = sevenweekswar.132.d
	picture = GFX_report_event_veste_coburg
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.132.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_global_flag = PRS_propose_smaller_Germany_flag
			}
			custom_effect_tooltip = PRS_reform_vote_unanimous_smaller_effect_tt
			hidden_effect = {
				PRS = { country_event = { days = 5 id = sevenweekswar.141 } }
				if = {
					limit = {
						BAV = { has_country_flag = BAV_support_PRS_reformplan_flag }
					}
					BAV = { country_event = { days = 8 id = sevenweekswar.144 } }
				}
				AUS = { country_event = { days = 10 id = sevenweekswar.148 } }
			}
		}
		else_if = {
			limit = {
				has_global_flag = PRS_propose_greater_Germany_flag
			}
			custom_effect_tooltip = PRS_reform_vote_unanimous_greater_effect_tt
			hidden_effect = {
				PRS = { country_event = { days = 5 id = sevenweekswar.141 } }
				if = {
					limit = {
						BAV = { has_country_flag = BAV_support_PRS_reformplan_flag }
					}
					BAV = { country_event = { days = 8 id = sevenweekswar.144 } }
				}
				if = {
					limit = {
						has_global_flag = PRS_AUS_attends_furstentag_flag
					}
					AUS = { country_event = { days = 10 id = sevenweekswar.150 } }
				}
				else = {
					AUS = { country_event = { days = 10 id = sevenweekswar.152 } }
				}
			}
		}
	}
}

#Prussia - Reform Vote Unsuccessful
country_event = {
	id = sevenweekswar.133
	title = sevenweekswar.133.t
	desc = sevenweekswar.133.d
	picture = GFX_report_event_veste_coburg
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = { #Try to make it work
		name = sevenweekswar.133.a
		ai_chance = { base = 100 } #Testing
		hidden_effect = {
			PRS = { country_event = { days = 5 id = sevenweekswar.141 } }
		}
	}
	
	option = { #Bury it
		name = sevenweekswar.133.b
		ai_chance = { base = 0 } #Testing
		hidden_effect = {
			PRS = { country_event = { days = 60 id = sevenweekswar.1 } }
			###News Event
		}
	}
}

#Prussia - Reform Vote Carried Unanimously
country_event = {
	id = sevenweekswar.134
	title = sevenweekswar.134.t
	desc = sevenweekswar.134.d
	picture = GFX_report_event_veste_coburg
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.134.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_global_flag = PRS_propose_smaller_Germany_flag
			}
			custom_effect_tooltip = PRS_reform_vote_unanimous_smaller_effect_tt
			hidden_effect = {
				PRS = { country_event = { days = 5 id = sevenweekswar.135 } }
				if = {
					limit = {
						BAV = { has_country_flag = BAV_support_PRS_reformplan_flag }
					}
					BAV = { country_event = { days = 8 id = sevenweekswar.138 } }
				}
				AUS = { country_event = { days = 10 id = sevenweekswar.147 } }
			}
		}
		else_if = {
			limit = {
				has_global_flag = PRS_propose_greater_Germany_flag
			}
			custom_effect_tooltip = PRS_reform_vote_unanimous_greater_effect_tt
			hidden_effect = {
				PRS = { country_event = { days = 5 id = sevenweekswar.135 } }
				if = {
					limit = {
						BAV = { has_country_flag = BAV_support_PRS_reformplan_flag }
					}
					BAV = { country_event = { days = 8 id = sevenweekswar.138 } }
				}
				if = {
					limit = {
						has_global_flag = PRS_AUS_attends_furstentag_flag
					}
					AUS = { country_event = { days = 10 id = sevenweekswar.149 } }
				}
				else = {
					AUS = { country_event = { days = 10 id = sevenweekswar.151 } }
				}
			}
		}
	}
}

#Prussia - North German Confederation Treaties
country_event = {
	id = sevenweekswar.135
	title = sevenweekswar.135.t
	desc = sevenweekswar.135.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.135.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		create_faction_from_template = faction_template_ngc
		hidden_effect = {
			set_country_flag = eoanb_flag_PRS_decentralized_ngc
			every_other_country = { 
				limit = {
					has_country_flag = PRS_furstentag_attending_flag
					NOT = { tag = AUS }
					NOT = { tag = BAV }
					NOT = { tag = BAD }
					NOT = { tag = WUR }
					NOT = { tag = HSD }
				}
				country_event = { id = sevenweekswar.136 }
			}
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					NOT = { has_country_flag = PRS_furstentag_attending_flag }
					NOT = { tag = AUS }
					NOT = { tag = BAV }
					NOT = { tag = BAD }
					NOT = { tag = WUR }
					NOT = { tag = HSD }
					NOT = { tag = LUX }
					NOT = { tag = LIE }
				}
				country_event = { id = sevenweekswar.137 }
			}
			if = {
				limit = {
					BAV = { has_country_flag = BAV_support_PRS_reformplan_flag }
				}
				PRS = { transfer_state = 1061 }
				ROOT = { give_guarantee = BAV }
				BAV = { give_guarantee = ROOT }
			}
			complete_national_focus = PRS_focus_north_german_confederation
		}
	}
}

#NGC Agreers – North German Confederation Treaties
country_event = {
	id = sevenweekswar.136
	title = sevenweekswar.136.t
	desc = sevenweekswar.136.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	timeout_days = 3
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.136.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			PRS = { puppet = ROOT }
			ROOT = { add_to_faction = faction_ngc }
		}
	}
}

#NGC Repudiators – Should We Join the North German Confederation?
country_event = {
	id = sevenweekswar.137
	title = sevenweekswar.137.t
	desc = sevenweekswar.137.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	timeout_days = 3
	
	is_triggered_only = yes
	
	option = { #Join
		name = sevenweekswar.137.a
		ai_chance = { base = 50 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			PRS = { puppet = ROOT }
			ROOT = { add_to_faction = faction_ngc }
		}
	}
	
	option = { #Repudiate
		name = sevenweekswar.137.b
		ai_chance = { base = 50 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_repudiate_effect_tt
		hidden_effect = {
			set_country_flag = GC_repudiate_Bundesreform
		}
	}
}

#Bavaria - South German Confederation Treaties
country_event = {
	id = sevenweekswar.138
	title = sevenweekswar.138.t
	desc = sevenweekswar.138.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.138.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = BAV_sgc_alliance_treaties_effect_tt
		create_faction_from_template = faction_template_sgc
		hidden_effect = {
			if = { 
				limit = {
					tag = BAD
					has_country_flag = PRS_furstentag_attending_flag
				}
				BAD = { country_event = { id = sevenweekswar.139 } }
			}
			else = { 
				BAD = { country_event = { id = sevenweekswar.140 } }
			}
			if = { 
				limit = {
					tag = HSD
					has_country_flag = PRS_furstentag_attending_flag
				}
				HSD = { country_event = { id = sevenweekswar.139 } }
			}
			else = { 
				HSD = { country_event = { id = sevenweekswar.140 } }
			}
			if = { 
				limit = {
					tag = WUR
					has_country_flag = PRS_furstentag_attending_flag
				}
				WUR = { country_event = { id = sevenweekswar.139 } }
			}
			else = { 
				WUR = { country_event = { id = sevenweekswar.140 } }
			}
			ROOT = { give_guarantee = PRS }
			PRS = { give_guarantee = ROOT }
		}
	}
}

#SGC Agreers – South German Confederation Treaties
country_event = {
	id = sevenweekswar.139
	title = sevenweekswar.139.t
	desc = sevenweekswar.139.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	timeout_days = 3
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.139.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = BAV_sgc_alliance_treaties_effect_tt
		hidden_effect = {
			BAV = { puppet = ROOT }
			ROOT = { add_to_faction = faction_sgc }
		}
	}
}

#SGC Repudiators – Should We Join the South German Confederation?
country_event = {
	id = sevenweekswar.140
	title = sevenweekswar.140.t
	desc = sevenweekswar.140.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	timeout_days = 3
	
	is_triggered_only = yes
	
	option = { #Join
		name = sevenweekswar.140.a
		ai_chance = { base = 50 }
		custom_effect_tooltip = BAV_sgc_alliance_treaties_effect_tt
		hidden_effect = {
			BAV = { puppet = ROOT }
			ROOT = { add_to_faction = faction_sgc }
		}
	}
	
	option = { #Repudiate
		name = sevenweekswar.140.b
		ai_chance = { base = 50 }
		custom_effect_tooltip = BAV_sgc_alliance_treaties_repudiate_effect_tt
		hidden_effect = {
			set_country_flag = GC_repudiate_Bundesreform
		}
	}
}

#Prussia - North German Confederation Treaties
country_event = {
	id = sevenweekswar.141
	title = sevenweekswar.141.t
	desc = sevenweekswar.141.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.141.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		create_faction_from_template = faction_template_ngc
		hidden_effect = {
			set_country_flag = eoanb_flag_PRS_decentralized_ngc
			every_other_country = { 
				limit = {
					has_country_flag = PRS_furstentag_attending_flag
					has_country_flag = PRS_furstentag_voting_yes_flag
					NOT = { tag = AUS }
					NOT = { tag = BAV }
					NOT = { tag = BAD }
					NOT = { tag = WUR }
					NOT = { tag = HSD }
				}
				country_event = { id = sevenweekswar.142 }
			}
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					OR = {
						NOT = { has_country_flag = PRS_furstentag_attending_flag }
						has_country_flag = PRS_furstentag_voting_no_flag
					}
					NOT = { tag = AUS }
					NOT = { tag = BAV }
					NOT = { tag = BAD }
					NOT = { tag = WUR }
					NOT = { tag = HSD }
					NOT = { tag = LUX }
					NOT = { tag = LIE }
				}
				country_event = { id = sevenweekswar.143 }
			}
			if = {
				limit = {
					BAV = { has_country_flag = BAV_support_PRS_reformplan_flag }
				}
				PRS = { transfer_state = 1061 }
				ROOT = { give_guarantee = BAV }
				BAV = { give_guarantee = ROOT }
			}
			complete_national_focus = PRS_focus_north_german_confederation
		}
	}
}

#NGC Agreers – North German Confederation Treaties
country_event = {
	id = sevenweekswar.142
	title = sevenweekswar.142.t
	desc = sevenweekswar.142.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	timeout_days = 3
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.142.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			PRS = { puppet = ROOT }
			ROOT = { add_to_faction = faction_ngc }
		}
	}
}

#NGC Repudiators and No Voters – Should We Join the North German Confederation?
country_event = {
	id = sevenweekswar.143
	title = sevenweekswar.143.t
	desc = sevenweekswar.143.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	timeout_days = 3
	
	is_triggered_only = yes
	
	option = { #Join
		name = sevenweekswar.143.a
		ai_chance = { base = 50 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			PRS = { puppet = ROOT }
			ROOT = { add_to_faction = faction_ngc }
		}
	}
	
	option = { #Repudiate
		name = sevenweekswar.143.b
		ai_chance = { base = 50 }
		custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_repudiate_effect_tt
		hidden_effect = {
			set_country_flag = GC_repudiate_Bundesreform
		}
	}
}

#Bavaria - South German Confederation Treaties
country_event = {
	id = sevenweekswar.144
	title = sevenweekswar.144.t
	desc = sevenweekswar.144.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.144.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = BAV_sgc_alliance_treaties_effect_tt
		create_faction_from_template = faction_template_sgc
		hidden_effect = {
			if = { 
				limit = {
					tag = BAD
					has_country_flag = PRS_furstentag_attending_flag
					has_country_flag = PRS_furstentag_voting_yes_flag
				}
				BAD = { country_event = { id = sevenweekswar.145 } }
			}
			else = { 
				BAD = { country_event = { id = sevenweekswar.146 } }
			}
			if = { 
				limit = {
					tag = HSD
					has_country_flag = PRS_furstentag_attending_flag
					has_country_flag = PRS_furstentag_voting_yes_flag
				}
				HSD = { country_event = { id = sevenweekswar.145 } }
			}
			else = { 
				HSD = { country_event = { id = sevenweekswar.146 } }
			}
			if = { 
				limit = {
					tag = WUR
					has_country_flag = PRS_furstentag_attending_flag
					has_country_flag = PRS_furstentag_voting_yes_flag
				}
				WUR = { country_event = { id = sevenweekswar.145 } }
			}
			else = { 
				WUR = { country_event = { id = sevenweekswar.146 } }
			}
			ROOT = { give_guarantee = PRS }
			PRS = { give_guarantee = ROOT }
		}
	}
}

#SGC Agreers – South German Confederation Treaties
country_event = {
	id = sevenweekswar.145
	title = sevenweekswar.145.t
	desc = sevenweekswar.145.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	timeout_days = 3
	
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.145.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = BAV_sgc_alliance_treaties_effect_tt
		hidden_effect = {
			BAV = { puppet = ROOT }
			ROOT = { add_to_faction = faction_sgc }
		}
	}
}

#SGC Repudiators and No-Voters – Should We Join the South German Confederation?
country_event = {
	id = sevenweekswar.146
	title = sevenweekswar.146.t
	desc = sevenweekswar.146.d
	picture = GFX_report_event_north_german_confederation_gathering
	
	timeout_days = 3
	
	is_triggered_only = yes
	
	option = { #Join
		name = sevenweekswar.146.a
		ai_chance = { base = 50 }
		custom_effect_tooltip = BAV_sgc_alliance_treaties_effect_tt
		hidden_effect = {
			BAV = { puppet = ROOT }
			ROOT = { add_to_faction = faction_sgc }
		}
	}
	
	option = { #Repudiate
		name = sevenweekswar.146.b
		ai_chance = { base = 50 }
		custom_effect_tooltip = BAV_sgc_alliance_treaties_repudiate_effect_tt
		hidden_effect = {
			set_country_flag = GC_repudiate_Bundesreform
		}
	}
}

#Austria - Bundesreformplan Carried Unanimously - Smaller Germany (not present)
country_event = {
	id = sevenweekswar.147
	title = sevenweekswar.147.t
	desc = sevenweekswar.147.d
	#picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = { #Accept
		name = sevenweekswar.147.a
		ai_chance = { base = 75 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		add_political_power = -150
		add_stability = -0.1
	}
	
	option = { #Resist
		name = sevenweekswar.147.b
		ai_chance = { base = 25 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					has_country_flag = GC_repudiate_Bundesreform
				}
				#country_event = { days = 2 id = sevenweekswar.153 } 
			}
		}
	}
}

#Austria - Bundesreformplan Carried - Smaller Germany (not present)
country_event = {
	id = sevenweekswar.148
	title = sevenweekswar.148.t
	desc = sevenweekswar.148.d
	#picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = { #Accept
		name = sevenweekswar.148.a
		ai_chance = { base = 50 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		add_political_power = -125
		add_stability = -0.1
	}
	
	option = { #Resist
		name = sevenweekswar.148.b
		ai_chance = { base = 50 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					has_country_flag = GC_repudiate_Bundesreform
				}
				#country_event = { days = 2 id = sevenweekswar.153 } 
			}
		}
	}
}

#Austria - Bundesreformplan Carried Unanimously - Greater Germany (present)
country_event = {
	id = sevenweekswar.149
	title = sevenweekswar.149.t
	desc = sevenweekswar.149.d
	#picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = {
		name = sevenweekswar.149.a
		ai_chance = { base = 100 }
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			ROOT = { give_guarantee = PRS }
			PRS = { give_guarantee = ROOT }
			ROOT = { give_guarantee = BAV }
			BAV = { give_guarantee = ROOT }
		}
	}
}

#Austria - Bundesreformplan Accepted - Greater Germany (present)
country_event = {
	id = sevenweekswar.150
	title = sevenweekswar.150.t
	desc = sevenweekswar.150.d
	#picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	#Option a only triggers when AUS did vote in favor of the reform
	option = { #Accept
		name = sevenweekswar.150.a
		trigger = {
			has_country_flag = PRS_furstentag_voting_yes_flag
		}
		ai_chance = { base = 100 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			ROOT = { give_guarantee = PRS }
			PRS = { give_guarantee = ROOT }
			ROOT = { give_guarantee = BAV }
			BAV = { give_guarantee = ROOT }
		}
	}
	
	#Option b only triggers when AUS did vote against the reform
	option = { #Resist
		name = sevenweekswar.150.b
		trigger = {
			has_country_flag = PRS_furstentag_voting_no_flag
		}
		ai_chance = { base = 100 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					has_country_flag = GC_repudiate_Bundesreform
				}
				#country_event = { days = 2 id = sevenweekswar.153 } 
			}
		}
	}
}

#Austria - Bundesreformplan Carried Unanimously - Greater Germany (not present)
country_event = {
	id = sevenweekswar.151
	title = sevenweekswar.151.t
	desc = sevenweekswar.151.d
	#picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = { #Accept
		name = sevenweekswar.151.a
		ai_chance = { base = 75 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			ROOT = { give_guarantee = PRS }
			PRS = { give_guarantee = ROOT }
			ROOT = { give_guarantee = BAV }
			BAV = { give_guarantee = ROOT }
		}
	}
	
	option = { #Resist
		name = sevenweekswar.151.b
		ai_chance = { base = 25 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					has_country_flag = GC_repudiate_Bundesreform
				}
				#country_event = { days = 2 id = sevenweekswar.153 } 
			}
		}
	}
}

#Austria - Bundesreformplan Accepted - Greater Germany (not present)
country_event = {
	id = sevenweekswar.152
	title = sevenweekswar.152.t
	desc = sevenweekswar.152.d
	#picture = GFX_report_event_north_german_confederation_gathering
	
	fire_only_once = yes
	is_triggered_only = yes	
	
	option = { #Accept
		name = sevenweekswar.152.a
		ai_chance = { base = 60 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			ROOT = { give_guarantee = PRS }
			PRS = { give_guarantee = ROOT }
			ROOT = { give_guarantee = BAV }
			BAV = { give_guarantee = ROOT }
		}
	}

	option = { #Resist
		name = sevenweekswar.152.b
		ai_chance = { base = 40 } #Testing
		#custom_effect_tooltip = PRS_ngc_alliance_treaties_friedrich_effect_tt
		hidden_effect = {
			every_other_country = {
				limit = {
					is_part_of_the_german_confederation = yes
					has_country_flag = GC_repudiate_Bundesreform
				}
				#country_event = { days = 2 id = sevenweekswar.153 } 
			}
		}
	}
}

#Confiscation of the Assets of the Royal House of Hanover
country_event = {
	id = sevenweekswar.201
	title = sevenweekswar.201.t
	desc = sevenweekswar.201.d
	picture = GFX_event_guelphic_legion
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = sevenweekswar.201.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.02
		add_opinion_modifier = { target = ENG modifier = PRS_ENG_WELFENFONDS_REL }
		reverse_add_opinion_modifier = { target = ENG modifier = PRS_ENG_WELFENFONDS_REL }
		set_temp_variable = { money_to_gain = 20 }
		add_money_with_inflation_included_with_tooltip_effect = yes
		#Eventually to be replaced by the actual budget of Hanover?
	}
}
