GER_decision_category_economy = {
	
	#Gründerkrise - Panic of 1873
	GER_mission_panic_of_1873 = {
		
		icon = money

		allowed = { always = no }

		available = {
			has_completed_focus = GER_focus_historical_dealing_with_the_crisis
			OR = {
				has_completed_focus = GER_focus_historical_impose_restrictive_tariffs
				has_completed_focus = GER_focus_historical_impose_moderate_tariffs
				has_completed_focus = GER_focus_historical_impose_limited_tariffs
			}
			NOT = {
				OR = {
					has_idea = eoanb_idea_panic_of_1873_substantial
					has_idea = eoanb_idea_panic_of_1873_severe
					has_idea = eoanb_idea_panic_of_1873_dramatic
				}
			}
		}

		activation = { always = no }

		priority = 99

		fire_only_once = no

		is_good = no

		days_mission_timeout = 1800

		timeout_effect = {
			decrease_ps_by_one = yes
			add_political_power = -50
			add_stability = -0.05
			activate_mission_tooltip = GER_mission_panic_of_1873
			hidden_effect = {
				activate_mission = GER_mission_panic_of_1873
			}
		}

		complete_effect = {
			country_event = { id = eighteenseventhreecrisis.24 }
			hidden_effect = {
				country_event = { id = eighteenseventhreecrisis.25 days = 180 }
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}

GER_decision_category_economy = {

	#Introduce the Goldmark
	GER_decision_introduce_the_goldmark = {

		icon = money

		available = {
			has_completed_focus = GER_focus_historical_the_goldmark
			has_idea = GER_idea_gold_standard_1
			has_war = no
		}

		visible = {
			has_completed_focus = GER_focus_historical_gold_standard
		}

		fire_only_once = yes

		cost = 50

		days_remove = 120

		remove_effect = {
			swap_ideas = {
				remove_idea = GER_idea_gold_standard_1
				add_idea = GER_idea_gold_standard_2
			}
		}

		ai_will_do = {
			base = 250
		}
	}

	#Build up Gold Reserves (needs to be completed at least three times)
	GER_decision_build_up_gold_reserves = {

		icon = gold

		available = {
			has_completed_focus = GER_focus_historical_create_a_flexible_reserve_banking_system
		}

		visible = {
			has_completed_focus = GER_focus_historical_gold_standard
			NOT = { has_completed_focus = GER_focus_historical_establish_the_reichsbank }
			check_variable = {
				var = GER_precious_metal_reserves
				value = 3
				compare = less_than
			}
		}

		fire_only_once = no

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_political_power > 49.9
		}
		custom_cost_text = eoanb_money_and_political_power_50

		days_remove = 365

		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			add_political_power = -50
		}

		remove_effect = {
			add_stability = 0.02
			custom_effect_tooltip = GER_decision_build_up_precious_metals_reserves_effect_tt
			hidden_effect = {
				add_to_variable = {
					var = GER_precious_metal_reserves
					value = 1
				}
			}
		}

		ai_will_do = {
			base = 250
		}
	}

	#Introduce Goldmark and Silberthaler
	GER_decision_introduce_goldmark_and_silberthaler = {

		icon = money

		available = {
			has_completed_focus = GER_focus_historical_goldmark_and_silberthaler
			has_idea = GER_idea_bimetallism_1
			has_war = no
		}

		visible = {
			has_completed_focus = GER_focus_historical_bimetallism
		}

		fire_only_once = yes

		cost = 50

		days_remove = 120

		remove_effect = {
			swap_ideas = {
				remove_idea = GER_idea_bimetallism_1
				add_idea = GER_idea_bimetallism_2
			}
		}

		ai_will_do = {
			base = 250
		}
	}

	#Build up Gold and Silver Reserves (needs to be completed at least three times)
	GER_decision_build_up_gold_and_silver_reserves = {

		icon = gold

		available = {
			has_completed_focus = GER_focus_historical_create_a_flexible_reserve_banking_system
		}

		visible = {
			has_completed_focus = GER_focus_historical_bimetallism
			NOT = { has_completed_focus = GER_focus_historical_establish_the_reichsbank }
			check_variable = {
				var = GER_precious_metal_reserves
				value = 3
				compare = less_than
			}
		}

		fire_only_once = no

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_political_power > 49.9
		}
		custom_cost_text = eoanb_money_and_political_power_50

		days_remove = 365

		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			add_political_power = -50
		}
		
		remove_effect = {
			add_stability = 0.02
			custom_effect_tooltip = GER_decision_build_up_precious_metals_reserves_effect_tt
			hidden_effect = {
				add_to_variable = {
					var = GER_precious_metal_reserves
					value = 1
				}
			}
		}

		ai_will_do = {
			base = 250
		}
	}

	#Introduce the Silbermark
	GER_decision_introduce_the_silbermark = {

		icon = money

		available = {
			has_completed_focus = GER_focus_historical_the_silbermark
			has_idea = GER_idea_silver_standard_1
			has_war = no
		}

		visible = {
			has_completed_focus = GER_focus_historical_silver_standard
		}

		fire_only_once = yes

		cost = 50

		days_remove = 120

		remove_effect = {
			swap_ideas = {
				remove_idea = GER_idea_silver_standard_1
				add_idea = GER_idea_silver_standard_2
			}
		}

		ai_will_do = {
			base = 250
		}
	}

	#Build up Silver Reserves (needs to be completed at least three times)
	GER_decision_build_up_silver_reserves = {

		icon = silver

		available = {
			has_completed_focus = GER_focus_historical_create_a_flexible_reserve_banking_system
		}

		visible = {
			has_completed_focus = GER_focus_historical_silver_standard
			NOT = { has_completed_focus = GER_focus_historical_establish_the_reichsbank }
			check_variable = {
				var = GER_precious_metal_reserves
				value = 3
				compare = less_than
			}
		}

		fire_only_once = no

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_political_power > 49.9
		}
		custom_cost_text = eoanb_money_and_political_power_50

		days_remove = 365

		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			add_political_power = -50
		}

		remove_effect = {
			add_stability = 0.02
			custom_effect_tooltip = GER_decision_build_up_precious_metals_reserves_effect_tt
			hidden_effect = {
				add_to_variable = {
					var = GER_precious_metal_reserves
					value = 1
				}
			}
		}

		ai_will_do = {
			base = 250
		}
	}

	#Establish the Reichsbank
	GER_decision_establish_the_reichsbank = {

		icon = gre_investment_decisions

		available = {
			has_completed_focus = GER_focus_historical_establish_the_reichsbank
		}

		visible = {
			has_completed_focus = GER_focus_historical_prosperity_for_all
		}

		fire_only_once = yes

		cost = 100

		days_remove = 180

		modifier = {
			political_power_gain = -0.05
		}

		remove_effect = {
			add_stability = 0.05
			remove_ideas = GER_idea_currency_confusion
			add_tech_bonus = { bonus = 0.5 uses = 1 category = economics_tech }
		}

		ai_will_do = {
			base = 250
		}
	}

	#Support the Deutsche Bank
	GER_decision_support_the_deutsche_bank = {

		icon = hol_attract_foreign_investors

		available = {
			has_completed_focus = GER_focus_historical_support_the_deutsche_bank
		}

		visible = {
			has_completed_focus = GER_focus_historical_prosperity_for_all
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 10
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_political_power > 49.9
		}
		custom_cost_text = eoanb_money_and_political_power_50

		days_remove = 365

		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -10 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			add_political_power = -50
		}

		remove_effect = {
			add_ideas = GER_idea_deutsche_bank
			add_tech_bonus = { bonus = 0.5 uses = 1 category = economics_tech }
			set_temp_variable = {
				eoanb_prestige_change = 3
			}
			eoanb_change_prestige_score = yes
		}

		ai_will_do = {
			base = 250
		}
	}

	#Establish the Metric System
	GER_decision_establish_the_metric_system = {

		icon = SWI_isolate_switzerland

		available = {
			has_completed_focus = GER_focus_historical_economic_policy
		}

		visible = {
			has_completed_focus = GER_focus_historical_prosperity_for_all
		}

		fire_only_once = yes

		cost = 50

		days_remove = 180

		modifier = {
			political_power_gain = -0.05
		}

		remove_effect = {
			add_tech_bonus = { bonus = 0.5 uses = 1 category = mechanical_engineering_tech }
			add_tech_bonus = { bonus = 0.5 uses = 1 category = process_engineering_tech }
			add_tech_bonus = { bonus = 0.5 uses = 1 category = biochemistry_tech }
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
		}

		ai_will_do = {
			base = 250
		}
	}

	#Support the German Mining Industry
	GER_decision_support_the_german_mining_industry = {

		icon = coal

		available = {
			has_completed_focus = GER_focus_historical_support_the_german_mining_industry
			has_tech = mining_rig_2
		}

		visible = {
			has_completed_focus = GER_focus_historical_prosperity_for_all
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_political_power > 49.9
		}
		custom_cost_text = eoanb_money_and_political_power_50

		days_remove = 180

		modifier = {
			political_power_gain = -0.05
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			add_political_power = -50
		}

		remove_effect = {
			add_ideas = GER_idea_support_german_mining_industry
			EOANBSYS_institutions_innovative_add_one = yes
		}

		ai_will_do = {
			base = 250
		}
	}

	#Support the Foundation of Stock Companies
	GER_decision_support_the_foundation_of_stock_companies = {

		icon = gre_paying_ifc_debt

		available = {
			has_completed_focus = GER_focus_historical_support_foundation_of_stock_companies
		}

		visible = {
			has_completed_focus = GER_focus_historical_prosperity_for_all
		}

		fire_only_once = yes

		cost = 50

		days_remove = 365

		modifier = {
			political_power_gain = -0.25
		}

		remove_effect = {
			if = {
				limit = {
					has_idea = PRS_Berlin_Stock_Exchange_1
				}
				swap_ideas = {
					remove_idea = PRS_Berlin_Stock_Exchange_1
					add_idea = GER_idea_growing_stock_exchange_trading_1
				}
			}
			else_if = {
				limit = {
					has_idea = PRS_Berlin_Stock_Exchange_2
				}
				swap_ideas = {
					remove_idea = PRS_Berlin_Stock_Exchange_2
					add_idea = GER_idea_growing_stock_exchange_trading_2
				}
			}
			else = {
				add_stability = 0.05
			}
		}

		ai_will_do = {
			base = 250
		}
	}
}

GER_decision_category_unite_liberal_republic = {
	
	#Unite Germany (Liberal Republic)
	GER_decision_unite_liberal_republic = {

		icon = generic_form_nation

		allowed = { tag = PRS }
		
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_decision_unite_liberal_republic_trigger_tt
				hidden_trigger = {
					PRS_owns_all_ger_unify_state = yes
				}
			}
			schleswig_holstein_question_resolved = yes
			OR = {
				has_country_flag = eoanb_flag_won_7_weeks_war
				has_country_flag = eoanb_flag_tied_7_weeks_war
			}
			OR = {
				has_country_flag = eoanb_flag_won_luxembourg_crisis
				has_country_flag = eoanb_flag_won_fra_prs_war
				AND = {
					has_global_flag = eoanb_flag_franco_prussian_war_ongoing
					controls_state = 1329
				}
				has_country_flag = eoanb_flag_stalemate_fra_prs_war
			}
			has_completed_focus = PRS_focus_unlock_germany
			#OR = {
			#	has_completed_focus = PRS_focus_british_example			#replace by alt-history republican path
			#	has_completed_focus = PRS_focus_prussian_way
			#}
		}

		visible = {
			has_completed_focus = PRS_focus_king_deposed
		}

		fire_only_once = yes

		cost = 150

		complete_effect = {
			custom_effect_tooltip = GER_decision_unite_liberal_republic_effect_tt
			add_ideas = GER_idea_army_organization_troubles
			hidden_effect = {
				set_cosmetic_tag = PRS_GER_liberal_republic
				news_event = news.11
				PRS = {
					remove_ideas = GC_idea_schutz_und_trutz
					remove_ideas = PRS_idea_ngc_industry_3
					remove_ideas = PRS_idea_ngc_judiciary_3
					remove_ideas = PRS_german_national_movement_2
					remove_ideas = PRS_trade_and_economic_law_4
				}
			}
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

GER_decision_category_unite_liberal_monarchy = {
	
	#Unite Germany (Liberal Monarchy)
	GER_decision_unite_liberal_monarchy = {

		icon = generic_form_nation
		
		allowed = { tag = PRS }

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_decision_unite_liberal_monarchy_trigger_tt
				hidden_trigger = {
					PRS_owns_all_ger_unify_state = yes
				}
			}
			schleswig_holstein_question_resolved = yes
			OR = {
				has_country_flag = eoanb_flag_won_7_weeks_war
				has_country_flag = eoanb_flag_tied_7_weeks_war
			}
			OR = {
				has_country_flag = eoanb_flag_won_luxembourg_crisis
				has_country_flag = eoanb_flag_won_fra_prs_war
				AND = {
					has_global_flag = eoanb_flag_franco_prussian_war_ongoing
					controls_state = 1329
				}
				has_country_flag = eoanb_flag_stalemate_fra_prs_war
			}
			has_completed_focus = PRS_focus_unlock_germany
			OR = {
				has_completed_focus = PRS_focus_british_example
				has_completed_focus = PRS_focus_prussian_way
			}
		}

		visible = {
			has_completed_focus = PRS_focus_embrace_liberal_monarchy
		}

		fire_only_once = yes

		cost = 150

		complete_effect = {
			custom_effect_tooltip = GER_decision_unite_liberal_monarchy_effect_tt
			add_ideas = GER_idea_army_organization_troubles
			hidden_effect = {
				#set_cosmetic_tag = PRS_GER_liberal_monarchy #Switch once the tree is ready
				set_cosmetic_tag = PRS_GER_bismarck
				news_event = news.11
				PRS = {
					remove_ideas = GC_idea_schutz_und_trutz
					remove_ideas = PRS_idea_ngc_industry_3
					remove_ideas = PRS_idea_ngc_judiciary_3
					remove_ideas = PRS_german_national_movement_2
					remove_ideas = PRS_trade_and_economic_law_4
				}
			}
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

GER_decision_category_unite_germany_bismarck = {
	
	#Propose Accession to the North German Confederation to Baden
	GER_decision_propose_accession_to_ngc_bad = {

		icon = envelope_bad
		
		#allowed = { tag = PRS }

		available = {
			controls_state = 28
		}

		visible = {
			OR = {
				has_completed_focus = PRS_focus_unlock_germany
				has_global_flag = eoanb_flag_franco_prussian_war_ongoing
			}
			country_exists = BAD
			if = {
				limit = {
					has_global_flag = eoanb_flag_franco_prussian_war_ongoing
				}
				BAD = {
					has_war_with = FRA
					has_war_together_with = PRS
				}
			}
		}

		fire_only_once = yes

		cost = 25

		complete_effect = {
			BAD = { country_event = { id = fraprswar.302 days = 1 } }
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Propose Accession to the North German Confederation to Bavaria
	GER_decision_propose_accession_to_ngc_bav = {

		icon = envelope_bav
		
		#allowed = { tag = PRS }

		available = {
			controls_state = 28
		}

		visible = {
			OR = {
				has_completed_focus = PRS_focus_unlock_germany
				has_global_flag = eoanb_flag_franco_prussian_war_ongoing
			}
			country_exists = BAV
			if = {
				limit = {
					has_global_flag = eoanb_flag_franco_prussian_war_ongoing
				}
				BAV = {
					has_war_with = FRA
					has_war_together_with = PRS
				}
			}
		}

		fire_only_once = yes

		cost = 25

		complete_effect = {
			BAV = { country_event = { id = fraprswar.302 days = 1 } }
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Propose Accession to the North German Confederation to Hesse-Darmstadt
	GER_decision_propose_accession_to_ngc_hsd = {

		icon = envelope_hsd
		
		#allowed = { tag = PRS }

		available = {
			controls_state = 28
		}

		visible = {
			OR = {
				has_completed_focus = PRS_focus_unlock_germany
				has_global_flag = eoanb_flag_franco_prussian_war_ongoing
			}
			country_exists = HSD
			if = {
				limit = {
					has_global_flag = eoanb_flag_franco_prussian_war_ongoing
				}
				HSD = {
					has_war_with = FRA
					has_war_together_with = PRS
				}
			}
		}

		fire_only_once = yes

		cost = 25

		complete_effect = {
			HSD = { country_event = { id = fraprswar.302 days = 1 } }
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Propose Accession to the North German Confederation to Wurttemberg
	GER_decision_propose_accession_to_ngc_wur = {

		icon = envelope_wur
		
		#allowed = { tag = PRS }

		available = {
			controls_state = 28
		}

		visible = {
			OR = {
				has_completed_focus = PRS_focus_unlock_germany
				has_global_flag = eoanb_flag_franco_prussian_war_ongoing
			}
			country_exists = WUR
			if = {
				limit = {
					has_global_flag = eoanb_flag_franco_prussian_war_ongoing
				}
				WUR = {
					has_war_with = FRA
					has_war_together_with = PRS
				}
			}
		}

		fire_only_once = yes

		cost = 25

		complete_effect = {
			WUR = { country_event = { id = fraprswar.302 days = 1 } }
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Bribe King Ludwig
	GER_decision_bribe_king_ludwig = {

		icon = envelope_bav
		
		#allowed = { tag = PRS }

		available = {
			controls_state = 28
		}

		visible = {
			country_exists = BAV
			if = {
				limit = {
					has_global_flag = eoanb_flag_franco_prussian_war_ongoing
				}
				BAV = {
					has_war_with = FRA
					has_war_together_with = PRS
				}
			}
			BAV = {
				has_country_leader = {
					character = BAV_ludwig_ii
					ruling_only = no
				}
			}
			has_country_flag = PRS_bavarian_refusal_to_join_ngc_flag
		}

		fire_only_once = yes

		cost = 10

		complete_effect = {
			BAV = { country_event = { id = fraprswar.305 days = 3 } }
			hidden_effect = {
				clr_country_flag = PRS_bavarian_refusal_to_join_ngc_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Prepare the Kaiserbrief
	GER_decision_prepare_kaiserbrief = {

		icon = envelope
		
		#allowed = { tag = PRS }

		available = {
			owns_state = 50
			owns_state = 744
			owns_state = 870
		}

		visible = {
			country_exists = BAV
			BAV = {
				has_country_leader = {
					character = BAV_ludwig_ii
					ruling_only = no
				}
			}
			has_country_flag = PRS_bavaria_accepts_bribe_flag
		}

		fire_only_once = yes

		cost = 10

		days_remove = 14

		remove_effect = {
			country_event = { id = fraprswar.308 days = 1 }
			hidden_effect = {
				clr_country_flag = PRS_bavaria_accepts_bribe_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Proclaim the German Empire (Bismarck)
	GER_decision_unite_germany_bismarck = {

		icon = generic_form_nation
		
		allowed = { tag = PRS }

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_decision_unite_germany_bismarck_trigger_tt
				hidden_trigger = {
					PRS_owns_all_ger_unify_state = yes
				}
			}
			schleswig_holstein_question_resolved = yes
			OR = {
				has_country_flag = eoanb_flag_won_7_weeks_war
				has_country_flag = eoanb_flag_tied_7_weeks_war
			}
			OR = {
				has_country_flag = eoanb_flag_won_luxembourg_crisis
				has_country_flag = eoanb_flag_won_fra_prs_war
				AND = {
					has_global_flag = eoanb_flag_franco_prussian_war_ongoing
					controls_state = 1329
				}
				has_country_flag = eoanb_flag_stalemate_fra_prs_war
			}
			has_completed_focus = PRS_focus_unlock_germany
			has_completed_focus = PRS_focus_austria_no_zollverein
			has_completed_focus = PRS_focus_convenient_alliance
		}

		visible = {
			OR = {
				has_completed_focus = PRS_focus_contest_austria
				has_global_flag = eoanb_flag_franco_prussian_war_ongoing
			}
		}

		fire_only_once = yes

		cost = 150

		complete_effect = {
			custom_effect_tooltip = GER_decision_unite_germany_bismarck_effect_tt
			country_event = { id = fraprswar.400 days = 1 }
		}

		ai_will_do = {
			base = 1000
		}
	}
}

#GER_decision_category_unite_socialist = {
#	
#	#Unite Germany (Socialist)
#	GER_decision_unite_socialist = {
#
#		icon = generic_form_nation
#
#		allowed = { tag = PRS }
#
#		available = {
#			custom_trigger_tooltip = {
#				tooltip = GER_decision_unite_socialist_trigger_tt		
#				hidden_trigger = {
#					PRS_owns_all_ger_unify_state_socialist = yes
#				}
#			}
#			schleswig_holstein_question_resolved = yes
#			OR = {
#				has_country_flag = eoanb_flag_won_7_weeks_war
#				has_country_flag = eoanb_flag_tied_7_weeks_war
#			}
#			has_completed_focus = PRS_focus_unlock_germany
#			OR = {
#				has_completed_focus = PRS_focus_adav
#				has_completed_focus = PRS_focus_vdav
#			}
#		}
#
#		visible = {
#			has_completed_focus = PRS_focus_socialist_germany
#		}
#
#		fire_only_once = yes
#
#		cost = 300
#
#		complete_effect = {
#			custom_effect_tooltip = GER_decision_unite_socialist_effect_tt
#			add_ideas = GER_idea_army_organization_troubles
#			hidden_effect = {
#				set_cosmetic_tag = PRS_GER_socialist
#				news_event = news.11
#				PRS = {
#					remove_ideas = GC_idea_schutz_und_trutz
#					remove_ideas = PRS_idea_ngc_industry_3
#					remove_ideas = PRS_idea_ngc_judiciary_3
#					remove_ideas = PRS_german_national_movement_2
#					remove_ideas = PRS_trade_and_economic_law_4
#				}
#				#remove_ideas = GEC_idea_zollverein_3
#			}
#		}
#
#		ai_will_do = {
#			base = 1000
#			modifier = {
#				factor = 0
#				is_historical_focus_on = yes
#			}
#		}
#	}
#	
#}

political_actions = {

	#Choose Prussia for 7WW
	eoanb_decision_sww_side_with_prussia = {

		icon = generic_political_discourse
		
		available = {
			date > 1865.1.1
		}

		visible = {
			NOT = {
				OR = {
					has_country_flag = eoanb_flag_sww_side_prs
					has_country_flag = eoanb_flag_sww_side_aus
					has_country_flag = eoanb_flag_sww_side_mid
					has_country_flag = eoanb_flag_sww_side_neutral
				}
			}
		}
		
		allowed = {
			OR = {
				TAG = HSD
				TAG = FRK
				TAG = NAS
			}
		}

		fire_only_once = yes

		cost = 0

		complete_effect = {
			custom_effect_tooltip = eoanb_customeffect_sww_side_prs
			
			hidden_effect = {
				set_country_flag = eoanb_flag_sww_side_prs
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				OR = {
					AND = {
						is_historical_focus_on = yes
						OR = {
							TAG = HSD
							TAG = FRK
							TAG = NAS
						}
					}
				}
			}
		}
	}
	
	#Choose Austria for 7WW
	eoanb_decision_sww_side_with_austria = {

		icon = generic_political_discourse
		
		available = {
			date > 1865.1.1
		}

		visible = {
			NOT = {
				OR = {
					has_country_flag = eoanb_flag_sww_side_prs
					has_country_flag = eoanb_flag_sww_side_aus
					has_country_flag = eoanb_flag_sww_side_mid
					has_country_flag = eoanb_flag_sww_side_neutral
				}
			}
		}
		
		allowed = {
			OR = {
				TAG = HSD
				TAG = FRK
				TAG = NAS
			}
		}

		fire_only_once = yes

		cost = 0

		complete_effect = {
			custom_effect_tooltip = eoanb_customeffect_sww_side_aus
			
			hidden_effect = {
				set_country_flag = eoanb_flag_sww_side_aus
			}
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 10
				OR = {
					AND = {
						is_historical_focus_on = yes
						OR = {
							TAG = HSD
							TAG = FRK
							TAG = NAS
						}
					}
				}
			}
		}
	}
	
	#Choose Middle States for 7WW
#	eoanb_decision_sww_side_with_middle = {
#
#		icon = generic_political_discourse
#		
#		available = {
#			date > 1865.1.1
#		}
#
#		visible = {
#			NOT = {
#				OR = {
#					has_country_flag = eoanb_flag_sww_side_prs
#					has_country_flag = eoanb_flag_sww_side_aus
#					has_country_flag = eoanb_flag_sww_side_mid
#					has_country_flag = eoanb_flag_sww_side_neutral
#				}
#			}
#		}
#		
#		allowed = {
#			OR = {
#				TAG = MCK
#				TAG = LCK
#				TAG = OLD
#				TAG = BRE
#				TAG = BAD
#				TAG = HSD
#				TAG = FRK
#				TAG = NAS
#				TAG = HAN
#				TAG = HLS
#				TAG = THU
#				TAG = HES
#			}
#		}
#
#		fire_only_once = yes
#
#		cost = 0
#
#		complete_effect = {
#			custom_effect_tooltip = eoanb_customeffect_sww_side_mid
#			
#			hidden_effect = {
#				set_country_flag = eoanb_flag_sww_side_mid
#			}
#		}
#
#		ai_will_do = {
#			base = 80
#			modifier = {
#				factor = 0
#				is_historical_focus_on = yes
#			}
#		}
#	}
	
	#Choose to stay neutral for 7WW
#	eoanb_decision_sww_side_neutral = {
#
#		icon = generic_political_discourse
#		
#		available = {
#			date > 1865.1.1
#		}
#
#		visible = {
#			NOT = {
#				OR = {
#					has_country_flag = eoanb_flag_sww_side_prs
#					has_country_flag = eoanb_flag_sww_side_aus
#					has_country_flag = eoanb_flag_sww_side_mid
#					has_country_flag = eoanb_flag_sww_side_neutral
#				}
#			}
#		}
#		
#		allowed = {
#			OR = {
#				TAG = MCK
#				TAG = LCK
#				TAG = OLD
#				TAG = BRE
#				TAG = BAD
#				TAG = HSD
#				TAG = FRK
#				TAG = NAS
#				TAG = HAN
#				TAG = HLS
#				TAG = THU
#				TAG = HES
#			}
#		}
#
#		fire_only_once = yes
#
#		cost = 0
#
#		complete_effect = {
#			custom_effect_tooltip = eoanb_customeffect_sww_side_neutral
#			
#			hidden_effect = {
#				set_country_flag = eoanb_flag_sww_side_neutral
#			}
#		}
#
#		ai_will_do = {
#			base = 1
#			modifier = {
#				factor = 80
#				OR = {
#					AND = {
#						is_historical_focus_on = yes
#						OR = {
#							TAG = SAX
#							TAG = THU
#							TAG = HES
#						}
#					}
#					is_historical_focus_on = no
#				}
#			}
#		}
#	}

	#Core Land that is not German after unification
	eoanb_decision_GER_core_united_reich = {
		
		icon = generic_decision
		
		available = {
			custom_trigger_tooltip = {
				tooltip = eoanb_tt_trigger_core_united_reich		
				hidden_trigger = {
					PRS = {
						owns_state = 42
						owns_state = 581
						owns_state = 870
						owns_state = 54
						owns_state = 53
						owns_state = 52
						owns_state = 50
						owns_state = 744
						owns_state = 28
					}
				}
			}
		}
		
		visible = {
			OR = {
				has_cosmetic_tag = PRS_GER_liberal_republic
				has_cosmetic_tag = PRS_GER_liberal_monarchy
				has_cosmetic_tag = PRS_GER_bismarck
				has_cosmetic_tag = PRS_GER_bismarck_imperial
				has_cosmetic_tag = PRS_GER_bismarck_standard
				has_cosmetic_tag = PRS_GER_bismarck_national
				has_cosmetic_tag = PRS_GER_bismarck_hre
			}
		}
		
		allowed = { tag = PRS }
		
		fire_only_once = yes
		
		cost = 250
		
		complete_effect = {
			custom_effect_tooltip = eoanb_tt_decision_core_united_reich
			custom_effect_tooltip = eoanb_tt_decision_remove_southern_cores
			hidden_effect = {
				PRS = {
					add_state_core = 42
					add_state_core = 581
					add_state_core = 870
					add_state_core = 54
					add_state_core = 53
					add_state_core = 52
					add_state_core = 50
					add_state_core = 744
					add_state_core = 28
					if = {
						limit = {
							owns_state = 8
						}
						add_state_core = 8
					}
				}
				28 = { set_state_name = "Elsass" }
				set_province_name = { id = 9503 name = "Straßburg" }
				BAV = { remove_state_core = 42 }
				HSD = { remove_state_core = 581 }
				HSD = { remove_state_core = 870 }
				BAV = { remove_state_core = 54 }
				BAV = { remove_state_core = 53 }
				BAV = { remove_state_core = 52 }
				WUR = { remove_state_core = 50 }
				BAD = { remove_state_core = 744 }
				FRA = { remove_state_core = 28 }
				FRA = { add_state_claim = 28 }
				if = {
					limit = {
						owns_state = 8
					}
					LUX = { remove_state_core = 8 }
					8 = { set_state_name = "Luxemburg" }
					set_province_name = { id = 6583 name = "Luxemburg" }
				}
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	eoanb_decision_BAV_ask_austria_to_unify_germany = {

		icon = generic_political_discourse
		
		available = {
			AUS = {
				has_country_flag = AUS_flag_won_sww
			}
			AUS = {
				NOT = {
					has_country_flag = AUS_flag_about_to_form_g
				}
			}
		}

		visible = {
			tag = BAV
		}
		
		allowed = { tag = BAV }

		fire_only_once = yes

		cost = 150

		complete_effect = {
			custom_effect_tooltip = BAV_customeffect_ask_decision_unify_germany
			
			hidden_effect = {
				BAV = {
					country_event = { id = bavariaevent.7 days = 3 }
				}
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Unify Germany (Non FT Version)
	eoanb_decision_GER_unify_germany_alternative = {

		icon = generic_form_nation

		available = {
			date > 1870.1.1
			PRS = { exists = no }
			owns_state = 951
			owns_state = 1001
			OR = {
				owns_state = 8
				owns_state = 28
			}
			custom_trigger_tooltip = {
				tooltip = eoanb_tt_trigger_unite_GER_alternative_1
				hidden_trigger = {
					ROOT = {
						owns_state = 744
						owns_state = 50
						owns_state = 1033
						owns_state = 52
						owns_state = 53
						owns_state = 54
						owns_state = 870
						owns_state = 42
						owns_state = 984
						owns_state = 581
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = eoanb_tt_trigger_unite_GER_alternative_2
				hidden_trigger = {
					ROOT = {
						owns_state = 869
						owns_state = 1061
						owns_state = 978
						owns_state = 51
						owns_state = 1009
						owns_state = 55
						owns_state = 57
						owns_state = 56
						owns_state = 59
						owns_state = 745
						owns_state = 1060
						owns_state = 867
						owns_state = 868
						owns_state = 1035
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = eoanb_tt_trigger_unite_GER_alternative_3
				hidden_trigger = {
					ROOT = {
						owns_state = 949
						owns_state = 938
						owns_state = 61
						owns_state = 60
						owns_state = 65
						owns_state = 64
						owns_state = 62
						owns_state = 66
						owns_state = 67
						owns_state = 1107
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = eoanb_tt_trigger_unite_GER_alternative_4
				hidden_trigger = {
					ROOT = {
						owns_state = 68
						owns_state = 63
						owns_state = 86
						owns_state = 85
						owns_state = 1002
						owns_state = 5
						owns_state = 188
					}
				}
			}
		}

		visible = {
			NOT = {
				PRS = {
					OR = {
						has_cosmetic_tag = PRS_GER_liberal_republic
						has_cosmetic_tag = PRS_GER_liberal_monarchy
						has_cosmetic_tag = PRS_GER_bismarck
						has_cosmetic_tag = PRS_GER_socialist
						has_cosmetic_tag = PRS_GER_bismarck_imperial
						has_cosmetic_tag = PRS_GER_bismarck_standard
						has_cosmetic_tag = PRS_GER_bismarck_national
						has_cosmetic_tag = PRS_GER_bismarck_hre
					}
				}
			}
			if = {
				limit = {
					tag = BAV
				}
				has_country_flag = BAV_AUS_allows_unification
			}
		}
		
		allowed = {
			OR = {	
				TAG = BAD
				TAG = WUR
				TAG = BAV
				TAG = FRK
				TAG = HSD
				TAG = HES
				TAG = NAS
				TAG = THU
				TAG = SAX
				TAG = OLD
				TAG = HAN
				TAG = HAM
				TAG = MCK
				TAG = LCK
				TAG = BRE
			}
		}

		fire_only_once = yes

		cost = 200

		complete_effect = {
			custom_effect_tooltip = GER_decision_tt_unite_alternative
			hidden_effect = {
				set_cosmetic_tag = GER_alt_form
				every_owned_state = {
					add_core_of = ROOT
				}
				if = {
					limit = {
						is_ai = no
					}
					set_variable = { super_event_displayed = 18 }
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Try to buy Heligoland from Britain
	eoanb_decision_GER_try_buy_heligoland = {
		
		icon = generic_operation
		
		available = {
			NOT = { has_war_with = ENG }
		}
		
		visible = {
			trigger_is_germany = yes
			date > 1870.1.1
			1309 = { is_owned_and_controlled_by = ENG }
		}
		
		allowed = { TAG = PRS }
		
		fire_only_once = yes
		
		cost = 50
		
		complete_effect = {
			country_event = { id = germany.20 days = 1 }
		}
		
		ai_will_do = {
			base = 5
		}
	}

}

GER_category_kiel_canal = {
	
	#Start preparations for a canal
	eoanb_decision_GER_kiel_canal_preparations = {

		icon = generic_construction

		available = {
			has_tech = tech_projects_kiel_canal_preparations
			owns_state = 949
			owns_state = 58
		}

		visible = {
			date > 1878.1.1
			PRS_trigger_formed_germany = yes
			NOT={has_country_flag = eoanb_flag_PRS_kiel_canal_preparations_finished}
			OR={
				owns_state = 58
				owns_state = 949
				58={
					owner={
						is_subject_of = ROOT
					}
				}
				949={
					owner={
						is_subject_of = ROOT
					}
				}
			}
		}

		fire_only_once = yes

		cost = 75
		
		days_remove = 365

		complete_effect = {
			949 = {
				add_extra_state_shared_building_slots  = 1
			}
			58 = {
				add_extra_state_shared_building_slots  = 1
			}
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = kiel_canal_tech
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = eoanb_tt_decision_GER_kiel_canal_preparations
			hidden_effect = {
				PRS = {
					set_country_flag = eoanb_flag_PRS_kiel_canal_preparations_finished
				}
			}
		}
		
		modifier = {
			consumer_goods_expected_value = 0.01
			political_power_gain = -0.01
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Kiel - Rendsburg Section
	eoanb_decision_GER_kiel_canal_section1 = {

		icon = generic_construction

		available = {
			has_tech = tech_projects_kiel_canal_kiel_rendsburg
			owns_state = 949
			owns_state = 58
			num_of_civilian_factories_available_for_projects > 4 
		}

		visible = {
			has_country_flag = eoanb_flag_PRS_kiel_canal_preparations_finished
		}

		fire_only_once = yes

		cost = 50
		
		days_remove = 1500
		
		remove_effect = {
			custom_effect_tooltip = eoanb_tt_decision_GER_kiel_canal_section1
			hidden_effect = {
				PRS = {
					clr_country_flag = eoanb_flag_PRS_kiel_canal_preparations_finished
					set_country_flag = eoanb_flag_PRS_kiel_canal_section1_finished
				}
			}
		}
		
		modifier = {
			civilian_factory_use = 5
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Rendsburg - Cuxhaven Section
	eoanb_decision_GER_kiel_canal_section2 = {

		icon = generic_construction

		available = {
			has_tech = tech_projects_kiel_canal_rendsburg_cuxhaven
			owns_state = 949
			owns_state = 58
			num_of_civilian_factories_available_for_projects > 7 
		}

		visible = {
			has_country_flag = eoanb_flag_PRS_kiel_canal_section1_finished
		}

		fire_only_once = yes

		cost = 50
		
		days_remove = 900
		
		remove_effect = {
			custom_effect_tooltip = eoanb_tt_decision_GER_kiel_canal_section2
			hidden_effect = {
				PRS = {
					clr_country_flag = eoanb_flag_PRS_kiel_canal_section1_finished
				}
				set_global_flag = KIEL_CANAL_BUILT
				news_event = news.14
			}
		}
		
		modifier = {
			civilian_factory_use = 8
		}

		ai_will_do = {
			base = 1000
		}
	}
	
}

GER_category_fortress_status = {
	
	#Fortress in Stettin
	eoanb_decision_GER_fortress_stettin = {

		icon = generic_industry

		available = {
			owns_state = 62
		}

		visible = {
			has_completed_focus = GER_focus_historical_fortress_status
			62 = {
				any_province_building_level = {
					province = {
						id = 6282
						limit_to_border = no
					}
					building = bunker
					level > 1
				}
			}
		}

		fire_only_once = yes

		cost = 10

		complete_effect = {
			country_event = { id = germany.2 }
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Fortress in Minden
	eoanb_decision_GER_fortress_minden = {

		icon = generic_industry

		available = {
			owns_state = 57
		}

		visible = {
			has_completed_focus = GER_focus_historical_fortress_status
			57 = {
				any_province_building_level = {
					province = {
						id = 405
						limit_to_border = no
					}
					building = bunker
					level > 1
				}
			}
		}

		fire_only_once = yes

		cost = 10

		complete_effect = {
			country_event = { id = germany.3 }
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Fortress in Kosel
	eoanb_decision_GER_fortress_kosel = {

		icon = generic_industry

		available = {
			owns_state = 58
		}

		visible = {
			has_completed_focus = GER_focus_historical_fortress_status
			58 = {
				any_province_building_level = {
					province = {
						id = 317
						limit_to_border = no
					}
					building = bunker
					level > 1
				}
			}
		}

		fire_only_once = yes

		cost = 10

		complete_effect = {
			country_event = { id = germany.4 }
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Fortress in Erfurt
	eoanb_decision_GER_fortress_erfurt = {

		icon = generic_industry

		available = {
			owns_state = 948
		}

		visible = {
			has_completed_focus = GER_focus_historical_fortress_status
			948 = {
				any_province_building_level = {
					province = {
						id = 13408
						limit_to_border = no
					}
					building = bunker
					level > 1
				}
			}
		}

		fire_only_once = yes

		cost = 10

		complete_effect = {
			country_event = { id = germany.5 }
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Fortress in Glatz
	eoanb_decision_GER_fortress_glatz = {

		icon = generic_industry

		available = {
			owns_state = 66
		}

		visible = {
			has_completed_focus = GER_focus_historical_fortress_status
			66 = {
				any_province_building_level = {
					province = {
						id = 3485
						limit_to_border = no
					}
					building = bunker
					level > 1
				}
			}
		}

		fire_only_once = yes

		cost = 10

		complete_effect = {
			country_event = { id = germany.6 }
		}

		ai_will_do = {
			base = 1000
		}
	}
	
}

GER_category_war_in_sight = {
	
	#The Crisis
	eoanb_decision_GER_crisis_warinsight = {
		
		icon = generic_operation
		
		#Only Germany can see this crisis
		allowed = {
			TAG = PRS
		}
		
		#The Conditions to avoid the war
		available = {
			has_country_flag = eoanb_flag_GER_defused_warinsight
			OR = {
				has_war_support < 0.8
				threat > 0.25
			}
		}
		
		#Crisis appears under these conditions
		activation = {
			date > 1875.4.7
			country_exists = FRA
			PRS_trigger_formed_germany = yes
			TAG = PRS
			NOT = { PRS = { has_war_with = FRA } }
			NOT = { PRS = { has_non_aggression_pact_with = FRA } }
			NOT = { PRS = { is_subject_of = FRA } }
			NOT = { FRA = { is_subject_of = PRS } }
			NOT = { PRS = { has_country_flag = eoanb_flag_GER_defused_warinsight } }
		}
		
		fire_only_once = yes
		
		#Crisis, not a mission
		is_good = no
		
		#Crisis will escalate after 90 days unless defused
		days_mission_timeout = 90
		
		#Unless stopped, crisis will lead to war
		timeout_effect = {
			PRS = { add_stability = -0.02 }
			if = {
				limit = {
					has_war_support < 0.8
				}
				add_war_support = 0.1
			}
			if = {
				limit = {
					country_exists = ENG
					ENG = { has_stability > 0.2 }
					ENG = { has_war_support > 0.2 }
					NOT = { ENG = { has_war_with = FRA } }
				}
				ENG = { give_guarantee = FRA }
			}
			if = {
				limit = {
					country_exists = RUS
					RUS = { has_stability > 0.2 }
					RUS = { has_war_support > 0.2 }
					NOT = { RUS = { has_war_with = FRA } }
				}
				RUS = { give_guarantee = FRA }
			}
			declare_war_on = {
				target = FRA
				type = wargoal_diplomatic_humiliation
			}
			add_named_threat = { 
				threat = 10 
				name = eoanb_threat_germany_expanding_rapidly
			}
		}
		
		#Germany gains stability if war is avoided, relations improve a bit
		complete_effect = {
			add_political_power = 20
			add_stability = 0.05
			add_opinion_modifier = { target = FRA modifier = eoanb_om_GER_crisis_warinsight_goodover }
			reverse_add_opinion_modifier = { target = FRA modifier = eoanb_om_GER_crisis_warinsight_goodover }
			add_named_threat = { 
				threat = -2
				name = eoanb_threat_germany_nonaggressive_france
			}
		}
		
		#AI will always avoid the crisis if possible
		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				is_historical_focus_on = no
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		
	}
	
	#Defuse the Crisis
	eoanb_decision_GER_defuse_warinsight = {
		
		icon = generic_decision
		
		allowed = { tag = PRS }

		available = {
			has_active_mission = eoanb_decision_GER_crisis_warinsight
		}

		visible = {
			has_active_mission = eoanb_decision_GER_crisis_warinsight
		}

		fire_only_once = yes

		cost = 0

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_decision_GER_defuse_warinsight
			hidden_effect = {
				set_country_flag = eoanb_flag_GER_defused_warinsight
			}
		}

		ai_will_do = {
			base = 10000
		}
		
	}
	
}

GER_category_southern_generals = {
	
	#Recruit Karl von Heygendorff (from SAX)
	eoanb_decision_GER_southern_general_SAX_1 = {
		
		icon = generic_army_support
		
		available = {
			has_army_experience > 10
		}
		
		visible = {
			TAG = PRS
			PRS_trigger_formed_germany = yes
			NOT = { SAX = { exists = yes } }
		}
		
		fire_only_once = yes
		
		cost = 20
		
		complete_effect = {
			army_experience = -10
			add_corps_commander_role = {
				character = PRS_karl_von_heygendorff
				skill = 2
				attack_skill = 2
				defense_skill = 2
				planning_skill = 1
				logistics_skill = 1	
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	#Recruit Alfred Ludwig von Degenfeld (from BAD)
	eoanb_decision_GER_southern_general_BAD_1 = {
		
		icon = generic_army_support
		
		available = {
			has_army_experience > 10
		}
		
		visible = {
			TAG = PRS
			PRS_trigger_formed_germany = yes
			NOT = { BAD = { exists = yes } }
		}
		
		fire_only_once = yes
		
		cost = 20
		
		complete_effect = {
			army_experience = -10
			add_corps_commander_role = {
				character = PRS_alfred_ludwig_von_degenfeld
				skill = 3
				attack_skill = 2
				defense_skill = 2
				planning_skill = 2
				logistics_skill = 2
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	#Recruit Ferdinand von Zeppelin (from WUR)
	eoanb_decision_GER_southern_general_WUR_1 = {
		
		icon = generic_army_support
		
		available = {
			has_army_experience > 10
		}
		
		visible = {
			TAG = PRS
			PRS_trigger_formed_germany = yes
			NOT = { WUR = { exists = yes } }
		}
		
		fire_only_once = yes
		
		cost = 20
		
		complete_effect = {
			army_experience = -10
			add_corps_commander_role = {
				character = PRS_ferdinand_von_zeppelin
				skill = 3
				attack_skill = 1
				defense_skill = 1
				planning_skill = 1
				logistics_skill = 1
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	#Recruit Jakob von Hartmann (from BAV)
	eoanb_decision_GER_southern_general_BAV_1 = {
		
		icon = generic_army_support
		
		available = {
			has_army_experience > 10
		}
		
		visible = {
			TAG = PRS
			PRS_trigger_formed_germany = yes
			NOT = { BAV = { exists = yes } }
		}
		
		fire_only_once = yes
		
		cost = 20
		
		complete_effect = {
			army_experience = -10
			add_corps_commander_role = {
				character = PRS_jakob_von_hartmann
				skill = 3
				attack_skill = 1
				defense_skill = 1
				planning_skill = 1
				logistics_skill = 1
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	#Recruit Karl Krazeisen (from BAV)
	eoanb_decision_GER_southern_general_BAV_2 = {
		
		icon = generic_army_support
		
		available = {
			has_army_experience > 10
		}
		
		visible = {
			TAG = PRS
			PRS_trigger_formed_germany = yes
			NOT = { BAV = { exists = yes } }
		}
		
		fire_only_once = yes
		
		cost = 20
		
		complete_effect = {
			army_experience = -10
			add_corps_commander_role = {
				character = PRS_karl_krazeisen 
				skill = 3
				attack_skill = 1
				defense_skill = 1
				planning_skill = 1
				logistics_skill = 1
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
}

GER_category_elsass_integration = {
	eoanb_mission_GER_elsass_integration_weekly = {
		activation = {
			always = no
		}
		available = {
			always = no
		}
		days_mission_timeout = 7
		timeout_effect = {
			set_temp_variable = {
				GER_elsass_german_pop_temp = GER_Elsass_Germanization_Count
			}
			multiply_temp_variable = { GER_elsass_german_pop_temp = GER_Elsass_Germanization_Speed }
			round_variable = GER_elsass_german_pop_temp
			GER_Elsass_German_Population_Effect = yes
			activate_mission = eoanb_mission_GER_elsass_integration_weekly
		}
	}
	eoanb_mission_GER_elsass_integration_monthly = {
		activation = {
			always = no
		}
		available = {
			always = no
		}
		days_mission_timeout = 30
		timeout_effect = {
			
			activate_mission = eoanb_mission_GER_elsass_integration_monthly
		}
	}
	eoanb_mission_GER_elsass_integration_yearly = {
		activation = {
			always = no
		}
		available = {
			always = no
		}
		days_mission_timeout = 365
		timeout_effect = {
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = GER_Elsass_Acceptance_Speed
			}
			multiply_temp_variable = { GER_Elsass_Acceptance_temp = 100 }
			GER_Elsass_Acceptance_Effect = yes
			activate_mission = eoanb_mission_GER_elsass_integration_yearly
		}
	}
	eoanb_decision_GER_elsass_integration_prohibit_french_in_school = {
		visible = {
			NOT = { has_country_flag = eoanb_flag_ger_elsass_ban_french_school }
		}
		
		cost = 50
		
		complete_effect = {
			add_stability = -0.02
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.5
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -10
			}
			GER_Elsass_Acceptance_Effect = yes
			set_country_flag = eoanb_flag_ger_elsass_ban_french_school
		}
	}
	eoanb_decision_GER_elsass_integration_reallow_french_in_school = {
		visible = {
			has_country_flag = eoanb_flag_ger_elsass_ban_french_school
		}
		
		cost = 50
		
		complete_effect = {
			add_stability = 0.02
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = -0.5
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = 10
			}
			GER_Elsass_Acceptance_Effect = yes
			clr_country_flag = eoanb_flag_ger_elsass_ban_french_school
		}
	}
	eoanb_decision_GER_elsass_integration_favor_german_in_school = {
		fire_only_once = yes
		
		cost = 50
		
		complete_effect = {
			add_stability = -0.02
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.25
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -5
			}
			GER_Elsass_Acceptance_Effect = yes
		}
	}
	eoanb_decision_GER_elsass_integration_exchange_french_with_german_teachers = {
		fire_only_once = yes
		days_remove = 1095
		complete_effect = {
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.25
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -5
			}
			GER_Elsass_Acceptance_Effect = yes
			hidden_effect = {
				add_to_variable = { GER_Elsass_Acceptance_Speed = -0.01 }
			}
		}
		remove_effect = {
			add_to_variable = { GER_Elsass_Acceptance_Speed = -0.01 }
			add_to_variable = { GER_Elsass_Refresh_Variable = 1 }
			custom_effect_tooltip = eoanb_decision_GER_elsass_integration_exchange_french_with_german_teachers_tt
		}
	}
	eoanb_decision_GER_elsass_integration_declare_church_control_school_invalid = {
		fire_only_once = yes
		
		complete_effect = {
			add_political_power = 30
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -2
			}
			GER_Elsass_Acceptance_Effect = yes
		}
	}
	eoanb_decision_GER_elsass_integration_prohibit_french_in_public = {
		visible = {
			NOT = { has_country_flag = eoanb_flag_ger_elsass_ban_french_public }
		}
		
		cost = 50
		
		complete_effect = {
			add_stability = -0.01
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.3
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -10
			}
			GER_Elsass_Acceptance_Effect = yes
			set_country_flag = eoanb_flag_ger_elsass_ban_french_public
		}
	}
	eoanb_decision_GER_elsass_integration_reallow_french_in_public = {
		visible = {
			has_country_flag = eoanb_flag_ger_elsass_ban_french_public
		}
		
		cost = 30
		
		complete_effect = {
			add_stability = 0.01
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = -0.3
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = 10
			}
			GER_Elsass_Acceptance_Effect = yes
			clr_country_flag = eoanb_flag_ger_elsass_ban_french_public
		}
	}
	eoanb_decision_GER_elsass_integration_censor_french_books_and_newspapers = {
		fire_only_once = yes
		cost = 30
		
		complete_effect = {
			add_stability = 0.02
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.15
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -3
			}
			GER_Elsass_Acceptance_Effect = yes
		}
	}
	eoanb_decision_GER_elsass_integration_monitor_french_organizations_and_societies = {
		fire_only_once = yes
		cost = 30
		
		complete_effect = {
			add_stability = 0.01
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.1
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -2
			}
			GER_Elsass_Acceptance_Effect = yes
		}
	}
	eoanb_decision_GER_elsass_integration_repeal_dictatorship_article = {
		fire_only_once = yes
		cost = 30
		
		complete_effect = {
			add_stability = 0.01
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.1
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -2
			}
			GER_Elsass_Acceptance_Effect = yes
			set_temp_variable = {
				GER_elsass_pp_gain_temp = -0.02
			}
			GER_Elsass_pp_gain_Effect = yes
		}
	}
	eoanb_decision_GER_elsass_integration_allow_choice_of_citizenship = {
		fire_only_once = yes
		cost = 25
		
		complete_effect = {
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = 5
			}
			GER_Elsass_Acceptance_Effect = yes
			set_country_flag = eoanb_flag_ger_elsass_allow_choice_of_citizenship
		}
	}
	eoanb_decision_GER_elsass_integration_allow_french_citizens_to_leave = {
		visible = {
			has_country_flag = eoanb_flag_ger_elsass_allow_choice_of_citizenship
		}
		fire_only_once = yes
		cost = 25
		
		complete_effect = {
			add_stability = 0.01
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = 10
			}
			GER_Elsass_Acceptance_Effect = yes
			set_temp_variable = {
				GER_elsass_french_pop_temp = -50000
			}
			28 = {
				add_manpower = -50000
			}
			GER_Elsass_French_Population_Effect = yes
			FRA = {
				814 = {
					add_manpower = 25000
				}
				random_owned_state = {
					add_manpower = 25000
				}
			}
		}
	}
	eoanb_decision_GER_elsass_integration_send_germans_to_metz = {
		fire_only_once = yes
		cost = 50
		
		complete_effect = {
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.2
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_elsass_german_pop_temp = 50000
			}
			GER_Elsass_German_Population_Effect = yes
			PRS = {
				random_owned_state = {
					add_manpower = -10000
				}
				random_owned_state = {
					add_manpower = -10000
				}
				random_owned_state = {
					add_manpower = -10000
				}
				random_owned_state = {
					add_manpower = -10000
				}
				random_owned_state = {
					add_manpower = -10000
				}
			}
			set_temp_variable = {
				GER_elsass_resource_temp = 0.15
			}
			GER_Elsass_resource_Effect = yes
		}
	}
	eoanb_decision_GER_elsass_integration_send_germans_to_french_areas = {
		fire_only_once = yes
		cost = 50
		
		complete_effect = {
			add_stability = -0.01
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = 1
			}
			GER_Elsass_Acceptance_Effect = yes
			set_temp_variable = {
				GER_elsass_german_pop_temp = 10000
			}
			GER_Elsass_German_Population_Effect = yes
			PRS = {
				random_owned_state = {
					add_manpower = -10000
				}
			}
		}
	}
	eoanb_decision_GER_elsass_integration_change_community_borders = {
		days_re_enable = 180
		cost = 80
		
		complete_effect = {
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.05
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_elsass_german_pop_temp = 10000
			}
			GER_Elsass_German_Population_Effect = yes
			set_temp_variable = {
				GER_elsass_pp_gain_temp = 0.01
			}
			GER_Elsass_pp_gain_Effect = yes
		}
	}
	eoanb_decision_GER_elsass_integration_military_actions_against_french = {
		fire_only_once = yes
		cost = 50
		
		complete_effect = {
			add_stability = -0.03
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -15
			}
			GER_Elsass_Acceptance_Effect = yes
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.15
			}
			GER_Elsass_Germanization_Speed_Effect = yes
			set_temp_variable = {
				GER_elsass_french_pop_temp = -10000
			}
			GER_Elsass_French_Population_Effect = yes
			set_temp_variable = {
				GER_elsass_pp_gain_temp = 0.01
			}
			GER_Elsass_pp_gain_Effect = yes
		}
	}
	eoanb_decision_GER_elsass_integration_send_alsatian_soliders_to_prussia = {
		fire_only_once = yes
		cost = 50
		
		complete_effect = {
			add_stability = -0.03
			set_temp_variable = {
				GER_Elsass_Acceptance_temp = -2
			}
			GER_Elsass_Acceptance_Effect = yes
			set_temp_variable = { 
				GER_Elsass_Germanization_Speed_temp = 0.15
			}
			GER_Elsass_Germanization_Speed_Effect = yes
		}
	}
}