add_namespace = lux_crisis

#LUX - Ask the Dutch King to Buy Luxembourg?
country_event = {
	id = lux_crisis.1
	title = lux_crisis.1.t
	desc = lux_crisis.1.d
	picture = GFX_report_event_luxembourg_painting
	
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = lux_crisis.1.a
		ai_chance = { base = 100 }
		complete_national_focus = LUX_Luxembourg_Crisis
	}
}

#HOL - France Asks to Buy Luxembourg
country_event = {
	id = lux_crisis.2
	title = lux_crisis.2.t
	desc = lux_crisis.2.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#Accept, ask Prussia for approval
	option = {
		name = lux_crisis.2.a
		ai_chance = { base = 75 }
		PRS = { country_event = { days = 5 id = lux_crisis.4 } }
		custom_effect_tooltip = historical_option
		hidden_effect = {
			FRA = { country_event = { id = lux_crisis.56 } } #Event to inform France
		}
	}
	
	#Reject
	option = {
		name = lux_crisis.2.b
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		FRA = { country_event = { days = 5 id = lux_crisis.3 } }
	}
}

#FRA - The Netherlands Have Rejected the Offer
country_event = {
	id = lux_crisis.3
	title = lux_crisis.3.t
	desc = lux_crisis.3.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.3.a
		ai_chance = { base = 100 }
		add_opinion_modifier = { target = HOL modifier = fra_lux_crisis_refused_selling }
		reverse_add_opinion_modifier = { target = HOL modifier = fra_lux_crisis_refused_selling }
		set_temp_variable = { eoanb_prestige_change = -3 }
		eoanb_change_prestige_score = yes
	}
}

#PRS - The Netherlands Asks for Permission to Sell Luxembourg to France
country_event = {
	id = lux_crisis.4
	title = lux_crisis.4.t
	desc = lux_crisis.4.d
	picture = GFX_report_event_biarritz_meeting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#Object against the selling
	option = {
		name = lux_crisis.4.a
		ai_chance = { base = 75 }
		FRA = { country_event = { days = 5 id = lux_crisis.5 } }
		HOL = { country_event = { days = 5 id = lux_crisis.6 } }
		add_stability = -0.05
		add_war_support = 0.05
		custom_effect_tooltip = historical_option
		hidden_effect = {
			FRA = { country_event = { days = 10 id = lux_crisis.9 } }
		}
	}
	
	#Agree to the selling
	option = {
		name = lux_crisis.4.b
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		FRA = { country_event = { days = 5 id = lux_crisis.7 } }
		HOL = { country_event = { days = 5 id = lux_crisis.8 } }
		add_political_power = 25
		add_war_support = -0.05
	}
}

#FRA - Prussia Objects Against the Selling
country_event = {
	id = lux_crisis.5
	title = lux_crisis.5.t
	desc = lux_crisis.5.d
	picture = GFX_report_event_biarritz_meeting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 5
	
	#Protest the decision
    option = {
		name = lux_crisis.5.a
		ai_chance = { base = 75 }
		add_political_power = -50
		add_stability = -0.05
		add_war_support = 0.1
		custom_effect_tooltip = historical_option
		hidden_effect = {
			RUS = { country_event = { days = 14 id = lux_crisis.10 } }
		}
	}
	
	#Back down
	option = {
		name = lux_crisis.5.b
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = -25
		add_stability = -0.02
		add_war_support = 0.05
		add_opinion_modifier = { target = PRS modifier = fra_lux_crisis_refused_selling_prs }
		reverse_add_opinion_modifier = { target = PRS modifier = fra_lux_crisis_refused_selling_prs }
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
	}

    #Ask the Dutch to confirm the deal anyway
	#option = {
	#	name = lux_crisis.5.c
	#	ai_chance = {
	#		base = 5
	#		modifier = {
	#			factor = 0
	#			is_historical_focus_on = yes
	#		}
	#	}
	#	#HOL = { country_event = { days = 3 id = lux_crisis.10 } }
	#}
}

#HOL - Prussia Objects Against the Selling
country_event = {
	id = lux_crisis.6
	title = lux_crisis.6.t
	desc = lux_crisis.6.d
	picture = GFX_report_event_biarritz_meeting
	
	fire_only_once = yes
	is_triggered_only = yes

    option = {
		name = lux_crisis.6.a
		ai_chance = { base = 100 }
        add_political_power = -10
		add_stability = -0.01
		add_opinion_modifier = { target = PRS modifier = hol_lux_crisis_refused_selling }
		reverse_add_opinion_modifier = { target = PRS modifier = hol_lux_crisis_refused_selling }
	}
}

#FRA - Prussia Agrees to the Selling
country_event = {
	id = lux_crisis.7
	title = lux_crisis.7.t
	desc = lux_crisis.7.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.7.a
		add_opinion_modifier = { target = PRS modifier = fra_lux_crisis_accepted_selling_prs }
		reverse_add_opinion_modifier = { target = PRS modifier = fra_lux_crisis_accepted_selling_prs }
		add_timed_idea = {
			idea = FRA_idea_luxembourg_compensation
			days = 730
		}
		annex_country = {
			target = LUX
			transfer_troops = no
		}
		8 = {
			add_core_of = FRA
			remove_core_of = LUX
		}
		if = {
			limit = {
				NOT = {
					OR = {
						has_country_flag = FRA_victory_luxembourg_crisis_flag
						has_country_flag = FRA_decisive_victory_luxembourg_crisis_flag
					}
				}
			}
			set_temp_variable = { eoanb_prestige_change = 3 }
			eoanb_change_prestige_score = yes
		}
	}
}

#HOL - Prussia Agrees to the Selling
country_event = {
	id = lux_crisis.8
	title = lux_crisis.8.t
	desc = lux_crisis.8.d
	picture = GFX_report_event_biarritz_meeting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.8.a
		#Add economy stuff later
		add_opinion_modifier = { target = FRA modifier = fra_lux_crisis_accepted_selling }
		reverse_add_opinion_modifier = { target = FRA modifier = fra_lux_crisis_accepted_selling }
		add_timed_idea = {
			idea = HOL_idea_luxembourg_compensation
			days = 730
		}
		set_temp_variable = { eoanb_prestige_change = -3 }
		eoanb_change_prestige_score = yes
	}
}

#FRA - Public Outcry Against Prussian Deception
country_event = {
	id = lux_crisis.9
	title = lux_crisis.9.t
	desc = lux_crisis.9.d
	picture = GFX_report_event_worker_strikes
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			news_event = { id = news.38 days = 3 }
		}
	}
	
	option = {
		name = lux_crisis.9.a
		ai_chance = { base = 100 }
		add_stability = -0.03
		add_war_support = 0.15
	}
}

#RUS - Call for an International Conference to Settle the Luxembourg Crisis
country_event = {
	id = lux_crisis.10
	title = lux_crisis.10.t
	desc = lux_crisis.10.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.10.a
		ai_chance = { base = 100 }
		add_political_power = 10
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		ENG = { country_event = { days = 7 id = lux_crisis.11 } }
	}
}

#ENG - Invite the Great Powers to an International Conference to Settle the Luxembourg Crisis
country_event = {
	id = lux_crisis.11
	title = lux_crisis.11.t
	desc = lux_crisis.11.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.11.a
		ai_chance = { base = 100 }
		add_political_power = 10
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		custom_effect_tooltip = lux_crisis_london_conference_send_invitation_effect_tt
		hidden_effect = {
			AUS = { country_event = { days = 2 id = lux_crisis.12 } }
			BEL = { country_event = { days = 2 id = lux_crisis.12 } }
			FRA = { country_event = { days = 2 id = lux_crisis.12 } }
			HOL = { country_event = { days = 2 id = lux_crisis.12 } }
			LUX = { country_event = { days = 2 id = lux_crisis.12 } }
			PRS = { country_event = { days = 2 id = lux_crisis.12 } }
			RUS = { country_event = { days = 2 id = lux_crisis.12 } }
			if = {
				limit = {
					NSC = {
						has_country_flag = is_literally_italy
					}
				}
				NSC = { country_event = { days = 2 id = lux_crisis.12 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = is_literally_italy
					}
				}
				PAP = { country_event = { days = 2 id = lux_crisis.12 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = is_literally_italy
					}
				}
				PIE = { country_event = { days = 2 id = lux_crisis.12 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = is_literally_italy
					}
				}
				TUS = { country_event = { days = 2 id = lux_crisis.12 } }
			}
			ENG = { country_event = { days = 9 id = lux_crisis.13 } }
		}
	}
}

#AUS/BEL/FRA/HOL/LUX/PRS/RUS/ITA - England Invites the Great Powers to an International Conference in London
country_event = {
	id = lux_crisis.12
	title = lux_crisis.12.t
	desc = lux_crisis.12.d
	picture = GFX_report_event_british_parliament
	
	is_triggered_only = yes
	
	timeout_days = 5
	
	#Accept the invitation
	option = {
		name = lux_crisis.12.a
		ai_chance = { base = 100 }
		#custom_effect_tooltip = historical_option
		hidden_effect = {
			set_country_flag = lux_crisis_london_conference_attend_flag
		}
	}
	
	#Decline the invitation (AUS/FRA/PRS/ITA)
	#option = {
	#	name = lux_crisis.12.b
	#	trigger = {
	#		NOT = {
	#			OR = {
	#				tag = BEL
	#				tag = HOL
	#				tag = LUX
	#				tag = RUS
	#			}
	#		}
	#	}
	#	ai_chance = {
	#		base = 10
	#		modifier = {
	#			factor = 0
	#			is_historical_focus_on = yes
	#		}
	#	}
	#	if = {
	#		limit = {
	#			OR = {
	#				tag = FRA
	#				tag = PRS
	#			}
	#		}
	#		custom_effect_tooltip = lux_crisis_london_conference_decline_invitation_effect_tt
	#	}
	#	add_political_power = -20
	#}
}

#ENG - The London Conference Starts
country_event = {
	id = lux_crisis.13
	title = lux_crisis.13.t
	desc = lux_crisis.13.d
	#desc = {
	#	trigger = {
	#		FRA = { has_country_flag = lux_crisis_london_conference_attend_flag }
	#		PRS = { has_country_flag = lux_crisis_london_conference_attend_flag }
	#	}
	#	text = lux_crisis.13.d_france_and_prussia_present
	#}
	#desc = {
	#	trigger = {
	#		FRA = { has_country_flag = lux_crisis_london_conference_attend_flag }
	#		PRS = { NOT = { has_country_flag = lux_crisis_london_conference_attend_flag } }
	#	}
	#	text = lux_crisis.13.d_france_present_prussia_not
	#}
	#desc = {
	#	trigger = {
	#		FRA = { NOT = { has_country_flag = lux_crisis_london_conference_attend_flag } }
	#		PRS = { has_country_flag = lux_crisis_london_conference_attend_flag }
	#	}
	#	text = lux_crisis.13.d_prussia_present_france_not
	#}
	#desc = {
	#	trigger = {
	#		FRA = { NOT = { has_country_flag = lux_crisis_london_conference_attend_flag } }
	#		PRS = { NOT = { has_country_flag = lux_crisis_london_conference_attend_flag } }
	#	}
	#	text = lux_crisis.13.d_france_and_prussia_not_present
	#}
	picture = GFX_report_event_british_parliament
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.13.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				FRA = { has_country_flag = lux_crisis_london_conference_attend_flag }
				PRS = { has_country_flag = lux_crisis_london_conference_attend_flag }
			}
			add_political_power = 10
			set_temp_variable = { eoanb_prestige_change = 3 }
			eoanb_change_prestige_score = yes
		}
		else_if = {
			limit = {
				FRA = { has_country_flag = lux_crisis_london_conference_attend_flag }
				PRS = { NOT = { has_country_flag = lux_crisis_london_conference_attend_flag } }
			}
			set_temp_variable = { eoanb_prestige_change = 1 }
			eoanb_change_prestige_score = yes
		}
		else_if = {
			limit = {
				FRA = { NOT = { has_country_flag = lux_crisis_london_conference_attend_flag } }
				PRS = { has_country_flag = lux_crisis_london_conference_attend_flag }
			}
			set_temp_variable = { eoanb_prestige_change = 1 }
			eoanb_change_prestige_score = yes
		}
		else_if = {
			limit = {
				FRA = { NOT = { has_country_flag = lux_crisis_london_conference_attend_flag } }
				PRS = { NOT = { has_country_flag = lux_crisis_london_conference_attend_flag } }
			}
			set_temp_variable = { eoanb_prestige_change = -2 }
			eoanb_change_prestige_score = yes
		}
		custom_effect_tooltip = lux_crisis_london_conference_start_effect_tt
		hidden_effect = {
			BEL = { country_event = { id = lux_crisis.14 } }
			HOL = { country_event = { id = lux_crisis.14 } }
			LUX = { country_event = { id = lux_crisis.14 } }
			RUS = { country_event = { id = lux_crisis.14 } }
			if = {
				limit = {
					AUS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				AUS = { country_event = { id = lux_crisis.14 } }
			}
			if = {
				limit = {
					FRA = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				FRA = { country_event = { id = lux_crisis.14 } }
			}
			if = {
				limit = {
					PRS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PRS = { country_event = { id = lux_crisis.14 } }
			}
			if = {
				limit = {
					NSC = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				NSC = { country_event = { id = lux_crisis.14 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PAP = { country_event = { id = lux_crisis.14 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PIE = { country_event = { id = lux_crisis.14 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				TUS = { country_event = { id = lux_crisis.14 } }
			}
			country_event = { days = 4 id = lux_crisis.15 }
		}
	}
}

#AUS/BEL/FRA/HOL/LUX/PRS/RUS/ITA - The London Conference Starts
country_event = {
	id = lux_crisis.14
	title = lux_crisis.14.t
	desc = lux_crisis.14.d
	picture = GFX_report_event_british_parliament
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.14.a
		trigger = {
			NOT = { tag = FRA }
		}
		ai_chance = { base = 100 }
		if = {
			limit = {
				NOT = { tag = PRS }
			}
			add_stability = 0.01
		}
		else = {
			add_political_power = 10
		}
	}
	
	option = {
		name = lux_crisis.14.b
		trigger = {
			tag = FRA
		}
		ai_chance = { base = 100 }
		add_political_power = 10
	}
}

#ENG - Results of the London Conference
country_event = {
	id = lux_crisis.15
	title = lux_crisis.15.t
	desc = lux_crisis.15.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.15.a
		ai_chance = { base = 100 }
		add_political_power = 25
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		custom_effect_tooltip = lux_crisis_london_conference_results_effect_tt
		hidden_effect = {
			BEL = { country_event = { id = lux_crisis.16 } }
			FRA = { country_event = { id = lux_crisis.16 } }
			HOL = { country_event = { id = lux_crisis.16 } }
			LUX = { country_event = { id = lux_crisis.16 } }
			PRS = { country_event = { id = lux_crisis.16 } }
			RUS = { country_event = { id = lux_crisis.16 } }
			if = {
				limit = {
					AUS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				AUS = { country_event = { id = lux_crisis.16 } }
			}
			if = {
				limit = {
					NSC = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				NSC = { country_event = { id = lux_crisis.16 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PAP = { country_event = { id = lux_crisis.16 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PIE = { country_event = { id = lux_crisis.16 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				TUS = { country_event = { id = lux_crisis.16 } }
			}
			country_event = { days = 5 id = lux_crisis.17 }
			country_event = { days = 5 id = lux_crisis.57 }
			set_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#AUS/BEL/FRA/HOL/LUX/PRS/RUS/ITA - Results of the London Conference
country_event = {
	id = lux_crisis.16
	title = lux_crisis.16.t
	desc = lux_crisis.16.d
	picture = GFX_report_event_london_treaty_1867
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Ratify the treaty
	option = {
		name = lux_crisis.16.a
		ai_chance = { base = 95 }
		if = {
			limit = {
				NOT = {
					OR = {
						tag = FRA
						tag = PRS
					}
				}
			}
			add_political_power = 10
			add_stability = 0.01
		}
		else_if = {
			limit = {
				OR = {
					tag = FRA
					tag = PRS
				}
			}
			add_political_power = 5
			add_stability = 0.01
			add_war_support = -0.35
		}
		hidden_effect = {
			set_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
	
	#Refuse to ratify the treaty
	option = {
		name = lux_crisis.16.b
		trigger = {
			tag = FRA
		}
		ai_chance = {
			base = 5
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		custom_effect_tooltip = lux_crisis_london_conference_refusal_effect_tt
		add_political_power = -50
		add_stability = -0.05
		add_war_support = 0.05
		unlock_decision_tooltip = FRA_decision_escalate_luxembourg_crisis
		hidden_effect = {
			set_country_flag = lux_crisis_london_conference_not_ratified_flag
		}
	}
}

#ENG - The London Treaty of 1867 - Peace Preserved (historical)
country_event = {
	id = lux_crisis.17
	title = lux_crisis.17.t
	desc = lux_crisis.17.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		FRA = { has_country_flag = lux_crisis_london_conference_ratified_flag }
	}
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.17.a
		ai_chance = { base = 100 }
		give_guarantee = LUX
		add_political_power = 25
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			news_event = { id = news.39 days = 3 }
			HOL = { country_event = { id = lux_crisis.18 } }
			LUX = { country_event = { id = lux_crisis.19 } }
			FRA = { country_event = { id = lux_crisis.20 } }
			PRS = { country_event = { id = lux_crisis.21 } }
			BEL = { country_event = { id = lux_crisis.22 } }
			RUS = { country_event = { id = lux_crisis.22 } }
			if = {
				limit = {
					AUS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				AUS = { country_event = { id = lux_crisis.22 } }
			}
			if = {
				limit = {
					NSC = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				NSC = { country_event = { id = lux_crisis.22 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PAP = { country_event = { id = lux_crisis.22 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PIE = { country_event = { id = lux_crisis.22 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				TUS = { country_event = { id = lux_crisis.22 } }
			}
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#HOL - The London Treaty of 1867 - Peace Preserved
country_event = {
	id = lux_crisis.18
	title = lux_crisis.18.t
	desc = lux_crisis.18.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.18.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = 0.01
		set_temp_variable = { eoanb_prestige_change = -3 }
		eoanb_change_prestige_score = yes
		add_manpower = 500
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 10
			producer = HOL
		}
		add_equipment_to_stockpile = {
			type = uniform_equipment
			amount = 10
			producer = HOL
		}
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#LUX - The London Treaty of 1867 - Peace Preserved
country_event = {
	id = lux_crisis.19
	title = lux_crisis.19.t
	desc = lux_crisis.19.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.19.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_stability = 0.05
		delete_unit_template_and_units = {
			division_template = "Fortress Garrison"
			disband = no
		}
		set_temp_variable = { money_to_gain = -1.5 }
		add_money_with_tooltip_effect = yes
		8 = {
			set_building_level = {
				type = bunker	#demolition cost 1.5m gold francs
				level = 0
				province = 6583
			}
		}
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
			clr_country_flag = lux_crisis_london_conference_ratified_flag
			complete_national_focus = LUX_London_Treaty_1867
		}
	}
}

#FRA - The London Treaty of 1867 - Peace Preserved
country_event = {
	id = lux_crisis.20
	title = lux_crisis.20.t
	desc = lux_crisis.20.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.20.a
		ai_chance = { base = 100 }
		give_guarantee = LUX
		add_political_power = 10
		add_stability = 0.01
		add_war_support = 0.02
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#PRS - The London Treaty of 1867 - Peace Preserved
country_event = {
	id = lux_crisis.21
	title = lux_crisis.21.t
	desc = lux_crisis.21.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.21.a
		ai_chance = { base = 100 }
		give_guarantee = LUX
		add_political_power = 25
		add_stability = 0.03
		add_war_support = -0.03
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
		add_manpower = 1500
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 50
			producer = PRS
		}
		add_equipment_to_stockpile = {
			type = uniform_equipment
			amount = 50
			producer = PRS
		}
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#AUS/BEL/ITA/RUS - The London Treaty of 1867 - Peace Preserved
country_event = {
	id = lux_crisis.22
	title = lux_crisis.22.t
	desc = lux_crisis.22.d
	picture = GFX_report_event_london_treaty_1867
	
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.22.a
		ai_chance = { base = 100 }
		add_political_power = 25
		add_stability = 0.03
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#ENG/PRS - France Preparing for War?
country_event = {
	id = lux_crisis.23
	title = lux_crisis.23.t
	desc = lux_crisis.23.d
	picture = GFX_report_event_french_general_generic
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.23.a
		ai_chance = { base = 100 }
		add_war_support = 0.05
	}
}

#PRS - A French Ultimatum
country_event = {
	id = lux_crisis.24
	title = lux_crisis.24.t
	desc = lux_crisis.24.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Reject the ultimatum
	option = {
		name = lux_crisis.24.a
		ai_chance = { base = 95 }
		custom_effect_tooltip = FRA_lux_crisis_refuse_ultimatum_effect_tt
		add_political_power = 25
		add_war_support = 0.05
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		FRA = { country_event = { id = lux_crisis.25 } }
		hidden_effect = {
			create_faction_from_template = faction_template_anti_french
		}
	}
	
	#Accept the ultimatum
	option = {
		name = lux_crisis.24.b
		ai_chance = {
			base = 5
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = -50
		add_stability = -0.05
		add_war_support = -0.02
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
		FRA = { country_event = { id = lux_crisis.26 } }
		HOL = { country_event = { id = lux_crisis.8 } }
	}
}

#FRA - Prussia Rejects Ultimatum
country_event = {
	id = lux_crisis.25
	title = lux_crisis.25.t
	desc = lux_crisis.25.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.25.a
		ai_chance = { base = 100 }
		add_war_support = 0.05
	}
}

#FRA - Prussia Accepts Ultimatum
country_event = {
	id = lux_crisis.26
	title = lux_crisis.26.t
	desc = lux_crisis.26.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			set_country_flag = FRA_lux_crisis_ultimatum_successful
		}
	}
	
	option = {
		name = lux_crisis.26.a
		ai_chance = { base = 100 }
		add_war_support = -0.2
		add_timed_idea = {
			idea = FRA_idea_luxembourg_compensation
			days = 730
		}
		annex_country = {
			target = LUX
			transfer_troops = no
		}
		8 = {
			add_core_of = FRA
			remove_core_of = LUX
		}
		set_temp_variable = { eoanb_prestige_change = 10 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			news_event = { days = 3 id = news.40 }
		}
	}
}

#FRA - Declare War on Prussia
country_event = {
	id = lux_crisis.27
	title = lux_crisis.27.t
	desc = lux_crisis.27.d
	picture = GFX_report_event_french_general_generic
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		NOT = { has_country_flag = FRA_lux_crisis_ultimatum_successful }
	}
	
	immediate = {
		hidden_effect = {
			set_global_flag = eoanb_flag_luxembourg_crisis_escalated
		}
	}
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.27.a
		ai_chance = { base = 100 }
		hidden_effect = {
			declare_war_on = { target = PRS type = wargoal_luxembourg_crisis }
			add_named_threat = {
				threat = 4
				name = eoanb_threat_lux_crisis_war
			}
			PRS = { country_event = { id = lux_crisis.28 } }
			activate_mission = FRA_mission_luxembourg_crisis
			PRS = { activate_mission = FRA_mission_luxembourg_crisis }
			news_event = { days = 1 id = news.41 }
		}
	}
}

#PRS - Declaration of War from France
country_event = {
	id = lux_crisis.28
	title = lux_crisis.28.t
	desc = lux_crisis.28.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Ask the signatories of the London Treaty and the other German states for help
	option = {
		name = lux_crisis.28.a
		ai_chance = { base = 100 }
		add_war_support = 0.05
		every_other_country = {
			limit = {
				has_country_flag = lux_crisis_london_conference_ratified_flag
			}
			country_event = { days = 1 id = lux_crisis.29 }
		}
		BAD = { country_event = { days = 1 id = lux_crisis.30 } }
		BAV = { country_event = { days = 1 id = lux_crisis.30 } }
		HSD = { country_event = { days = 1 id = lux_crisis.30 } }
		WUR = { country_event = { days = 1 id = lux_crisis.30 } }
	}
	
	#Ask only the signatories of the London Treaty for help
	option = {
		name = lux_crisis.28.b
		ai_chance = { base = 0 }
		add_war_support = 0.05
		every_other_country = {
			limit = {
				has_country_flag = lux_crisis_london_conference_ratified_flag
			}
			country_event = { days = 1 id = lux_crisis.29 }
		}
	}
	
	#Ask only the other German states for help
	option = {
		name = lux_crisis.28.c
		ai_chance = { base = 0 }
		add_war_support = 0.05
		BAD = { country_event = { days = 1 id = lux_crisis.30 } }
		BAV = { country_event = { days = 1 id = lux_crisis.30 } }
		HSD = { country_event = { days = 1 id = lux_crisis.30 } }
		WUR = { country_event = { days = 1 id = lux_crisis.30 } }
	}
	
	#We can handle the situation on our own
	option = {
		name = lux_crisis.28.e
		ai_chance = { base = 0 }
		add_stability = -0.05
		add_war_support = 0.05
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
	}
}

#AUS/BEL/ENG/HOL/LUX/RUS/ITA - Join Prussia Against France?
country_event = {
	id = lux_crisis.29
	title = lux_crisis.29.t
	desc = lux_crisis.29.d
	picture = GFX_report_event_french_general_generic
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Join the Prussians
	option = {
		name = lux_crisis.29.a
		ai_chance = {
			base = 60
			modifier = {
				factor = 0
				OR = {
					tag = AUS
					tag = BEL
					tag = HOL
					tag = LUX
					has_country_flag = is_literally_italy
				}
			}
			modifier = {
				add = -10
				tag = RUS
			}
			modifier = {
				add = 20
				tag = ENG
			}
		}
		add_to_war = { targeted_alliance = PRS enemy = FRA }
		if = {
			limit = {
				OR = {
					tag = BEL
					tag = HOL
					tag = LUX
				}
			}
			PRS = {
				add_to_faction = ROOT
			}
		}
		add_war_support = 0.05
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
	
	#Stay out of this
	option = {
		name = lux_crisis.29.b
		ai_chance = {
			base = 40
			modifier = {
				add = 10
				tag = RUS
			}
			modifier = {
				add = -20
				tag = ENG
			}
		}
		add_stability = -0.02
		add_war_support = -0.05
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}

#BAD/BAV/HSD/WUR - Join Prussia Against France?
country_event = {
	id = lux_crisis.30
	title = lux_crisis.30.t
	desc = lux_crisis.30.d
	picture = GFX_report_event_french_general_generic
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Join the Prussians
	option = {
		name = lux_crisis.30.a
		ai_chance = { base = 95 }
		add_to_war = { targeted_alliance = PRS enemy = FRA }
		PRS = {
			add_to_faction = ROOT
		}
		add_war_support = 0.15
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
	}
	
	#Stay out of this
	option = {
		name = lux_crisis.30.b
		ai_chance = {
			base = 5
			modifier = {
				factor = 0
				has_idea = GC_idea_schutz_und_trutz
			}
		}
		decrease_ps_by_one = yes
		add_stability = -0.05
		add_war_support = -0.05
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}

### PHASE ONE PEACE EVENTS - FRENCH VICTORY ###

#PRS - Offer Peace to France
country_event = {
	id = lux_crisis.31
	title = lux_crisis.31.t
	desc = lux_crisis.31.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			remove_mission = FRA_mission_luxembourg_crisis
			FRA = { remove_mission = FRA_mission_luxembourg_crisis }
		}
	}
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.31.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.05
		add_war_support = -0.15
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			set_country_flag = PRS_luxembourg_crisis_offered_peace_flag
			FRA = { country_event = { id = lux_crisis.32 } }
		}
	}
}

#FRA - Prussia Offers Peace
country_event = {
	id = lux_crisis.32
	title = lux_crisis.32.t
	desc = lux_crisis.32.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	#Accept these terms
	option = {
		name = lux_crisis.32.a
		ai_chance = {
			base = 75
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 40
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 45
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 50
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 55
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 60
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 60
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 65
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 70
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 75
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 80
				}
			}
		}
		white_peace = PRS
		if = {
			limit = {
				has_war_with = AUS
			}
			white_peace = AUS
		}
		if = {
			limit = {
				has_war_with = ENG
			}
			white_peace = ENG
		}
		if = {
			limit = {
				has_war_with = RUS
			}
			white_peace = RUS
		}
		if = {
			limit = {
				has_war_with = NSC
			}
			white_peace = NSC
		}
		if = {
			limit = {
				has_war_with = PAP
			}
			white_peace = PAP
		}
		if = {
			limit = {
				has_war_with = PIE
			}
			white_peace = PIE
		}
		if = {
			limit = {
				has_war_with = TUS
			}
			white_peace = TUS
		}
		add_political_power = 50
		add_stability = 0.05
		add_war_support = -0.25
		set_temp_variable = { eoanb_prestige_change = 10 }
		eoanb_change_prestige_score = yes
		FRA = { country_event = { days = 2 id = lux_crisis.7 } }
		HOL = { country_event = { days = 2 id = lux_crisis.8 } }
		hidden_effect = {
			PRS = { country_event = { id = lux_crisis.35 } }
			PRS = { dismantle_faction = yes }
			set_country_flag = FRA_victory_luxembourg_crisis_flag
			news_event = { days = 3 id = news.42 }
			clr_country_flag = lux_crisis_london_conference_not_ratified_flag
		}
	}
	
	#Reject these terms and continue the war
	option = {
		name = lux_crisis.32.b
		ai_chance = {
			base = 25
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 40
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 45
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 50
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 55
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 60
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 60
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 65
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 70
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 75
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 80
				}
			}
			modifier = {
				factor = 0
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 85
				}
			}
		}
		custom_effect_tooltip = FRA_lux_crisis_continue_the_war_effect_tt
		add_political_power = -10
		add_stability = -0.01
		activate_mission = FRA_mission_luxembourg_crisis_continued
		hidden_effect = {
			add_named_threat = {
				threat = 3
				name = eoanb_threat_lux_crisis_war_continued
			}
			PRS = { activate_mission = FRA_mission_luxembourg_crisis_continued }
			PRS = { country_event = { days = 1 id = lux_crisis.33 } }
		}
	}
}

#PRS - France Rejects Our Peace Offer
country_event = {
	id = lux_crisis.33
	title = lux_crisis.33.t
	desc = lux_crisis.33.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.33.a
		ai_chance = { base = 100 }
		add_war_support = 0.2
		add_ideas = PRS_idea_collective_struggle_against_france
		hidden_effect = {
			every_other_country = {
				limit = {
					NOT = { has_war_with = FRA }
					OR = {
						has_country_flag = lux_crisis_london_conference_ratified_flag
						tag = BAD
						tag = BAV
						tag = HSD
						tag = WUR
					}
				}
				country_event = { days = 1 id = lux_crisis.34 }
			}
		}
	}
}

#AUS/BEL/ENG/HOL/LUX/RUS/ITA + BAD/BAV/HSD/WUR - Join Prussia Against France?
country_event = {
	id = lux_crisis.34
	title = lux_crisis.34.t
	desc = lux_crisis.34.d
	picture = GFX_report_event_french_general_generic
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Join the Prussians
	option = {
		name = lux_crisis.34.a
		ai_chance = {
			base = 95
			modifier = {
				add = -45
				OR = {
					tag = BEL
					tag = HOL
					tag = LUX
				}
			}
			modifier = {
				add = -85
				tag = AUS
			}
			modifier = {
				factor = 0
				has_country_flag = is_literally_italy
			}
		}
		add_to_war = { targeted_alliance = PRS enemy = FRA }
		if = {
			limit = {
				OR = {
					tag = BAD
					tag = BAV
					tag = BEL
					tag = HOL
					tag = HSD
					tag = LUX
					tag = WUR
				}
			}
			PRS = {
				add_to_faction = ROOT
			}
		}
		add_war_support = 0.1
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
	}
	
	#Stay out of this
	option = {
		name = lux_crisis.34.b
		ai_chance = {
			base = 5
			modifier = {
				add = 45
				OR = {
					tag = BEL
					tag = HOL
					tag = LUX
				}
			}
			modifier = {
				add = 85
				tag = AUS
			}
			modifier = {
				factor = 0
				tag = ENG
			}
		}
		add_stability = -0.05
		add_war_support = -0.1
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
	}
}

#PRS - France Accepts Our Peace Offer
country_event = {
	id = lux_crisis.35
	title = lux_crisis.35.t
	desc = lux_crisis.35.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.35.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_disband_mobilized_divisions_effect_tt
		hidden_effect = {
			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.)"
				}
			}
			clr_country_flag = PRS_luxembourg_crisis_offered_peace_flag
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

### INITIAL PEACE EVENTS - PRUSSIAN VICTORY ###

#FRA - Offer Peace to Prussia
country_event = {
	id = lux_crisis.36
	title = lux_crisis.36.t
	desc = lux_crisis.36.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			remove_mission = FRA_mission_luxembourg_crisis
			PRS = { remove_mission = FRA_mission_luxembourg_crisis }
		}
	}
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.36.a
		ai_chance = { base = 100 }
		add_political_power = -50
		add_stability = -0.1
		add_war_support = -0.15
		set_temp_variable = { eoanb_prestige_change = -10 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			set_country_flag = FRA_luxembourg_crisis_offered_peace_flag
			PRS = { country_event = { id = lux_crisis.37 } }
		}
	}
}

#PRS - France Offers Peace
country_event = {
	id = lux_crisis.37
	title = lux_crisis.37.t
	desc = lux_crisis.37.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Accept these terms
	option = {
		name = lux_crisis.37.a
		ai_chance = {
			base = 25
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 40
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 45
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 50
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 55
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 60
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 60
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 65
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 70
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 75
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 80
				}
			}
		}
		white_peace = FRA
		add_political_power = 50
		add_stability = 0.05
		add_war_support = -0.25
		add_timed_idea = {
			idea = PRS_idea_french_war_reparations
			days = 730
		}
		set_temp_variable = { eoanb_prestige_change = 10 }
		eoanb_change_prestige_score = yes
		custom_effect_tooltip = PRS_disband_mobilized_divisions_effect_tt
		hidden_effect = {
			FRA = { country_event = { id = lux_crisis.40 } }
			HOL = { country_event = { id = lux_crisis.41 } }
			PRS = { dismantle_faction = yes }
			set_country_flag = PRS_victory_luxembourg_crisis_flag
			news_event = { days = 3 id = news.42 }
			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.)"
				}
			}
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
	
	#We want Luxembourg, not their money
	option = {
		name = lux_crisis.37.b
		ai_chance = {
			base = 50
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 40
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 45
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 50
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 55
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 60
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 60
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 65
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 70
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 75
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 80
				}
			}
		}
		custom_effect_tooltip = PRS_lux_crisis_demand_luxembourg_effect_tt
		add_political_power = -25
		add_stability = -0.025
		hidden_effect = {
			FRA = { country_event = { days = 1 id = lux_crisis.62 } }
		}
	}
	
	#Reject these terms and continue the war
	option = {
		name = lux_crisis.37.c
		ai_chance = {
			base = 25
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 40
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 45
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 50
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 55
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = FRA
					thousands < 60
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 60
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 65
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 70
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 75
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 80
				}
			}
			modifier = {
				factor = 0
				casualties_inflicted_by = {
					opponent = FRA
					thousands > 85
				}
			}
		}
		custom_effect_tooltip = PRS_lux_crisis_continue_the_war_effect_tt
		add_political_power = -10
		add_stability = -0.02
		activate_mission = FRA_mission_luxembourg_crisis_continued
		hidden_effect = {
			add_named_threat = {
				threat = 3
				name = eoanb_threat_lux_crisis_war_continued
			}
			FRA = { activate_mission = FRA_mission_luxembourg_crisis_continued }
			FRA = { country_event = { days = 1 id = lux_crisis.38 } }
		}
	}
}

#FRA - Prussia Rejects Our Peace Offer
country_event = {
	id = lux_crisis.38
	title = lux_crisis.38.t
	desc = lux_crisis.38.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.38.a
		ai_chance = { base = 100 }
		add_war_support = 0.2
		add_ideas = FRA_idea_collective_struggle_against_prussia
		hidden_effect = {
			every_other_country = {
				limit = {
					has_country_flag = lux_crisis_london_conference_ratified_flag
					has_war_with = FRA
					NOT = { tag = PRS }
				}
				country_event = { days = 1 id = lux_crisis.39 }
			}
		}
	}
}

#AUS/BEL/ENG/HOL/LUX/RUS/ITA - Leave Prussia's Side?
country_event = {
	id = lux_crisis.39
	title = lux_crisis.39.t
	desc = lux_crisis.39.d
	picture = GFX_report_event_french_general_generic
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Leave them on their own
	option = {
		name = lux_crisis.39.a
		ai_chance = {
			base = 90
			modifier = {
				add = -15
				tag = ENG
			}
		}
		white_peace = FRA
		leave_faction = yes
		add_stability = 0.05
		add_war_support = -0.1
		set_temp_variable = { eoanb_prestige_change = 1 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			#set_country_flag = lux_crisis_support_france_flag
		}
	}
	
	#Stay with them
	option = {
		name = lux_crisis.39.b
		ai_chance = {
			base = 10
			modifier = {
				add = 15
				tag = ENG
			}
			modifier = {
				factor = 0
				OR = {
					tag = BEL
					tag = HOL
					tag = LUX
				}
			}
		}
		add_stability = -0.05
		add_war_support = 0.05
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}

#FRA - Prussia Accepts Our Peace Offer
country_event = {
	id = lux_crisis.40
	title = lux_crisis.40.t
	desc = lux_crisis.40.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.40.a
		ai_chance = { base = 100 }
		add_timed_idea = {
			idea = FRA_idea_prussian_war_reparations
			days = 730
		}
		if = {
			limit = {
				has_war_with = AUS
			}
			white_peace = AUS
		}
		if = {
			limit = {
				has_war_with = ENG
			}
			white_peace = ENG
		}
		if = {
			limit = {
				has_war_with = RUS
			}
			white_peace = RUS
		}
		if = {
			limit = {
				has_war_with = NSC
			}
			white_peace = NSC
		}
		if = {
			limit = {
				has_war_with = PAP
			}
			white_peace = PAP
		}
		if = {
			limit = {
				has_war_with = PIE
			}
			white_peace = PIE
		}
		if = {
			limit = {
				has_war_with = TUS
			}
			white_peace = TUS
		}
		hidden_effect = {
			clr_country_flag = FRA_luxembourg_crisis_offered_peace_flag
			clr_country_flag = lux_crisis_london_conference_not_ratified_flag
		}
	}
}

#HOL - Peace between France and Prussia
country_event = {
	id = lux_crisis.41
	title = lux_crisis.41.t
	desc = lux_crisis.41.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.41.a
		ai_chance = { base = 100 }
		add_political_power = -20
		add_stability = -0.02
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

### PHASE TWO PEACE EVENTS - FRENCH VICTORY ###

#PRS - Sue for Peace
country_event = {
	id = lux_crisis.42
	title = lux_crisis.42.t
	desc = lux_crisis.42.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			remove_mission = FRA_mission_luxembourg_crisis_continued
			FRA = { remove_mission = FRA_mission_luxembourg_crisis_continued }
		}
	}
	
	timeout_days = 3
	
	#Defeat after France refusing peace before = as expected
	option = {
		name = lux_crisis.42.a
		trigger = {
			has_country_flag = PRS_luxembourg_crisis_offered_peace_flag
		}
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.05
		add_war_support = -0.2
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			FRA = { country_event = { id = lux_crisis.43 } }
		}
	}
	
	#Defeat after Prussia refusing peace before = big surprise
	option = {
		name = lux_crisis.42.b
		trigger = {
			NOT = { has_country_flag = PRS_luxembourg_crisis_offered_peace_flag }
		}
		ai_chance = { base = 100 }
		add_political_power = -100
		add_stability = -0.2
		add_war_support = -0.2
		set_temp_variable = { eoanb_prestige_change = -20 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			FRA = { country_event = { id = lux_crisis.43 } }
		}
	}
}

#FRA - Prussia Sues for Peace
country_event = {
	id = lux_crisis.43
	title = lux_crisis.43.t
	desc = lux_crisis.43.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	immediate = {
		hidden_effect = {
			set_country_flag = FRA_decisive_victory_luxembourg_crisis_flag
			news_event = { days = 7 id = news.43 }
		}
	}
	
	#Victory after Prussia refusing peace before = big surprise
	option = {
		name = lux_crisis.43.a
		trigger = {
			has_country_flag = FRA_luxembourg_crisis_offered_peace_flag
		}
		ai_chance = { base = 100 }
		transfer_state = 51
		51 = {
			add_core_of = FRA
			#remove_core_of = PRS
		}
		transfer_state = 978
		978 = {
			add_core_of = FRA
			#remove_core_of = PRS
		}
		transfer_state = 984
		984 = {
			add_core_of = FRA
			#remove_core_of = PRS
		}
		if = {
			limit = {
				has_war_with = LUX
			}
			annex_country = {
				target = LUX
				transfer_troops = no
			}
			8 = {
				add_core_of = FRA
				#remove_core_of = LUX
			}
			hidden_effect = {
				HOL = { country_event = { id = lux_crisis.45 } }
			}
		}
		else = {
			FRA = { country_event = { days = 2 id = lux_crisis.7 } }
			HOL = { country_event = { days = 2 id = lux_crisis.8 } }
		}
		if = {
			limit = {
				has_war_with = BEL
			}
			transfer_state = 34
			34 = {
				add_core_of = FRA
				#remove_core_of = BEL
			}
			hidden_effect = {
				BEL = { country_event = { id = lux_crisis.46 } }
			}
		}
		if = {
			limit = {
				has_war_with = BAV
			}
			transfer_state = 42
			42 = {
				add_core_of = FRA
				#remove_core_of = BAV
			}
			hidden_effect = {
				BAV = { country_event = { id = lux_crisis.47 } }
			}
		}
		if = {
			limit = {
				has_war_with = HSD
			}
			transfer_state = 581
			581 = {
				add_core_of = FRA
				#remove_core_of = HSD
			}
			hidden_effect = {
				HSD = { country_event = { id = lux_crisis.471 } }
			}
		}
		#if = {
		#	limit = {
		#		has_war_with = BAD
		#	}
		#	transfer_state = 744
		#	744 = {
		#		add_core_of = FRA
		#		#remove_core_of = BAD
		#	}
		#	hidden_effect = {
		#		BAD = { country_event = { id = lux_crisis.47 } }
		#	}
		#}
		white_peace = PRS
		if = {
			limit = {
				has_war_with = AUS
			}
			white_peace = AUS
		}
		if = {
			limit = {
				has_war_with = ENG
			}
			white_peace = ENG
		}
		if = {
			limit = {
				has_war_with = RUS
			}
			white_peace = RUS
		}
		if = {
			limit = {
				has_war_with = NSC
			}
			white_peace = NSC
		}
		if = {
			limit = {
				has_war_with = PAP
			}
			white_peace = PAP
		}
		if = {
			limit = {
				has_war_with = PIE
			}
			white_peace = PIE
		}
		if = {
			limit = {
				has_war_with = TUS
			}
			white_peace = TUS
		}
		add_political_power = 200
		add_stability = 0.2
		add_war_support = -0.2
		set_temp_variable = { eoanb_prestige_change = 40 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			PRS = { country_event = { id = lux_crisis.44 } }
			AUS = { country_event = { days = 3 id = lux_crisis.48 } }
			ENG = { country_event = { days = 3 id = lux_crisis.48 } }
			RUS = { country_event = { days = 3 id = lux_crisis.48 } }
			if = {
				limit = {
					NSC = {
						has_country_flag = is_literally_italy
					}
				}
				NSC = { country_event = { days = 3 id = lux_crisis.48 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = is_literally_italy
					}
				}
				PAP = { country_event = { days = 3 id = lux_crisis.48 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = is_literally_italy
					}
				}
				PIE = { country_event = { days = 3 id = lux_crisis.48 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = is_literally_italy
					}
				}
				TUS = { country_event = { days = 3 id = lux_crisis.48 } }
			}
			PRS = { dismantle_faction = yes }
			clr_country_flag = lux_crisis_london_conference_not_ratified_flag
		}
	}
	
	#Victory after France refusing peace before = as expected
	option = {
		name = lux_crisis.43.b
		trigger = {
			NOT = { has_country_flag = FRA_luxembourg_crisis_offered_peace_flag }
		}
		ai_chance = { base = 100 }
		transfer_state = 51
		51 = {
			add_core_of = FRA
			#remove_core_of = PRS
		}
		transfer_state = 978
		978 = {
			add_core_of = FRA
			#remove_core_of = PRS
		}
		transfer_state = 984
		984 = {
			add_core_of = FRA
			#remove_core_of = PRS
		}
		if = {
			limit = {
				has_war_with = LUX
			}
			annex_country = {
				target = LUX
				transfer_troops = no
			}
			8 = {
				add_core_of = FRA
				#remove_core_of = LUX
			}
			hidden_effect = {
				HOL = { country_event = { id = lux_crisis.45 } }
			}
		}
		else = {
			FRA = { country_event = { days = 2 id = lux_crisis.7 } }
			HOL = { country_event = { days = 2 id = lux_crisis.8 } }
		}
		if = {
			limit = {
				has_war_with = BEL
			}
			transfer_state = 34
			34 = {
				add_core_of = FRA
				#remove_core_of = BEL
			}
			hidden_effect = {
				BEL = { country_event = { id = lux_crisis.46 } }
			}
		}
		if = {
			limit = {
				has_war_with = BAV
			}
			transfer_state = 42
			42 = {
				add_core_of = FRA
				#remove_core_of = BAV
			}
			hidden_effect = {
				BAV = { country_event = { id = lux_crisis.47 } }
			}
		}
		if = {
			limit = {
				has_war_with = HSD
			}
			transfer_state = 581
			581 = {
				add_core_of = FRA
				#remove_core_of = HSD
			}
			hidden_effect = {
				HSD = { country_event = { id = lux_crisis.471 } }
			}
		}
		#if = {
		#	limit = {
		#		has_war_with = BAD
		#	}
		#	transfer_state = 744
		#	744 = {
		#		add_core_of = FRA
		#		#remove_core_of = BAD
		#	}
		#	hidden_effect = {
		#		BAD = { country_event = { id = lux_crisis.47 } }
		#	}
		#}
		white_peace = PRS
		if = {
			limit = {
				has_war_with = AUS
			}
			white_peace = AUS
		}
		if = {
			limit = {
				has_war_with = ENG
			}
			white_peace = ENG
		}
		if = {
			limit = {
				has_war_with = RUS
			}
			white_peace = RUS
		}
		if = {
			limit = {
				has_war_with = NSC
			}
			white_peace = NSC
		}
		if = {
			limit = {
				has_war_with = PAP
			}
			white_peace = PAP
		}
		if = {
			limit = {
				has_war_with = PIE
			}
			white_peace = PIE
		}
		if = {
			limit = {
				has_war_with = TUS
			}
			white_peace = TUS
		}
		add_political_power = 50
		add_stability = 0.05
		add_war_support = -0.2
		set_temp_variable = { eoanb_prestige_change = 20 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			PRS = { country_event = { id = lux_crisis.44 } }
			AUS = { country_event = { days = 3 id = lux_crisis.48 } }
			ENG = { country_event = { days = 3 id = lux_crisis.48 } }
			RUS = { country_event = { days = 3 id = lux_crisis.48 } }
			if = {
				limit = {
					NSC = {
						has_country_flag = is_literally_italy
					}
				}
				NSC = { country_event = { days = 3 id = lux_crisis.48 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = is_literally_italy
					}
				}
				PAP = { country_event = { days = 3 id = lux_crisis.48 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = is_literally_italy
					}
				}
				PIE = { country_event = { days = 3 id = lux_crisis.48 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = is_literally_italy
					}
				}
				TUS = { country_event = { days = 3 id = lux_crisis.48 } }
			}
			PRS = { dismantle_faction = yes }
			clr_country_flag = lux_crisis_london_conference_not_ratified_flag
		}
	}
}

#PRS - France Occupies the West Bank of the Rhine
country_event = {
	id = lux_crisis.44
	title = lux_crisis.44.t
	desc = lux_crisis.44.d
	picture = GFX_report_event_prs_germania_wacht_am_rhein
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.44.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.05
		add_war_support = 0.05
		hidden_effect = {
			clr_country_flag = PRS_luxembourg_crisis_offered_peace_flag
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#HOL - Luxembourg Lost to France
country_event = {
	id = lux_crisis.45
	title = lux_crisis.45.t
	desc = lux_crisis.45.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.45.a
		ai_chance = { base = 100 }
		white_peace = FRA
		add_political_power = -100
		add_stability = -0.1
		add_war_support = 0.05
		set_temp_variable = { eoanb_prestige_change = -10 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#BEL - Wallonia Lost to France
country_event = {
	id = lux_crisis.46
	title = lux_crisis.46.t
	desc = lux_crisis.46.d
	picture = GFX_report_event_belgian_parliament
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.46.a
		ai_chance = { base = 100 }
		white_peace = FRA
		add_political_power = -150
		add_stability = -0.15
		add_war_support = 0.15
		set_temp_variable = { eoanb_prestige_change = -10 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#BAV - Palatinate Lost to France
country_event = {
	id = lux_crisis.47
	title = lux_crisis.47.t
	desc = lux_crisis.47.d
	picture = GFX_report_event_prs_germania_wacht_am_rhein
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.47.a
		ai_chance = { base = 100 }
		white_peace = FRA
		add_political_power = -100
		add_stability = -0.1
		add_war_support = 0.1
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
	}
}

#HSD - Rhine Hesse Lost to France
country_event = {
	id = lux_crisis.471
	title = lux_crisis.471.t
	desc = lux_crisis.471.d
	picture = GFX_report_event_prs_germania_wacht_am_rhein
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.471.a
		ai_chance = { base = 100 }
		white_peace = FRA
		add_political_power = -100
		add_stability = -0.1
		add_war_support = 0.1
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}

#AUS/ENG/RUS/ITA - France Breaks the Balance of Power
country_event = {
	id = lux_crisis.48
	title = lux_crisis.48.t
	desc = lux_crisis.48.d
	picture = GFX_report_event_napoleon_iii_generic
	
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.48.a
		ai_chance = { base = 100 }
		add_political_power = -75
		add_stability = -0.05
		add_war_support = 0.05
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

### PHASE TWO PEACE EVENTS - PRUSSIAN VICTORY ###

#FRA - Sue for Peace
country_event = {
	id = lux_crisis.49
	title = lux_crisis.49.t
	desc = lux_crisis.49.d
	picture = GFX_report_event_austrian_army_1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			remove_mission = FRA_mission_luxembourg_crisis_continued
			PRS = { remove_mission = FRA_mission_luxembourg_crisis_continued }
			white_peace = PRS
			PRS = { dismantle_faction = yes }
			if = {
				limit = {
					has_war_with = AUS
				}
				white_peace = AUS
			}
			if = {
				limit = {
					has_war_with = ENG
				}
				white_peace = ENG
			}
			if = {
				limit = {
					has_war_with = RUS
				}
				white_peace = RUS
			}
			if = {
				limit = {
					has_war_with = NSC
				}
				white_peace = NSC
			}
			if = {
				limit = {
					has_war_with = PAP
				}
				white_peace = PAP
			}
			if = {
				limit = {
					has_war_with = PIE
				}
				white_peace = PIE
			}
			if = {
				limit = {
					has_war_with = TUS
				}
				white_peace = TUS
			}
		}
	}
	
	timeout_days = 3
	
	#Defeat after Prussia refusing peace before = as expected
	option = {
		name = lux_crisis.49.a
		trigger = {
			has_country_flag = FRA_luxembourg_crisis_offered_peace_flag
		}
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.05
		add_war_support = -0.2
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			PRS = { country_event = { id = lux_crisis.50 } }
		}
	}
	
	#Defeat after France refusing peace before = big surprise
	option = {
		name = lux_crisis.49.b
		trigger = {
			NOT = { has_country_flag = FRA_luxembourg_crisis_offered_peace_flag }
		}
		ai_chance = { base = 100 }
		add_political_power = -100
		add_stability = -0.2
		add_war_support = -0.2
		set_temp_variable = { eoanb_prestige_change = -20 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			PRS = { country_event = { id = lux_crisis.50 } }
		}
	}
}

#PRS - France Sues for Peace
country_event = {
	id = lux_crisis.50
	title = lux_crisis.50.t
	desc = lux_crisis.50.d
	picture = GFX_report_event_prs_germania_wacht_am_rhein
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	immediate = {
		hidden_effect = {
			set_country_flag = eoanb_flag_won_luxembourg_crisis
			news_event = { days = 7 id = news.43 }
		}
	}
	
	#Victory after France refusing peace before = big surprise
	option = {
		name = lux_crisis.50.a
		trigger = {
			has_country_flag = PRS_luxembourg_crisis_offered_peace_flag
		}
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_luxembourg_crisis_victory_effect_tt
		custom_effect_tooltip = PRS_disband_mobilized_divisions_effect_tt
		transfer_state = 28
		28 = {
			add_core_of = PRS
			#remove_core_of = FRA
		}
		HOL = { country_event = { days = 3 id = lux_crisis.52 } }
		add_political_power = 250
		add_stability = 0.25
		add_war_support = -0.35
		set_temp_variable = { eoanb_prestige_change = 60 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			FRA = { country_event = { id = lux_crisis.51 } }
			BAD = { country_event = { days = 5 id = lux_crisis.54 } }
			BAV = { country_event = { days = 5 id = lux_crisis.54 } }
			HSD = { country_event = { days = 5 id = lux_crisis.54 } }
			WUR = { country_event = { days = 5 id = lux_crisis.54 } }
			AUS = { country_event = { days = 5 id = lux_crisis.55 } }
			BEL = { country_event = { days = 5 id = lux_crisis.55 } }
			ENG = { country_event = { days = 5 id = lux_crisis.55 } }
			RUS = { country_event = { days = 5 id = lux_crisis.55 } }
			if = {
				limit = {
					NSC = {
						has_country_flag = is_literally_italy
					}
				}
				NSC = { country_event = { days = 5 id = lux_crisis.55 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = is_literally_italy
					}
				}
				PAP = { country_event = { days = 5 id = lux_crisis.55 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = is_literally_italy
					}
				}
				PIE = { country_event = { days = 5 id = lux_crisis.55 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = is_literally_italy
					}
				}
				TUS = { country_event = { days = 5 id = lux_crisis.55 } }
			}
			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.)"
				}
			}
		}
	}
	
	#Victory after France refusing peace before = as expected
	option = {
		name = lux_crisis.50.b
		trigger = {
			NOT = { has_country_flag = PRS_luxembourg_crisis_offered_peace_flag }
		}
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_luxembourg_crisis_victory_effect_tt
		custom_effect_tooltip = PRS_disband_mobilized_divisions_effect_tt
		transfer_state = 28
		28 = {
			add_core_of = PRS
			#remove_core_of = FRA
		}
		HOL = { country_event = { days = 3 id = lux_crisis.52 } }
		add_political_power = 100
		add_stability = 0.1
		add_war_support = -0.35
		set_temp_variable = { eoanb_prestige_change = 15 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			FRA = { country_event = { id = lux_crisis.51 } }
			BAD = { country_event = { days = 5 id = lux_crisis.54 } }
			BAV = { country_event = { days = 5 id = lux_crisis.54 } }
			HSD = { country_event = { days = 5 id = lux_crisis.54 } }
			WUR = { country_event = { days = 5 id = lux_crisis.54 } }
			AUS = { country_event = { days = 5 id = lux_crisis.55 } }
			BEL = { country_event = { days = 5 id = lux_crisis.55 } }
			ENG = { country_event = { days = 5 id = lux_crisis.55 } }
			RUS = { country_event = { days = 5 id = lux_crisis.55 } }
			if = {
				limit = {
					NSC = {
						has_country_flag = is_literally_italy
					}
				}
				NSC = { country_event = { days = 5 id = lux_crisis.55 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = is_literally_italy
					}
				}
				PAP = { country_event = { days = 5 id = lux_crisis.55 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = is_literally_italy
					}
				}
				PIE = { country_event = { days = 5 id = lux_crisis.55 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = is_literally_italy
					}
				}
				TUS = { country_event = { days = 5 id = lux_crisis.55 } }
			}
			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.)"
				}
			}
		}
	}
}

#FRA - Prussia Occupies Alsace-Lorraine
country_event = {
	id = lux_crisis.51
	title = lux_crisis.51.t
	desc = lux_crisis.51.d
	picture = GFX_report_event_prs_germania_wacht_am_rhein
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.51.a
		ai_chance = { base = 100 }
		add_political_power = -15
		add_stability = -0.03
		add_war_support = 0.03
		hidden_effect = {
			clr_country_flag = FRA_luxembourg_crisis_offered_peace_flag
			clr_country_flag = lux_crisis_london_conference_not_ratified_flag
		}
	}
}

#HOL - Prussia Agrees to Buy Luxembourg
country_event = {
	id = lux_crisis.52
	title = lux_crisis.52.t
	desc = lux_crisis.52.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.52.a
		ai_chance = { base = 100 }
		add_timed_idea = {
			idea = HOL_idea_luxembourg_compensation
			days = 730
		}
		add_political_power = -20
		add_stability = -0.02
		set_temp_variable = { eoanb_prestige_change = -2 }
		eoanb_change_prestige_score = yes
		PRS = { country_event = { id = lux_crisis.53 } }
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#PRS - The Purchase of Luxembourg
country_event = {
	id = lux_crisis.53
	title = lux_crisis.53.t
	desc = lux_crisis.53.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.53.a
		ai_chance = { base = 100 }
		add_timed_idea = {
			idea = FRA_idea_luxembourg_compensation
			days = 730
		}
		annex_country = {
			target = LUX
			transfer_troops = no
		}
		8 = {
			add_core_of = PRS
			remove_core_of = LUX
		}
	}
}

#BAD/BAV/HSD/WUR - German Interests Defended
country_event = {
	id = lux_crisis.54
	title = lux_crisis.54.t
	desc = lux_crisis.54.d
	picture = GFX_report_event_prs_germania_wacht_am_rhein
	
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.54.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_stability = 0.05
		add_war_support = -0.1
		set_temp_variable = { eoanb_prestige_change = 5 }
		eoanb_change_prestige_score = yes
	}
}

#AUS/BEL/ENG/RUS/ITA - Prussia Occupies Alsace-Lorraine and Luxembourg
country_event = {
	id = lux_crisis.55
	title = lux_crisis.55.t
	desc = lux_crisis.55.d
	picture = GFX_report_event_prs_germania_wacht_am_rhein

	is_triggered_only = yes
	
	option = {
		name = lux_crisis.55.a
		ai_chance = { base = 100 }
		add_political_power = -20
		add_stability = -0.02
		add_war_support = 0.02
		set_temp_variable = { eoanb_prestige_change = -2 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#FRA - The Dutch Seek Prussian Approval
country_event = {
	id = lux_crisis.56
	title = lux_crisis.56.t
	desc = lux_crisis.56.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.56.a
		ai_chance = { base = 100 }
		add_political_power = -5
	}
}

#ENG - The London Treaty of 1867 - War Still Looming
country_event = {
	id = lux_crisis.57
	title = lux_crisis.57.t
	desc = lux_crisis.57.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		FRA = { has_country_flag = lux_crisis_london_conference_not_ratified_flag }
	}
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.57.a
		ai_chance = { base = 100 }
		add_political_power = -25
		set_temp_variable = { eoanb_prestige_change = -3 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			HOL = { country_event = { id = lux_crisis.58 } }
			LUX = { country_event = { id = lux_crisis.59 } }
			PRS = { country_event = { id = lux_crisis.60 } }
			BEL = { country_event = { id = lux_crisis.61 } }
			RUS = { country_event = { id = lux_crisis.61 } }
			if = {
				limit = {
					AUS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				AUS = { country_event = { id = lux_crisis.61 } }
			}
			if = {
				limit = {
					NSC = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				NSC = { country_event = { id = lux_crisis.61 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PAP = { country_event = { id = lux_crisis.61 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				PIE = { country_event = { id = lux_crisis.61 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = lux_crisis_london_conference_attend_flag
					}
				}
				TUS = { country_event = { id = lux_crisis.61 } }
			}
		}
	}
}

#HOL - The London Treaty of 1867 - War Still Looming
country_event = {
	id = lux_crisis.58
	title = lux_crisis.58.t
	desc = lux_crisis.58.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.58.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.02
		set_temp_variable = { eoanb_prestige_change = -3 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
		}
	}
}

#LUX - The London Treaty of 1867 - War Still Looming
country_event = {
	id = lux_crisis.59
	title = lux_crisis.59.t
	desc = lux_crisis.59.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.59.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.02
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
		}
	}
}

#PRS - The London Treaty of 1867 - War Still Looming
country_event = {
	id = lux_crisis.60
	title = lux_crisis.60.t
	desc = lux_crisis.60.d
	picture = GFX_report_event_london_treaty_1867
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.60.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.03
		add_war_support = 0.03
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
		}
	}
}

#AUS/BEL/ITA/RUS - The London Treaty of 1867 - War Still Looming
country_event = {
	id = lux_crisis.61
	title = lux_crisis.61.t
	desc = lux_crisis.61.d
	picture = GFX_report_event_london_treaty_1867
	
	is_triggered_only = yes
	
	timeout_days = 5
	
	option = {
		name = lux_crisis.61.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = -0.02
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_attend_flag
		}
	}
}

#FRA - Prussia Demands to Acquire Luxembourg
country_event = {
	id = lux_crisis.62
	title = lux_crisis.62.t
	desc = lux_crisis.62.d
	picture = GFX_report_event_generic_prussian_general
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 2
	
	#Agree to their terms
	option = {
		name = lux_crisis.62.a
		ai_chance = {
			base = 75
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 40
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 45
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 50
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 55
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 60
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 60
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 65
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 70
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 75
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 80
				}
			}
		}
		white_peace = PRS
		if = {
			limit = {
				has_war_with = AUS
			}
			white_peace = AUS
		}
		if = {
			limit = {
				has_war_with = ENG
			}
			white_peace = ENG
		}
		if = {
			limit = {
				has_war_with = RUS
			}
			white_peace = RUS
		}
		if = {
			limit = {
				has_war_with = NSC
			}
			white_peace = NSC
		}
		if = {
			limit = {
				has_war_with = PAP
			}
			white_peace = PAP
		}
		if = {
			limit = {
				has_war_with = PIE
			}
			white_peace = PIE
		}
		if = {
			limit = {
				has_war_with = TUS
			}
			white_peace = TUS
		}
		add_political_power = -25
		add_stability = -0.025
		add_war_support = -0.35
		set_temp_variable = { eoanb_prestige_change = -3 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			PRS = { dismantle_faction = yes }
			PRS = { country_event = { id = lux_crisis.63 } }
			clr_country_flag = FRA_luxembourg_crisis_offered_peace_flag
			clr_country_flag = lux_crisis_london_conference_not_ratified_flag
		}
	}
	
	#Reject their terms
	option = {
		name = lux_crisis.62.b
		ai_chance = {
			base = 25
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 40
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 45
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 50
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 55
				}
			}
			modifier = {
				add = 5
				casualties_inflicted_by = {
					opponent = PRS
					thousands < 60
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 60
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 65
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 70
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 75
				}
			}
			modifier = {
				add = -5
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 80
				}
			}
			modifier = {
				factor = 0
				casualties_inflicted_by = {
					opponent = PRS
					thousands > 85
				}
			}
		}
		custom_effect_tooltip = FRA_lux_crisis_reject_luxembourg_demand_effect_tt
		add_stability = -0.05
		add_war_support = -0.05
		hidden_effect = {
			PRS = { country_event = { id = lux_crisis.64 } }
		}
	}
}

#PRS - France Accepts Our Peace Offer
country_event = {
	id = lux_crisis.63
	title = lux_crisis.63.t
	desc = lux_crisis.63.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.63.a
		ai_chance = { base = 100 }
		add_political_power = 75
		add_stability = 0.075
		add_war_support = -0.4
		HOL = { end_puppet = LUX }
		set_autonomy = {
			target = LUX
			autonomous_state = autonomy_personal_union
			freedom_level = 0.25
		}
		add_timed_idea = {
			idea = FRA_idea_luxembourg_compensation
			days = 730
		}
		set_temp_variable = { eoanb_prestige_change = 15 }
		eoanb_change_prestige_score = yes
		custom_effect_tooltip = PRS_disband_mobilized_divisions_effect_tt
		hidden_effect = {
			HOL = { country_event = { id = lux_crisis.66 } }
			set_country_flag = PRS_victory_luxembourg_crisis_flag
			news_event = { days = 3 id = news.44 }
			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.)"
				}
			}
			clr_country_flag = lux_crisis_london_conference_ratified_flag
			LUX = {
				set_politics = {
					ruling_party = autocracy
				}
				set_popularities = {
					anarchism = 0
					ideology_social_liberalism = 0
					ideology_radical_socialism = 0
					social_egalitarianism = 0
					centrism = 0
					traditional_conservatism = 25
					radical_democracy = 0
					chauvinist_populism = 0
					autocracy = 75
					fundamentalism = 0
				}
				remove_ideas = LUX_the_coup
				remove_ideas = HOL_William_III
				add_ideas = PRS_Wilhelm_I
			}
		}
	}
}

#PRS - France Rejects Our Peace Offer
country_event = {
	id = lux_crisis.64
	title = lux_crisis.64.t
	desc = lux_crisis.64.d
	picture = GFX_report_event_generic_riot_uproar_unrest
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.64.a
		ai_chance = { base = 100 }
		custom_effect_tooltip = PRS_lux_crisis_continue_the_war_effect_tt
		add_political_power = -10
		add_stability = -0.01
		activate_mission = FRA_mission_luxembourg_crisis_continued
		hidden_effect = {
			add_named_threat = {
				threat = 1
				name = eoanb_threat_lux_crisis_war_continued
			}
			FRA = { activate_mission = FRA_mission_luxembourg_crisis_continued }
			FRA = { country_event = { days = 1 id = lux_crisis.65 } }
		}
	}
}

#FRA - The War Continues
country_event = {
	id = lux_crisis.65
	title = lux_crisis.65.t
	desc = lux_crisis.65.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.65.a
		ai_chance = { base = 100 }
		add_war_support = 0.1
		hidden_effect = {
			every_other_country = {
				limit = {
					has_country_flag = lux_crisis_london_conference_ratified_flag
					has_war_with = FRA
					NOT = { tag = PRS }
				}
				country_event = { days = 1 id = lux_crisis.39 }
			}
		}
	}
}

#HOL - Prussia Buys Luxembourg
country_event = {
	id = lux_crisis.66
	title = lux_crisis.66.t
	desc = lux_crisis.66.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.66.a
		ai_chance = { base = 100 }
		add_timed_idea = {
			idea = HOL_idea_luxembourg_compensation
			days = 730
		}
		add_political_power = -20
		add_stability = -0.02
		set_temp_variable = { eoanb_prestige_change = -2 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

### STALEMATE PEACE EVENTS ###

#FRA - Stalemate - Negotiate a Ceasefire
country_event = {
	id = lux_crisis.67
	title = lux_crisis.67.t
	desc = lux_crisis.67.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	immediate = {
		hidden_effect = {
			remove_mission = FRA_mission_luxembourg_crisis_continued
			FRA = { remove_mission = FRA_mission_luxembourg_crisis_continued }
		}
	}
	
	option = {
		name = lux_crisis.67.a
		ai_chance = { base = 100 }
		add_political_power = -50
		add_stability = -0.05
		add_war_support = -0.3
		set_temp_variable = { eoanb_prestige_change = -3 }
		eoanb_change_prestige_score = yes
		PRS = { country_event = { days = 1 id = lux_crisis.68 } }
	}
}

#PRS - Stalemate - France Asks for a Ceasefire
country_event = {
	id = lux_crisis.68
	title = lux_crisis.68.t
	desc = lux_crisis.68.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	#Sign it
	option = {
		name = lux_crisis.68.a
		ai_chance = { base = 100 }
		white_peace = FRA
		add_political_power = -50
		add_stability = -0.05
		add_war_support = -0.3
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
		FRA = { country_event = { id = lux_crisis.69 } }
		hidden_effect = {
			dismantle_faction = yes
			#clr_country_flag = PRS_luxembourg_crisis_offered_peace_flag
			#clr_country_flag = lux_crisis_london_conference_ratified_flag
			news_event = { days = 1 id = news.45 }
		}
	}
	
	#Refuse it
	option = {
		name = lux_crisis.68.b
		trigger = {
			casualties_inflicted_by = {
				opponent = FRA
				thousands < 75
			}
		}
		ai_chance = { base = 0 }
		add_political_power = -100
		add_stability = -0.1
		add_war_support = -0.1
		set_temp_variable = { eoanb_prestige_change = -2 }
		eoanb_change_prestige_score = yes
		FRA = { country_event = { id = lux_crisis.70 } }
		activate_mission = FRA_mission_luxembourg_crisis_continued
		hidden_effect = {
			add_named_threat = {
				threat = 2
				name = eoanb_threat_lux_crisis_war_continued
			}
			FRA = { activate_mission = FRA_mission_luxembourg_crisis_continued }
		}
	}
}

#FRA - Ceasefire Signed
country_event = {
	id = lux_crisis.69
	title = lux_crisis.69.t
	desc = lux_crisis.69.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.69.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				has_war_with = AUS
			}
			white_peace = AUS
		}
		if = {
			limit = {
				has_war_with = ENG
			}
			white_peace = ENG
		}
		if = {
			limit = {
				has_war_with = RUS
			}
			white_peace = RUS
		}
		if = {
			limit = {
				has_war_with = NSC
			}
			white_peace = NSC
		}
		if = {
			limit = {
				has_war_with = PAP
			}
			white_peace = PAP
		}
		if = {
			limit = {
				has_war_with = PIE
			}
			white_peace = PIE
		}
		if = {
			limit = {
				has_war_with = TUS
			}
			white_peace = TUS
		}
		add_stability = 0.01
		add_war_support = -0.05
		hidden_effect = {
			FRA = { country_event = { days = 3 id = lux_crisis.71 } }
			every_other_country = {
				limit = {
					has_country_flag = lux_crisis_london_conference_ratified_flag
				}
				country_event = { days = 3 id = lux_crisis.71 }
			}
			BAD = { country_event = { days = 3 id = lux_crisis.71 } }
			BAV = { country_event = { days = 3 id = lux_crisis.71 } }
			HSD = { country_event = { days = 3 id = lux_crisis.71 } }
			WUR = { country_event = { days = 3 id = lux_crisis.71 } }
			FRA = { country_event = { days = 7 id = lux_crisis.72 } }
		}
	}
}

#FRA - The War Continues
country_event = {
	id = lux_crisis.70
	title = lux_crisis.70.t
	desc = lux_crisis.70.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.70.a
		ai_chance = { base = 100 }
		decrease_ps_by_one = yes
		add_political_power = -20
		add_stability = -0.1
		add_war_support = 0.1
		hidden_effect = {
			every_other_country = {
				limit = {
					has_country_flag = lux_crisis_london_conference_ratified_flag
					has_war_with = FRA
					NOT = { tag = PRS }
				}
				country_event = { days = 1 id = lux_crisis.39 }
			}
		}
	}
}

#FRA/PRS/AUS/BEL/ENG/HOL/ITA/LUX/RUS + BAD/BAV/HSD/WUR - Peace Talks Commence
country_event = {
	id = lux_crisis.71
	title = lux_crisis.71.t
	desc = lux_crisis.71.d
	picture = GFX_report_event_luxembourg_painting
	
	is_triggered_only = yes
	
	timeout_days = 3
	
	option = {
		name = lux_crisis.71.a
		ai_chance = { base = 100 }
		add_stability = 0.02
		if = {
			limit = {
				has_war_support > 0.7
			}
			add_war_support = -0.25
		}
		else = {
			add_war_support = -0.2
		}
	}
}

#FRA - The Peace of Luxembourg of 1867/68
country_event = {
	id = lux_crisis.72
	title = lux_crisis.72.t
	desc = lux_crisis.72.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.72.a
		ai_chance = { base = 100 }
		give_guarantee = LUX
		add_political_power = 10
		add_stability = 0.01
		add_war_support = -0.05
		set_temp_variable = { eoanb_prestige_change = -5 }
		eoanb_change_prestige_score = yes
		hidden_effect = {
			news_event = { days = 3 id = news.46 }
			HOL = { country_event = { id = lux_crisis.73 } }
			LUX = { country_event = { id = lux_crisis.74 } }
			PRS = { country_event = { id = lux_crisis.75 } }
			AUS = { country_event = { id = lux_crisis.76 } }
			BEL = { country_event = { id = lux_crisis.76 } }
			ENG = { country_event = { id = lux_crisis.76 } }
			RUS = { country_event = { id = lux_crisis.76 } }
			if = {
				limit = {
					NSC = {
						has_country_flag = is_literally_italy
					}
				}
				NSC = { country_event = { id = lux_crisis.76 } }
			}
			if = {
				limit = {
					PAP = {
						has_country_flag = is_literally_italy
					}
				}
				PAP = { country_event = { id = lux_crisis.76 } }
			}
			if = {
				limit = {
					PIE = {
						has_country_flag = is_literally_italy
					}
				}
				PIE = { country_event = { id = lux_crisis.76 } }
			}
			if = {
				limit = {
					TUS = {
						has_country_flag = is_literally_italy
					}
				}
				TUS = { country_event = { id = lux_crisis.76 } }
			}
			BAD = { country_event = { id = lux_crisis.76 } }
			BAV = { country_event = { id = lux_crisis.76 } }
			HSD = { country_event = { id = lux_crisis.76 } }
			WUR = { country_event = { id = lux_crisis.76 } }
			clr_country_flag = lux_crisis_london_conference_not_ratified_flag
			clr_country_flag = FRA_luxembourg_crisis_offered_peace_flag
		}
	}
}

#HOL - The Peace of Luxembourg of 1867/68
country_event = {
	id = lux_crisis.73
	title = lux_crisis.73.t
	desc = lux_crisis.73.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.73.a
		ai_chance = { base = 100 }
		add_political_power = -25
		add_stability = 0.01
		set_temp_variable = { eoanb_prestige_change = -3 }
		eoanb_change_prestige_score = yes
		add_manpower = 500
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 10
			producer = HOL
		}
		add_equipment_to_stockpile = {
			type = uniform_equipment
			amount = 10
			producer = HOL
		}
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#LUX - The Peace of Luxembourg of 1867/68
country_event = {
	id = lux_crisis.74
	title = lux_crisis.74.t
	desc = lux_crisis.74.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.74.a
		ai_chance = { base = 100 }
		add_political_power = 50
		add_stability = 0.05
		delete_unit_template_and_units = {
			division_template = "Fortress Garrison"
			disband = no
		}
		8 = {
			set_building_level = {
				type = bunker	#demolition cost 1.5m gold francs
				level = 0
				province = 6583
			}
		}
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

#PRS - The Peace of Luxembourg of 1867/68
country_event = {
	id = lux_crisis.75
	title = lux_crisis.75.t
	desc = lux_crisis.75.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.75.a
		ai_chance = { base = 100 }
		give_guarantee = LUX
		add_political_power = 25
		add_stability = 0.03
		add_war_support = -0.05
		set_temp_variable = { eoanb_prestige_change = 3 }
		eoanb_change_prestige_score = yes
		add_manpower = 1500
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 50
			producer = PRS
		}
		add_equipment_to_stockpile = {
			type = uniform_equipment
			amount = 50
			producer = PRS
		}
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
			clr_country_flag = PRS_luxembourg_crisis_offered_peace_flag
		}
	}
}

#AUS/BEL/ENG/HOL/ITA/LUX/RUS + BAD/BAV/HSD/WUR - The Peace of Luxembourg of 1867/68
country_event = {
	id = lux_crisis.76
	title = lux_crisis.76.t
	desc = lux_crisis.76.d
	picture = GFX_report_event_luxembourg_painting
	
	is_triggered_only = yes
	
	timeout_days = 7
	
	option = {
		name = lux_crisis.76.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				tag = ENG
			}
			give_guarantee = LUX
		}
		add_political_power = 25
		add_stability = 0.03
		add_war_support = -0.05
		hidden_effect = {
			clr_country_flag = lux_crisis_london_conference_ratified_flag
		}
	}
}

###Diplomatic developments

#FRA - Growing closer to Austria and Italy (historical)
country_event = {
	id = lux_crisis.81
	title = lux_crisis.81.t
	desc = lux_crisis.81.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.81.a
		ai_chance = { base = 100 }
		add_political_power = 20
		add_war_support = 0.02
		AUS = { country_event = { days = 1 id = lux_crisis.82 } }
		add_opinion_modifier = { target = AUS modifier = improved_relations }
		if = {
			limit = {
				NSC = {
					has_country_flag = is_literally_italy
				}
			}
			NSC = { country_event = { days = 1 id = lux_crisis.82 } }
			add_opinion_modifier = { target = NSC modifier = improved_relations }
		}
		if = {
			limit = {
				PAP = {
					has_country_flag = is_literally_italy
				}
			}
			PAP = { country_event = { days = 1 id = lux_crisis.82 } }
			add_opinion_modifier = { target = PAP modifier = improved_relations }
		}
		if = {
			limit = {
				PIE = {
					has_country_flag = is_literally_italy
				}
			}
			PIE = { country_event = { days = 1 id = lux_crisis.82 } }
			add_opinion_modifier = { target = PIE modifier = improved_relations }
		}
		if = {
			limit = {
				TUS = {
					has_country_flag = is_literally_italy
				}
			}
			TUS = { country_event = { days = 1 id = lux_crisis.82 } }
			add_opinion_modifier = { target = TUS modifier = improved_relations }
		}
		hidden_effect = {
			FRA = { country_event = { days = 90 id = lux_crisis.83 } }
		}
	}
}

#AUS/ITA - Growing closer to France (historical)
country_event = {
	id = lux_crisis.82
	title = lux_crisis.82.t
	desc = lux_crisis.82.d
	picture = GFX_report_event_luxembourg_painting
	
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.82.a
		ai_chance = { base = 100 }
		add_war_support = 0.02
		add_opinion_modifier = { target = FRA modifier = improved_relations }
	}
}

#FRA - Possibility for an alliance? (historical)
country_event = {
	id = lux_crisis.83
	title = lux_crisis.83.t
	desc = lux_crisis.83.d
	picture = GFX_report_event_luxembourg_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
	#Yes, try to form an alliance.
	option = {
		name = lux_crisis.83.a
		ai_chance = { base = 75 }
		AUS = { country_event = { days = 5 random_days = 5 id = lux_crisis.84 } }
		if = {
			limit = {
				NSC = {
					has_country_flag = is_literally_italy
				}
			}
			NSC = { country_event = { days = 5 random_days = 5 id = lux_crisis.84 } }
		}
		if = {
			limit = {
				PAP = {
					has_country_flag = is_literally_italy
				}
			}
			PAP = { country_event = { days = 5 random_days = 5 id = lux_crisis.84 } }
		}
		if = {
			limit = {
				PIE = {
					has_country_flag = is_literally_italy
				}
			}
			PIE = { country_event = { days = 5 random_days = 5 id = lux_crisis.84 } }
		}
		if = {
			limit = {
				TUS = {
					has_country_flag = is_literally_italy
				}
			}
			TUS = { country_event = { days = 5 random_days = 5 id = lux_crisis.84 } }
		}
		custom_effect_tooltip = historical_option
	}

	#No, it's not worth the effort.
	option = {
		name = lux_crisis.83.b
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_political_power = -10
		add_war_support = -0.01
	}
}

#AUS/ITA - Possibility for an alliance with France? (historical)
country_event = {
	id = lux_crisis.84
	title = lux_crisis.84.t
	desc = lux_crisis.84.d
	picture = GFX_report_event_luxembourg_painting
	
	is_triggered_only = yes
	
	#Yes, that could be possible.
	option = {
		name = lux_crisis.84.a
		ai_chance = { base = 75 }
		add_war_support = 0.01
		FRA = { country_event = { days = 5 random_days = 5 id = lux_crisis.85 } }
		custom_effect_tooltip = historical_option
		hidden_effect = {
			set_country_flag = eoanb_possible_alliance_with_france_flag
		}
	}

	#No, it's not worth the effort.
	option = {
		name = lux_crisis.84.b
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		add_war_support = -0.01
		FRA = { country_event = { days = 5 random_days = 5 id = lux_crisis.86 } }
	}
}

#FRA - AUS/ITA Agrees to Diplomatic Talks
country_event = {
	id = lux_crisis.85
	title = lux_crisis.85.t
	desc = lux_crisis.85.d
	picture = GFX_report_event_luxembourg_painting
	
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.85.a
		ai_chance = { base = 100 }
		if = {
			limit = {
				FROM = {
					tag = AUS
				}
			}
			#unlock_decision_tooltip = 
		}
		else_if = {
			limit = {
				FROM = {
					NOT = { tag = AUS }
				}
			}
			#unlock_decision_tooltip = 
		}
	}
}

#FRA - AUS/ITA not Interested in Diplomatic Talks
country_event = {
	id = lux_crisis.86
	title = lux_crisis.86.t
	desc = lux_crisis.86.d
	picture = GFX_report_event_luxembourg_painting
	
	is_triggered_only = yes
	
	option = {
		name = lux_crisis.86.a
		ai_chance = { base = 100 }
		add_political_power = -10
		add_war_support = -0.01
		set_temp_variable = { eoanb_prestige_change = -1 }
		eoanb_change_prestige_score = yes
	}
}
