GER_Network_Infrastructure = {
	Expand_Network_North = {
		cost = 50
		days_remove = 35
		fire_only_once = yes
		visible = { has_completed_focus = GER_Network_Infrastructure }

		available = {
			NOT = {
				OR = {
					has_decision = Expand_Network_South
					has_decision = Expand_Network_West
					has_decision = Expand_Network_east
					has_decision = Expand_Network_North_east
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_North"
			set_temp_variable = { treasury_change = -9.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_North"
			if = {
				limit = { controls_state = 37 }
				37 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 38 }
				38 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 1080 }
				1080 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	Expand_Network_South = {
		cost = 50
		days_remove = 35
		fire_only_once = yes

		available = {
			NOT = {
				OR = {
					has_decision = Expand_Network_North
					has_decision = Expand_Network_West
					has_decision = Expand_Network_east
					has_decision = Expand_Network_North_east
				}
			}
		}

		visible = { has_completed_focus = GER_Network_Infrastructure }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_South"
			set_temp_variable = { treasury_change = -9.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_South"
			if = {
				limit = { controls_state = 43 }
				43 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 42 }
				42 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 964 }
				964 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	Expand_Network_West = {
		cost = 50
		days_remove = 35
		fire_only_once = yes
		visible = { has_completed_focus = GER_Network_Infrastructure }

		available = {
			NOT = {
				OR = {
					has_decision = Expand_Network_North
					has_decision = Expand_Network_South
					has_decision = Expand_Network_east
					has_decision = Expand_Network_North_east
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_West"
			set_temp_variable = { treasury_change = -12.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_West"
			if = {
				limit = { controls_state = 966 }
				966 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 40 }
				40 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 39 }
				39 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 41 }
				41 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 967 }
				967 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	Expand_Network_North_east = {
		cost = 50
		days_remove = 35
		fire_only_once = yes
		visible = { has_completed_focus = GER_Network_Infrastructure }

		available = {
			NOT = {
				OR = {
					has_decision = Expand_Network_North
					has_decision = Expand_Network_South
					has_decision = Expand_Network_east
					has_decision = Expand_Network_West
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_North_east"
			set_temp_variable = { treasury_change = -9.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_North_east"
			if = {
				limit = { controls_state = 539 }
				539 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 1079 }
				1079 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 45 }
				45 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	Expand_Network_east = {
		cost = 50
		days_remove = 35
		fire_only_once = yes
		visible = { has_completed_focus = GER_Network_Infrastructure }

		available = {
			NOT = {
				OR = {
					has_decision = Expand_Network_North
					has_decision = Expand_Network_South
					has_decision = Expand_Network_North_east
					has_decision = Expand_Network_West
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_east"
			set_temp_variable = { treasury_change = -9.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Expand_Network_east"
			if = {
				limit = { controls_state = 972 }
				972 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 44 }
				44 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = { controls_state = 545 }
				545 = {
					add_building_construction = {
						type = internet_station
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}
}
GER_east_vs_west_divide = {
	GER_divide_open = {
		visible = { NOT = { has_country_flag = GER_open_divide } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_divide_open"
			if = { limit = { is_debug = yes }
				log = "[GetDateText]: [ROOT.GetName]: DEBUG: Decision GER_divide_open"
			}
			set_country_flag = GER_open_divide
		}

		ai_will_do = { base = 0 }
	}

	GER_divide_close = {
		visible = { has_country_flag = GER_open_divide }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_divide_close"
			if = { limit = { is_debug = yes }
				log = "[GetDateText]: [ROOT.GetName]: DEBUG: Decision GER_divide_close"
			}
			clr_country_flag = GER_open_divide
		}

		ai_will_do = { base = 0 }
	}

	GER_increase_productivity_in_mecklenburg = {
		visible = { has_country_flag = GER_open_divide }
		custom_cost_trigger = { check_variable = { treasury > 14.99 } }
		custom_cost_text = cost_15_0

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_Productivity_TT
				NOT = { check_variable = { 539.productivity_state_var > 1000 } }
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_increase_productivity_in_brandenburg
						has_decision = GER_increase_productivity_in_sachsen
						has_decision = GER_increase_productivity_in_sachsen_anhalt
						has_decision = GER_increase_productivity_in_thuringen
					}
				}
			}
		}

		days_remove = 45
		highlight_states = { highlight_states_trigger = { state = 539 } }
		on_map_mode = map_and_decisions_view

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_increase_productivity_in_mecklenburg"
			custom_effect_tooltip = GER_increases_productivity_by_10
			539 = { add_to_variable = { productivity_state_var = 10 } }
			hidden_effect = {
				set_temp_variable = { treasury_change = -15.00 }
				modify_treasury_effect = yes
			}
		}

		modifier = { production_speed_buildings_factor = 0.10 }
		ai_will_do = { base = 1 }
	}

	GER_increase_productivity_in_brandenburg = {
		visible = { has_country_flag = GER_open_divide }
		custom_cost_trigger = { check_variable = { treasury > 14.99 } }
		custom_cost_text = cost_15_0

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_Productivity_TT
				NOT = { check_variable = { 1079.productivity_state_var > 1000 } }
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_increase_productivity_in_mecklenburg
						has_decision = GER_increase_productivity_in_sachsen
						has_decision = GER_increase_productivity_in_sachsen_anhalt
						has_decision = GER_increase_productivity_in_thuringen
					}
				}
			}
		}

		days_remove = 45
		highlight_states = { highlight_states_trigger = { state = 1079 } }
		on_map_mode = map_and_decisions_view

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_increase_productivity_in_brandenburg"
			custom_effect_tooltip = GER_increases_productivity_by_10
			1079 = { add_to_variable = { productivity_state_var = 10 } }
			hidden_effect = {
				set_temp_variable = { treasury_change = -15.00 }
				modify_treasury_effect = yes
			}
		}

		modifier = { production_speed_buildings_factor = 0.10 }
		ai_will_do = { base = 1 }
	}

	GER_increase_productivity_in_sachsen = {
		visible = { has_country_flag = GER_open_divide }
		custom_cost_trigger = { check_variable = { treasury > 14.99 } }
		custom_cost_text = cost_15_0

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_Productivity_TT
				NOT = { check_variable = { 44.productivity_state_var > 1000 } }
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_increase_productivity_in_mecklenburg
						has_decision = GER_increase_productivity_in_brandenburg
						has_decision = GER_increase_productivity_in_sachsen_anhalt
						has_decision = GER_increase_productivity_in_thuringen
					}
				}
			}
		}

		days_remove = 45
		highlight_states = { highlight_states_trigger = { state = 44 } }
		on_map_mode = map_and_decisions_view

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_increase_productivity_in_sachsen"
			custom_effect_tooltip = GER_increases_productivity_by_10
			44 = { add_to_variable = { productivity_state_var = 10 } }
			hidden_effect = {
				set_temp_variable = { treasury_change = -15.00 }
				modify_treasury_effect = yes
			}
		}

		modifier = { production_speed_buildings_factor = 0.10 }
		ai_will_do = { base = 1 }
	}

	GER_increase_productivity_in_sachsen_anhalt = {
		visible = { has_country_flag = GER_open_divide }
		custom_cost_trigger = { check_variable = { treasury > 14.99 } }
		custom_cost_text = cost_15_0

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_Productivity_TT
				NOT = { check_variable = { 972.productivity_state_var > 1000 } }
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_increase_productivity_in_mecklenburg
						has_decision = GER_increase_productivity_in_brandenburg
						has_decision = GER_increase_productivity_in_sachsen
						has_decision = GER_increase_productivity_in_thuringen
					}
				}
			}
		}

		days_remove = 45
		highlight_states = { highlight_states_trigger = { state = 972 } }
		on_map_mode = map_and_decisions_view

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_increase_productivity_in_sachsen_anhalt"
			custom_effect_tooltip = GER_increases_productivity_by_10
			972 = { add_to_variable = { productivity_state_var = 10 } }
			hidden_effect = {
				set_temp_variable = { treasury_change = -15.00 }
				modify_treasury_effect = yes
			}
		}

		modifier = { production_speed_buildings_factor = 0.10 }
		ai_will_do = { base = 1 }
	}

	GER_increase_productivity_in_thuringen = {
		visible = { has_country_flag = GER_open_divide }
		custom_cost_trigger = { check_variable = { treasury > 14.99 } }
		custom_cost_text = cost_15_0

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_Productivity_TT
				NOT = { check_variable = { 545.productivity_state_var > 1000 } }
			}
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_increase_productivity_in_mecklenburg
						has_decision = GER_increase_productivity_in_brandenburg
						has_decision = GER_increase_productivity_in_sachsen
						has_decision = GER_increase_productivity_in_sachsen_anhalt
					}
				}
			}
		}

		days_remove = 45
		highlight_states = { highlight_states_trigger = { state = 545 } }
		on_map_mode = map_and_decisions_view

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_increase_productivity_in_thuringen"
			custom_effect_tooltip = GER_increases_productivity_by_10
			545 = { add_to_variable = { productivity_state_var = 10 } }
			hidden_effect = {
				set_temp_variable = { treasury_change = -15.00 }
				modify_treasury_effect = yes
			}
		}

		modifier = { production_speed_buildings_factor = 0.10 }
		ai_will_do = { base = 1 }
	}

	GER_please_east_germans = {
		visible = { has_country_flag = GER_open_divide }

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_east_opinion_below_50_TT
				NOT = { check_variable = { GER_east_opinion > 49 } }
			}
		}

		days_remove = 30
		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_please_east_germans"
			custom_effect_tooltip = GER_east_increase_opinion
			add_to_variable = { GER_east_opinion = 1 }
		}

		modifier = { social_cost_multiplier_modifier = 0.05 }

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0
				has_political_power < 100
			}
			modifier = {
				add = 10
				check_variable = { GER_east_opinion < 41 }
			}
			modifier = {
				add = 25
				check_variable = { GER_east_opinion < 31 }
			}
			modifier = {
				add = 50
				check_variable = { GER_east_opinion < 21 }
			}
		}
	}

	GER_consult_with_an_advisor = {
		visible = { has_country_flag = GER_open_divide }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_consult_with_an_advisor"
			country_event = germany_divide.69420
		}

		ai_will_do = { base = 0 }
	}
}

GER_bavarian_nationalism = {
	GER_establish_ruling_party = {
		fire_only_once = yes
		days_remove = 60
		cost = 100

		visible = {
			has_completed_focus = GER_decentralized_republic
			NOT = { country_exists = BAY }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_establish_ruling_party"
			country_event = bavaria.2
			GER = { set_country_flag = GER_federalization_one }
		}

		ai_will_do = { base = 0 }
	}

	GER_relocate_institutions = {
		fire_only_once = yes
		days_remove = 60
		cost = 125

		visible = {
			has_completed_focus = GER_decentralized_republic
			has_country_flag = GER_federalization_one
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_relocate_institutions"
			43 = {
				if = {
					limit = { offices > 2 }
					remove_building = {
						type = offices
						level = 3
					}
				}
			}
			964 = {
				if = {
					limit = { offices > 0 }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_relocate_institutions"
			GER = {
				random_owned_state = {
					limit = {
						NOT = {
							OR = {
								state = 43
								state = 964
							}
						}
					}
					add_building_construction = {
						type = offices
						level = 4
						instant_build = yes
					}
				}
				clr_country_flag = GER_federalization_one
				set_country_flag = GER_federalization_two
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_relocate_military_personnel = {
		fire_only_once = yes
		days_remove = 60
		cost = 150

		visible = {
			has_completed_focus = GER_decentralized_republic
			has_country_flag = GER_federalization_two
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_relocate_military_personnel"
			43 = {
				if = {
					limit = { arms_factory > 0 }
					remove_building = {
						type = arms_factory
						level = 1
					}
				}
			}
			964 = {
				if = {
					limit = { arms_factory > 0 }
					remove_building = {
						type = arms_factory
						level = 1
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_relocate_military_personnel"
			GER = {
				random_owned_state = {
					limit = {
						NOT = {
							OR = {
								state = 43
								state = 964
							}
						}
					}
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				clr_country_flag = GER_federalization_two
				set_country_flag = GER_federalization_three
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_relocate_the_industrial_heartland = {
		fire_only_once = yes
		days_remove = 60
		cost = 175

		visible = {
			has_completed_focus = GER_decentralized_republic
			has_country_flag = GER_federalization_three
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_relocate_the_industrial_heartland"
			43 = {
				if = {
					limit = { industrial_complex > 1 }
					remove_building = {
						type = industrial_complex
						level = 2
					}
				}
			}
			964 = {
				if = {
					limit = { industrial_complex > 1 }
					remove_building = {
						type = industrial_complex
						level = 2
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_relocate_the_industrial_heartland"
			GER = {
				random_owned_state = {
					limit = {
						NOT = {
							OR = {
								state = 43
								state = 964
							}
						}
					}
					add_building_construction = {
						type = industrial_complex
						level = 4
						instant_build = yes
					}
				}
				clr_country_flag = GER_federalization_three
				set_country_flag = GER_federalization_four
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_hold_referendum_BAY = {
		fire_only_once = yes
		days_remove = 100

		visible = {
			has_country_flag = GER_federalization_four
			has_completed_focus = GER_decentralized_republic
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_hold_referendum_BAY"
			set_country_flag = GER_bavaria_gone
			43 = { remove_core_of = GER }
			964 = { remove_core_of = GER }
			newline = yes
			release = BAY
			BAY = { ingame_startup_nations_effect = yes }
			hidden_effect = {
				if = {
					limit = { has_country_flag = GER_BAY_SPD }
					BAY = {
						set_temp_variable = { rul_party_temp = 3 }
						set_temp_variable = { disable_elections = 1 }
						change_ruling_party_effect = yes
					}
				}
				if = {
					limit = { has_country_flag = GER_BAY_CSU }
					BAY = {
						set_temp_variable = { rul_party_temp = 1 }
						set_temp_variable = { disable_elections = 1 }
						change_ruling_party_effect = yes
					}
				}
				if = {
					limit = { has_country_flag = GER_BAY_GRUNE }
					BAY = {
						set_temp_variable = { rul_party_temp = 17 }
						set_temp_variable = { disable_elections = 1 }
						change_ruling_party_effect = yes
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}
}
# # #
GER_the_false_state = {
	GER_trip_to_syria = {
		fire_only_once = yes
		days_remove = 40
		cost = 100

		available = {
			NOT = {
				OR = {
					has_decision = GER_trip_to_egypt
					has_decision = GER_trip_to_lebanon
				}
			}
		}

		visible = {
			NOT = { has_country_flag = GER_war_has_begun }
			OR = {
				country_exists = ISR
				country_exists = SYR
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_trip_to_syria"
			set_country_flag = GER_decision1_done
			if = {
				limit = { NOT = { country_exists = EGY } }
				set_country_flag = GER_decision2_done #EGYPT
			}
			if = {
				limit = { NOT = { country_exists = HEZ } }
				set_country_flag = GER_decision3_done #LEBANON
			}
			if = {
				limit = { NOT = { country_exists = PAL } }
				set_country_flag = GER_decision4_done #PALESTINE
			}
			custom_effect_tooltip = GER_more_likely_to_accept
			newline = yes
			SYR = {
				country_event = {
					id = germany.227
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_trip_to_egypt = {
		fire_only_once = yes
		days_remove = 40
		cost = 100

		available = {
			NOT = {
				OR = {
					has_decision = GER_trip_to_syria
					has_decision = GER_trip_to_lebanon
				}
			}
		}

		visible = {
			NOT = { has_country_flag = GER_war_has_begun }
			OR = {
				country_exists = ISR
				country_exists = EGY
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_trip_to_egypt"
			if = {
				limit = { NOT = { country_exists = SYR } }
				set_country_flag = GER_decision1_done #SYRIA
			}
			if = {
				limit = { NOT = { country_exists = HEZ } }
				set_country_flag = GER_decision3_done #LEBANON
			}
			if = {
				limit = { NOT = { country_exists = PAL } }
				set_country_flag = GER_decision4_done #PALESTINE
			}
			set_country_flag = GER_decision2_done
			custom_effect_tooltip = GER_more_likely_to_accept
			newline = yes
			EGY = {
				country_event = {
					id = germany.227
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_trip_to_lebanon = {
		fire_only_once = yes
		days_remove = 40
		cost = 100

		visible = {
			NOT = { has_country_flag = GER_war_has_begun }
			OR = {
				country_exists = ISR
				country_exists = HEZ
			}
		}

		available = {
			NOT = {
				OR = {
					has_decision = GER_trip_to_syria
					has_decision = GER_trip_to_egypt
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_trip_to_lebanon"
			if = {
				limit = { NOT = { country_exists = SYR } }
				set_country_flag = GER_decision1_done #SYRIA
			}
			if = {
				limit = { NOT = { country_exists = EGY } }
				set_country_flag = GER_decision2_done #EGYPT
			}
			if = {
				limit = { NOT = { country_exists = PAL } }
				set_country_flag = GER_decision4_done #PALESTINE
			}
			set_country_flag = GER_decision3_done
			custom_effect_tooltip = GER_more_likely_to_accept
			newline = yes
			HEZ = {
				country_event = {
					id = germany.227
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_arm_palestinian_groups = {
		fire_only_once = yes
		days_remove = 20
		cost = 100
		visible = { country_exists = ISR }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_arm_palestinian_groups"
			if = {
				limit = { NOT = { country_exists = SYR } }
				set_country_flag = GER_decision1_done #SYRIA
			}
			if = {
				limit = { NOT = { country_exists = EGY } }
				set_country_flag = GER_decision2_done #EGYPT
			}
			if = {
				limit = { NOT = { country_exists = HEZ } }
				set_country_flag = GER_decision3_done #LEBANON
			}
			set_country_flag = GER_decision4_done
			send_equipment = { type = artillery_equipment amount = 7175 target = PAL }
			send_equipment = { type = infantry_weapons_type amount = 4550 target = PAL }
			newline = yes
			PAL = {
				country_event = {
					id = germany.227
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_the_clock_ticks = {
		fire_only_once = yes
		days_remove = 180
		cost = 100

		visible = {
			has_country_flag = GER_decision1_done
			has_country_flag = GER_decision2_done
			has_country_flag = GER_decision3_done
			has_country_flag = GER_decision4_done
			country_exists = ISR
		}

		war_with_on_remove = ISR

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_the_clock_ticks"
			set_country_flag = GER_war_has_begun
			declare_war_on = {
				target = ISR
				type = puppet_wargoal_focus
			}
			if = {
				limit = { SYR = { has_country_flag = GER_were_joining_the_war } }
				SYR = {
					declare_war_on = {
						target = ISR
						type = puppet_wargoal_focus
					}
				}
			}
			if = {
				limit = { EGY = { has_country_flag = GER_were_joining_the_war } }
				EGY = {
					declare_war_on = {
						target = ISR
						type = puppet_wargoal_focus
					}
				}
			}
			if = {
				limit = { HEZ = { has_country_flag = GER_were_joining_the_war } }
				HEZ = {
					declare_war_on = {
						target = ISR
						type = puppet_wargoal_focus
					}
				}
			}
			if = {
				limit = { PAL = { has_country_flag = GER_were_joining_the_war } }
				PAL = {
					declare_war_on = {
						target = ISR
						type = puppet_wargoal_focus
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}
}
#
GER_bundeswehr_reforms_decisions = {
	GER_allocate_larger_budget = {
		days_remove = 45
		custom_cost_trigger = { check_variable = { treasury > 2.4 } }

		available = {
			NOT = {
				OR = {
					has_decision = GER_maximize_training_efficiency
					has_decision = GER_modernize_equipment
					has_decision = GER_upgrade_military_infrastructure
					has_decision = GER_recruitment_campaigns
				}
			}
		}

		custom_cost_text = cost_2_5

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_allocate_larger_budget"
			hidden_effect = {
				set_temp_variable = { treasury_change = -2.5 }
				modify_treasury_effect = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_allocate_larger_budget"
			custom_effect_tooltip = GER_add_10_bundes_reform
			add_to_variable = {
				var = bundeswehr_recovery_status
				value = 10
			}
			GER_update_dirty_variable = yes
		}

		modifier = { personnel_cost_multiplier_modifier = 0.15 }
		ai_will_do = { base = 1 }
	}

	GER_upgrade_military_infrastructure = {
		days_remove = 30

		available = {
			NOT = {
				OR = {
					has_decision = GER_maximize_training_efficiency
					has_decision = GER_modernize_equipment
					has_decision = GER_allocate_larger_budget
					has_decision = GER_recruitment_campaigns
				}
			}
		}

		custom_cost_trigger = { check_variable = { treasury > 1.4 } }
		custom_cost_text = cost_1_5

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_upgrade_military_infrastructure"
			hidden_effect = {
				set_temp_variable = { treasury_change = -1.5 }
				modify_treasury_effect = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_upgrade_military_infrastructure"
			custom_effect_tooltip = GER_add_5_bundes_reform
			add_to_variable = {
				var = bundeswehr_recovery_status
				value = 5
			}
			GER_update_dirty_variable = yes
		}

		modifier = {
			industrial_capacity_factory = 0.10
			production_speed_arms_factory_factor = 0.10
		}

		ai_will_do = { base = 1 }
	}

	GER_modernize_equipment = {
		fixed_random_seed = no
		days_remove = 30

		available = {
			NOT = {
				OR = {
					has_decision = GER_maximize_training_efficiency
					has_decision = GER_upgrade_military_infrastructure
					has_decision = GER_allocate_larger_budget
					has_decision = GER_recruitment_campaigns
				}
			}
		}

		custom_cost_trigger = { check_variable = { treasury > 1.4 } }
		custom_cost_text = cost_1_5

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_modernize_equipment"
			hidden_effect = {
				set_temp_variable = { treasury_change = -1.5 }
				modify_treasury_effect = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_modernize_equipment"
			custom_effect_tooltip = GER_add_5_bundes_reform
			add_to_variable = {
				var = bundeswehr_recovery_status
				value = 5
			}
			GER_update_dirty_variable = yes
			newline = yes
			random_list = {
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_aircraft
					} hidden_effect = { rq_eb_ce6880c1df = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_heavy_aircraft
					} hidden_effect = { rq_eb_855cbf9236 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_armored_fighting_vehicles
					} hidden_effect = { rq_eb_9201fa3874 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_tanks
					} hidden_effect = { rq_eb_fca8b22b9a = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_utility_vehicles
					} hidden_effect = { rq_eb_b8b342fde6 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_artillery
					} hidden_effect = { rq_eb_16880ca250 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_fuel_refining
					} hidden_effect = { rq_eb_7db5e66f66 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_tanks
					} hidden_effect = { rq_eb_fca8b22b9a = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_infantry_fighting_vehicles
					} hidden_effect = { rq_eb_b351815985 = yes }
				}
				10 = {
					add_tech_bonus = {
						name = GER_modernize_equipment
						bonus = 0.10
						uses = 1
						category = CAT_armored_personnel_carriers
					} hidden_effect = { rq_eb_4e86f8eeae = yes }
				}
			}
		}

		ai_will_do = { base = 5 }
	}

	GER_maximize_training_efficiency = {
		days_remove = 30

		available = {
			NOT = {
				OR = {
					has_decision = GER_recruitment_campaigns
					has_decision = GER_modernize_equipment
					has_decision = GER_upgrade_military_infrastructure
					has_decision = GER_allocate_larger_budget
				}
			}
		}

		custom_cost_trigger = { command_power > 19 }
		custom_cost_text = command_power_more_than_20

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_maximize_training_efficiency"
			add_command_power = -20
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_maximize_training_efficiency"
			custom_effect_tooltip = GER_add_5_bundes_reform
			add_to_variable = {
				var = bundeswehr_recovery_status
				value = 5
			}
			GER_update_dirty_variable = yes
		}

		modifier = { experience_gain_army_unit_factor = 0.20 }
		ai_will_do = { base = 1 }
	}

	GER_recruitment_campaigns = {
		days_remove = 30

		available = {
			NOT = {
				OR = {
					has_decision = GER_maximize_training_efficiency
					has_decision = GER_modernize_equipment
					has_decision = GER_upgrade_military_infrastructure
					has_decision = GER_allocate_larger_budget
				}
			}
		}

		custom_cost_trigger = { has_army_experience > 19 }
		custom_cost_text = army_xp_20

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_recruitment_campaigns"
			army_experience = -20
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_recruitment_campaigns"
			custom_effect_tooltip = GER_add_5_bundes_reform
			add_to_variable = {
				var = bundeswehr_recovery_status
				value = 5
			}
			GER_update_dirty_variable = yes
			add_manpower = 900
		}

		ai_will_do = { base = 1 }
	}
}

GER_civil_war_mission = {
	GER_incoming_collapse = {
		fire_only_once = yes
		activation = { hidden_trigger = { has_country_flag = GER_incoming_disaster } }

		available = {
			has_country_flag = GER_did_mission_1_cw
			has_country_flag = GER_did_mission_2_cw
			has_country_flag = GER_did_mission_3_cw
		}

		days_mission_timeout = 100
		is_good = no

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_incoming_collapse"
			custom_effect_tooltip = GER_civil_war_TT
			hidden_effect = { country_event = germany.235 }
		}
	}

	GER_purge_banks = {
		fire_only_once = yes
		days_remove = 20

		available = {
			NOT = { has_decision = GER_purge_government_institutions }
			NOT = { has_decision = GER_purge_military }
		}

		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_purge_banks"
			set_country_flag = GER_did_mission_3_cw
			custom_effect_tooltip = GER_depression_TT
			hidden_effect = {
				decrease_economic_growth = yes
				decrease_economic_growth = yes
				decrease_economic_growth = yes
				decrease_economic_growth = yes
			}
		}

		ai_will_do = {
			base = 20
			modifier = {
				factor = 0
				has_political_power < 50
			}
			modifier = {
				add = 10
				has_stability < 0.5
			}
			modifier = {
				add = 15
				has_stability < 0.35
			}
			modifier = {
				factor = 1.5
				OR = {
					has_country_flag = GER_did_mission_1_cw
					has_country_flag = GER_did_mission_2_cw
				}
			}
			modifier = {
				factor = 2
				has_country_flag = GER_did_mission_1_cw
				has_country_flag = GER_did_mission_2_cw
			}
			modifier = {
				factor = 0
				GER_ai_republic_collapse_path = yes
			}
		}
	}

	GER_purge_government_institutions = {
		fire_only_once = yes
		days_remove = 20
		cost = 50

		available = {
			NOT = { has_decision = GER_purge_military }
			NOT = { has_decision = GER_purge_banks }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_purge_government_institutions"
			set_country_flag = GER_did_mission_2_cw
			custom_effect_tooltip = GER_spending_cut_TT
			hidden_effect = {
				decrease_social_spending = yes
				decrease_social_spending = yes
				decrease_social_spending = yes
				decrease_policing_budget = yes
				decrease_education_budget = yes
				decrease_centralization = yes
			}
		}

		ai_will_do = {
			base = 20
			modifier = {
				factor = 0
				has_political_power < 50
			}
			modifier = {
				add = 10
				has_stability < 0.5
			}
			modifier = {
				add = 15
				has_stability < 0.35
			}
			modifier = {
				factor = 1.5
				OR = {
					has_country_flag = GER_did_mission_1_cw
					has_country_flag = GER_did_mission_3_cw
				}
			}
			modifier = {
				factor = 2
				has_country_flag = GER_did_mission_1_cw
				has_country_flag = GER_did_mission_3_cw
			}
			modifier = {
				factor = 0
				GER_ai_republic_collapse_path = yes
			}
		}
	}

	GER_purge_military = {
		fire_only_once = yes
		days_remove = 20
		cost = 50

		available = {
			NOT = { has_decision = GER_purge_government_institutions }
			NOT = { has_decision = GER_purge_banks }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_purge_military"
			custom_effect_tooltip = GER_military_cut_TT
			set_country_flag = GER_did_mission_1_cw
			hidden_effect = {
				decrease_intervention_law_effect = yes
				decrease_officer_training_level = yes
				decrease_intervention_law_effect = yes
				decrease_officer_training_level = yes
				decrease_intervention_law_effect = yes
				decrease_officer_training_level = yes
			}
		}

		ai_will_do = {
			base = 20
			modifier = {
				factor = 0
				has_political_power < 50
			}
			modifier = {
				add = 10
				has_stability < 0.5
			}
			modifier = {
				add = 15
				has_stability < 0.35
			}
			modifier = {
				factor = 1.5
				OR = {
					has_country_flag = GER_did_mission_2_cw
					has_country_flag = GER_did_mission_3_cw
				}
			}
			modifier = {
				factor = 2
				has_country_flag = GER_did_mission_2_cw
				has_country_flag = GER_did_mission_3_cw
			}
			modifier = {
				factor = 0
				GER_ai_republic_collapse_path = yes
			}
		}
	}
}
# German War on Terror Decisions #
GER_war_on_terror = {
	GER_authorize_attack = {
		fixed_random_seed = no
		days_remove = 20
		custom_cost_trigger = { has_army_experience > 19 }
		custom_cost_text = army_xp_20

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_authorize_airstrike
						has_decision = GER_authorize_aid_mission
						has_decision = GER_authorize_20_new_troops
						has_decision = GER_withdraw_troops
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_authorize_attack"
			hidden_effect = { army_experience = -20 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_authorize_attack"
			custom_effect_tooltip = GER_conduct_attack_TT
			hidden_effect = {
				random_list = {
					60 = { country_event = germany.403 }
					40 = { country_event = germany.404 }
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_authorize_airstrike = {
		fixed_random_seed = no
		days_remove = 40
		custom_cost_trigger = { has_air_experience > 19 }
		custom_cost_text = air_xp_20

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_authorize_attack
						has_decision = GER_authorize_aid_mission
						has_decision = GER_authorize_20_new_troops
						has_decision = GER_withdraw_troops
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_authorize_airstrike"
			hidden_effect = { air_experience = -20 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_authorize_airstrike"
			custom_effect_tooltip = GER_airstrike_authorize_TT
			hidden_effect = {
				random_list = {
					60 = { country_event = germany.4011 }
					40 = { country_event = germany.4021 }
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_authorize_aid_mission = {
		days_remove = 60
		custom_cost_trigger = { check_variable = { treasury > 14.99 } }
		custom_cost_text = cost_15_0

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_authorize_attack
						has_decision = GER_authorize_airstrike
						has_decision = GER_authorize_20_new_troops
						has_decision = GER_withdraw_troops
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_authorize_aid_mission"
			hidden_effect = {
				set_temp_variable = { treasury_change = -15.00 }
				modify_treasury_effect = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_authorize_aid_mission"
			custom_effect_tooltip = GER_increase_popularity_TT
			add_to_variable = { var = GER_soldiers_popularity_mideast value = 1 }
			clamp_variable = { var = GER_soldiers_popularity_mideast min = 0 max = 100 }
		}

		ai_will_do = { base = 1 }
	}

	GER_authorize_20_new_troops = {
		days_remove = 20
		cost = 100

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_authorize_attack
						has_decision = GER_authorize_airstrike
						has_decision = GER_authorize_aid_mission
						has_decision = GER_withdraw_troops
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_authorize_20_new_troops"
			add_manpower = -20
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_authorize_20_new_troops"
			custom_effect_tooltip = GER_deploy_20_TT
			add_to_variable = { var = GER_soldiers_in_mideast value = 20 }
			clamp_variable = { var = GER_soldiers_in_mideast min = 0 max = 8000 }
		}

		ai_will_do = { base = 1 }
	}

	GER_withdraw_troops = {
		days_remove = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_authorize_attack
						has_decision = GER_authorize_airstrike
						has_decision = GER_authorize_aid_mission
						has_decision = GER_authorize_20_new_troops
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_withdraw_troops"
			clr_country_flag = GER_war_on_terror_started
			clear_variable = GER_soldiers_in_mideast
			clear_variable = GER_soldiers_popularity_mideast
		}

		ai_will_do = { base = 1 }
	}
}

GER_imperial_bloc_invites = {
	GER_invite_italy = {
		fire_only_once = yes
		days_remove = 60
		visible = { country_exists = ITA }

		available = {
			ITA = {
				nationalist_monarchists_are_in_power = yes
				NOT = { is_subject_of = GER }
				NOT = { is_in_faction_with = GER }
				has_civil_war = no
			}
		}

		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_invite_italy"
			ITA = {
				country_event = {
					id = germany.240
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_invite_turkey = {
		fire_only_once = yes
		days_remove = 60
		visible = { country_exists = TUR }

		available = {
			TUR = {
				nationalist_monarchists_are_in_power = yes
				NOT = { is_subject_of = GER }
				NOT = { is_in_faction_with = GER }
				has_civil_war = no
			}
		}

		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_invite_turkey"
			TUR = {
				country_event = {
					id = germany.240
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_invite_france = {
		fire_only_once = yes
		days_remove = 60
		visible = { country_exists = FRA }

		available = {
			FRA = {
				nationalist_monarchists_are_in_power = yes
				NOT = { is_subject_of = GER }
				NOT = { is_in_faction_with = GER }
				has_civil_war = no
			}
		}

		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_invite_france"
			FRA = {
				country_event = {
					id = germany.240
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_invite_england = {
		fire_only_once = yes
		days_remove = 60
		visible = { country_exists = ENG }

		available = {
			ENG = {
				nationalist_monarchists_are_in_power = yes
				NOT = { is_subject_of = GER }
				NOT = { is_in_faction_with = GER }
				has_civil_war = no
			}
		}

		cost = 50

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_invite_england"
			ENG = {
				country_event = {
					id = germany.240
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}
}

GER_V_fall_Decision = {
	GER_Declare_V_Fall = {
		visible = { NOT = { has_country_flag = GER_V_fall } }
		available = { GER_V_Fall_justified = yes }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Declare_V_Fall"
			set_country_flag = GER_V_fall
			remove_ideas = german_legacy
			clr_country_flag = GER_Final_settlement
			if = {
				limit = { NOT = { has_completed_focus = GER_nuclear_rearmarment } }
				clr_country_flag = GER_no_nuclear
				custom_effect_tooltip = GER_start_V_Fall_nuclear_TT
			}
			add_stability = 0.1
			add_war_support = 0.1
			add_ideas = GER_idea_V_Fall
			if = {
				limit = { has_idea = defence_00 }
				swap_ideas = { remove_idea = defence_00 add_idea = defence_04 }
			}
			else_if = {
				limit = { has_idea = defence_01 }
				swap_ideas = { remove_idea = defence_01 add_idea = defence_04 }
			}
			else_if = {
				limit = { has_idea = defence_02 }
				swap_ideas = { remove_idea = defence_02 add_idea = defence_04 }
			}
			else_if = {
				limit = { has_idea = defence_03 }
				swap_ideas = { remove_idea = defence_03 add_idea = defence_04 }
			}
			else_if = {
				limit = { has_idea = defence_04 }
				swap_ideas = { remove_idea = defence_04 add_idea = defence_05 }
			}
			increase_policing_budget = yes
			increase_conscription_effect = yes
			hidden_effect = {
				news_event = { id = GER_news.01 hours = 6 }
			}
		}

		ai_will_do = { base = 100 }
	}

	GER_Territorial_Defense = {
		fire_only_once = yes
		days_remove = 45
		visible = { has_country_flag = GER_V_fall }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Territorial_Defense"
			GER = {
				division_template = {
					name = "Heimatschutzbrigade"
					is_locked = yes
					regiments = {
						Mot_Inf_Bat = { x = 0 y = 0 }
						Mot_Inf_Bat = { x = 0 y = 1 }
						Mot_Inf_Bat = { x = 0 y = 2 }
						Mech_Inf_Bat = { x = 1 y = 0 }
					}
					support = {
						H_Engi_Comp = { x = 0 y = 0 }
						Mech_Recce_Comp = { x = 0 y = 1 }
						armor_Comp = { x = 0 y = 2 }
						SP_arty_battery = { x = 0 y = 3 }
					}
					priority = 0
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Heimatschutzbrigade 51\" division_template = \"Heimatschutzbrigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 11331
				}
				create_unit = {
					division = "name = \"Heimatschutzbrigade 52\" division_template = \"Heimatschutzbrigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 11388
				}
				create_unit = {
					division = "name = \"Heimatschutzbrigade 53\" division_template = \"Heimatschutzbrigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 587
				}
				create_unit = {
					division = "name = \"Heimatschutzbrigade 54\" division_template = \"Heimatschutzbrigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 3558
				}
				create_unit = {
					division = "name = \"Heimatschutzbrigade 55\" division_template = \"Heimatschutzbrigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 519
				}
				create_unit = {
					division = "name = \"Heimatschutzbrigade 56\" division_template = \"Heimatschutzbrigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 571
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	GER_call_reservists = {
		fire_only_once = yes
		days_remove = 45
		visible = { has_country_flag = GER_V_fall }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_call_reservists"
			add_manpower = 150000
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_call_reservists"
			GER = {
				division_template = {
					name = "Inactive Brigade"
					# division_names_group = GER_MEC_02
					regiments = {
						armor_Bat = { x = 0 y = 0 }
						Arm_Inf_Bat = { x = 0 y = 1 }
						SP_Arty_Bat = { x = 0 y = 2 }
						Mech_Inf_Bat = { x = 1 y = 0 }
						Mech_Inf_Bat = { x = 1 y = 1 }
						Arm_Inf_Bat = { x = 1 y = 2 }
					}
					support = {
						H_Engi_Comp = { x = 0 y = 0 }
						armor_Recce_Comp = { x = 0 y = 1 }
						SP_AA_Battery = { x = 0 y = 2 }
						combat_service_support_company = { x = 0 y = 3 }
					}
					priority = 0
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Panzerbrigade 8\" division_template = \"Inactive Brigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 6263
				}
				create_unit = {
					division = "name = \"Panzergrenadierbrigade 32\" division_template = \"Inactive Brigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 3326
				}
				create_unit = {
					division = "name = \"Panzergrenadierbrigade 5\" division_template = \"Inactive Brigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 11445
				}
				create_unit = {
					division = "name = \"Panzergrenadierbrigade 2\" division_template = \"Inactive Brigade\" start_experience_factor = 0.5 start_equipment_factor = 0.01"
					owner = GER
					prioritize_location = 9375
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	GER_fortifications_I = {
		days_remove = 30
		days_re_enable = 365
		visible = { has_country_flag = GER_V_fall }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_fortifications_I"
			38 = {
				add_building_construction = {
					type = bunker
					level = 3
					province = 9264
					instant_build = yes
				}
			}
			1080 = {
				add_building_construction = {
					type = bunker
					level = 3
					province = 6325
					instant_build = yes
				}
			}
			37 = {
				add_building_construction = {
					type = bunker
					level = 3
					province = 9320
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 11331
					instant_build = yes
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	GER_fortifications_II = {
		days_remove = 30
		days_re_enable = 365
		visible = { has_country_flag = GER_V_fall }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_fortifications_II"
			38 = {
				add_building_construction = {
					type = bunker
					level = 3
					province = 6513
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 11402
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 9375
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 9238
					instant_build = yes
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	GER_fortifications_III = {
		days_remove = 30
		days_re_enable = 365
		visible = { has_country_flag = GER_V_fall }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_fortifications_III"
			964 = {
				add_building_construction = {
					type = bunker
					level = 3
					province = 11404
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 3474
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 6421
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 13116
					instant_build = yes
				}
			}
			41 = {
				add_building_construction = {
					type = bunker
					level = 3
					province = 11445
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 9524
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 564
					instant_build = yes
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	GER_end_V_Fall = {
		visible = { has_country_flag = GER_V_fall }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_end_V_Fall"
			GER_end_V_Fall_effect = yes
		}

		# The AI leaves it to GER_V_Fall_lapse so it does not flip-flop around the threat threshold.
		ai_will_do = { base = 0 }
	}

	GER_V_Fall_lapse = {
		available = { always = no }
		activation = {
			has_country_flag = GER_V_fall
			GER_V_Fall_justified = no
		}
		days_mission_timeout = 90
		is_good = no

		cancel_trigger = {
			OR = {
				NOT = { has_country_flag = GER_V_fall }
				GER_V_Fall_justified = yes
			}
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_V_Fall_lapse"
			GER_end_V_Fall_effect = yes
		}
	}
}

GER_Officer_Training_Decisions = {
	#German National courses
	GER_General_Staff_Course_Hamburg = {
		fixed_random_seed = no
		days_remove = 90
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_General_Staff_Course_Hamburg"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_General_Staff_Course_Hamburg"
			random_army_leader = {
				limit = { is_field_marshal = no }
				random_list = {
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_planning = 1
						add_unit_leader_trait = brilliant_strategist
					}
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_unit_leader_trait = career_officer
					}
					25 = {
						gain_xp = 100
						add_planning = 1
						add_unit_leader_trait = trickster
					}
					25 = {
						gain_xp = 100
						add_planning = 1
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_Leadership_course_for_officers_Koblenz = {
		fixed_random_seed = no
		days_remove = 90
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Leadership_course_for_officers_Koblenz"
			set_temp_variable = { treasury_change = -5.05 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Leadership_course_for_officers_Koblenz"
			random_army_leader = {
				limit = { is_field_marshal = no }
				random_list = {
					25 = {
						gain_xp = 100
						add_logistics = 1
						add_planning = 1
						add_unit_leader_trait = organizer_expert
					}
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_unit_leader_trait = career_officer
					}
					25 = {
						gain_xp = 100
						add_logistics = 1
						add_unit_leader_trait = organizer
					}
					25 = {
						gain_xp = 100
						add_planning = 1
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_National_Defense_and_Armed_forces_Planning_Course = {
		fixed_random_seed = no
		days_remove = 90
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_National_Defense_and_Armed_forces_Planning_Course"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_National_Defense_and_Armed_forces_Planning_Course"
			random_army_leader = {
				limit = { is_field_marshal = no }
				random_list = {
					25 = {
						gain_xp = 100
						add_defense = 1
						add_planning = 1
						add_unit_leader_trait = organizer
					}
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_unit_leader_trait = career_officer
					}
					25 = {
						gain_xp = 100
						add_defense = 1
						add_unit_leader_trait = ambusher
					}
					25 = {
						gain_xp = 100
						add_defense = 1
						add_unit_leader_trait = camouflage_expert
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_Operational_leadership_and_command_course = {
		fixed_random_seed = no
		days_remove = 90
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Operational_leadership_and_command_course"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Operational_leadership_and_command_course"
			random_army_leader = {
				limit = { is_field_marshal = no }
				random_list = {
					25 = {
						gain_xp = 100
						add_attack = 1
						add_planning = 1
						add_unit_leader_trait = panzer_leader
					}
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_unit_leader_trait = infantry_leader
					}
					25 = {
						gain_xp = 100
						add_attack = 1
						add_unit_leader_trait = artillery_leader
					}
					25 = {
						gain_xp = 100
						add_attack = 1
						add_unit_leader_trait = armoured_cavalry_leader
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_military_intelligence_course = {
		fixed_random_seed = no
		days_remove = 90
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_military_intelligence_course"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_military_intelligence_course"
			random_army_leader = {
				limit = { is_field_marshal = no }
				random_list = {
					25 = {
						gain_xp = 100
						add_attack = 1
						add_planning = 1
						add_unit_leader_trait = trickster
					}
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_unit_leader_trait = commando
					}
					25 = {
						gain_xp = 100
						add_attack = 1
						add_unit_leader_trait = ambusher
					}
					25 = {
						gain_xp = 100
						add_attack = 1
						add_unit_leader_trait = trait_engineer
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_multinational_planning_seminar = {
		fixed_random_seed = no
		days_remove = 90
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_multinational_planning_seminar"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_multinational_planning_seminar"
			random_army_leader = {
				limit = { is_field_marshal = no }
				random_list = {
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_logistics = 1
						add_unit_leader_trait = trickster
					}
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_unit_leader_trait = career_officer
					}
					25 = {
						gain_xp = 100
						add_logistics = 1
						add_unit_leader_trait = skilled_staffer
					}
					25 = {
						gain_xp = 100
						add_logistics = 1
						add_unit_leader_trait = trait_engineer
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	# Naval Course
	GER_Admiral_staff_course = {
		fixed_random_seed = no
		days_remove = 90
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Admiral_staff_course"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Admiral_staff_course"
			random_navy_leader = {
				random_list = {
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_unit_leader_trait = navy_career_officer
					}
					25 = {
						gain_xp = 100
						add_attack = 1
						add_coordination = 1
						add_unit_leader_trait = seawolf
					}
					25 = {
						gain_xp = 100
						add_defense = 1
						add_coordination = 1
						add_maneuver = 1
						add_unit_leader_trait = fleet_protector
					}
					25 = {
						gain_xp = 100
						add_attack = 1
						add_defense = 1
						add_coordination = 1
						add_maneuver = 1
						add_unit_leader_trait = hunter_killer
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_Multi_national_Maritime_leadership_course = {
		fixed_random_seed = no
		days_remove = 90
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Multi_national_Maritime_leadership_course"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Multi_national_Maritime_leadership_course"
			random_navy_leader = {
				random_list = {
					25 = {
						gain_xp = 100
						add_skill_level = 1
						add_unit_leader_trait = smoke_screen_expert
					}
					25 = {
						gain_xp = 100
						add_attack = 1
						add_coordination = 1
						add_unit_leader_trait = blockade_runner
					}
					25 = {
						gain_xp = 100
						add_defense = 1
						add_coordination = 1
						add_maneuver = 1
						add_unit_leader_trait = marksman
					}
					25 = {
						gain_xp = 100
						add_attack = 1
						add_defense = 1
						add_coordination = 1
						add_maneuver = 1
						add_unit_leader_trait = small_ship_captain
					}
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	#Unit leader training
	GER_Launch_small_Trainings_exercise = {
		days_remove = 365
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Launch_small_Trainings_exercise"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Launch_small_Trainings_exercise"
			GER = {
				random_country_division = { add_divisional_commander_xp = 170 }
				random_country_division = { add_divisional_commander_xp = 170 }
			}
		}

		ai_will_do = { base = 1 }
	}

	GER_Launch_big_Trainings_exercise = {
		days_remove = 365
		cost = 70
		visible = { has_idea = NATO_member }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Launch_big_Trainings_exercise"
			set_temp_variable = { treasury_change = -6.00 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Launch_big_Trainings_exercise"
			GER = {
				random_country_division = { add_divisional_commander_xp = 110 }
				random_country_division = { add_divisional_commander_xp = 110 }
				random_country_division = { add_divisional_commander_xp = 110 }
				random_country_division = { add_divisional_commander_xp = 110 }
			}
		}

		ai_will_do = { base = 1 }
	}
}

GER_balance_of_power_category = {
	GER_Promote_Cultural_exchange_Programs = {
		icon = GFX_decision_SWI_swiss_democratic_tradition_campaign
		days_remove = 50
		cost = 50

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						#has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Promote_Cultural_exchange_Programs"
			add_power_balance_value = {
				id = GER_power_balance
				value = -0.05
			}
		}

		modifier = {
			research_speed_factor = 0.03
			migration_rate_value_factor = 0.03
			democratic_drift = 0.03
			productivity_growth_modifier = 0.03
		}

		ai_will_do = { base = 1 }
	}

	GER_provide_federal_foundings_for_migration_cultural_centers = {
		icon = GFX_decision_SWI_support_humanitarian_efforts
		days_remove = 50
		cost = 65

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						#has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_provide_federal_foundings_for_migration_cultural_centers"
			add_power_balance_value = {
				id = GER_power_balance
				value = -0.075
			}
		}

		modifier = {
			stability_factor = 0.06
			migration_rate_value_factor = 0.05
			police_cost_multiplier_modifier = -0.05
			social_cost_multiplier_modifier = 0.02
		}

		ai_will_do = { base = 1 }
	}

	GER_Support_Multicultural_Art_and_literature_initiative = {
		icon = GFX_decision_SWI_elect_confederation_president
		days_remove = 50
		cost = 80

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						#has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Support_Multicultural_Art_and_literature_initiative"
			add_power_balance_value = {
				id = GER_power_balance
				value = -0.1
			}
		}

		modifier = {
			stability_factor = 0.04
			neutrality_drift = 0.03
			communism_drift = 0.01
			political_power_gain = 0.10
		}

		ai_will_do = { base = 1 }
	}

	GER_launch_multicultural_media_campain = {
		icon = GFX_decision_tur_the_constitutional_arrows_category
		days_remove = 50
		cost = 95

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						#has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_launch_multicultural_media_campain"
			add_power_balance_value = {
				id = GER_power_balance
				value = -0.125
			}
			set_temp_variable = { party_popularity_increase = 0.01 }
			set_temp_variable = { temp_outlook_increase = 0.002 }
			change_relative_party_popularity = yes
		}

		modifier = {
			neutrality_drift = 0.03
			neutrality_acceptance = 1.2
			communism_drift = 0.01
			political_power_gain = 0.10
		}

		ai_will_do = { base = 1 }
	}

	GER_Launch_Erinnerungskultur_campain = {
		icon = GFX_decision_eng_propaganda_campaigns
		days_remove = 50
		cost = 110

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						#has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Launch_Erinnerungskultur_campain"
			add_power_balance_value = {
				id = GER_power_balance
				value = -0.15
			}
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.002 }
			change_relative_party_popularity = yes
			add_stability = -0.025
		}

		modifier = {
			neutrality_drift = 0.03
			neutrality_acceptance = 1.2
			communism_drift = 0.01
			communism_acceptance = 1.2
			political_power_gain = 0.10
			education_cost_multiplier_modifier = 0.05
		}

		ai_will_do = { base = 1 }
	}

	#no multi culti
	GER_Revitalize_german_historical_Narratives_in_school = {
		icon = GFX_decision_fascism_button
		days_remove = 50
		cost = 50

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						#has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Revitalize_german_historical_Narratives_in_school"
			add_power_balance_value = {
				id = GER_power_balance
				value = 0.05
			}
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		modifier = {
			nationalist_acceptance = 1.1
			nationalist_drift = 0.06
			stability_factor = 0.01
			education_cost_multiplier_modifier = 0.10
			research_speed_factor = 0.01
		}

		ai_will_do = { base = 1 }
	}

	GER_Promote_Traditional_german_values_in_media = {
		icon = GFX_decision_fascism_button
		days_remove = 65
		cost = 50

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						#has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Promote_Traditional_german_values_in_media"
			add_power_balance_value = {
				id = GER_power_balance
				value = 0.075
			}
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		modifier = {
			nationalist_acceptance = 1.1
			democratic_drift = 0.03
			industrial_capacity_factory = 0.15
			country_productivity_growth_modifier = 0.05
			migration_rate_value_factor = -0.02
		}

		ai_will_do = { base = 1 }
	}

	GER_Support_heimatverein = {
		icon = GFX_decision_fascism_button
		days_remove = 50
		cost = 80

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						#has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Support_heimatverein"
			add_power_balance_value = {
				id = GER_power_balance
				value = 0.1
			}
			add_stability = 0.025
		}

		modifier = {
			migration_rate_value_factor = -0.04
			productivity_growth_modifier = 0.1
			agricolture_productivity_modifier = 0.03
			nationalist_drift = 0.01
		}

		ai_will_do = { base = 1 }
	}

	GER_Fund_national_Culture_festivals = {
		icon = GFX_decision_fascism_button
		days_remove = 50
		cost = 95

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						#has_decision = GER_Fund_national_Culture_festivals
						has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Fund_national_Culture_festivals"
			add_power_balance_value = {
				id = GER_power_balance
				value = 0.125
			}
		}

		modifier = {
			research_speed_factor = 0.05
			stability_factor = 0.05
			party_popularity_stability_factor = 0.05
		}

		ai_will_do = { base = 1 }
	}

	GER_Launch_national_identity_courses_for_migrants = {
		icon = GFX_decision_fascism_button
		days_remove = 50
		cost = 110

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = GER_Promote_Cultural_exchange_Programs
						has_decision = GER_provide_federal_foundings_for_migration_cultural_centers
						has_decision = GER_Support_Multicultural_Art_and_literature_initiative
						has_decision = GER_launch_multicultural_media_campain
						has_decision = GER_Launch_Erinnerungskultur_campain
						has_decision = GER_Revitalize_german_historical_Narratives_in_school
						has_decision = GER_Promote_Traditional_german_values_in_media
						has_decision = GER_Support_heimatverein
						has_decision = GER_Fund_national_Culture_festivals
						#has_decision = GER_Launch_national_identity_courses_for_migrants
					}
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_Launch_national_identity_courses_for_migrants"
			add_power_balance_value = {
				id = GER_power_balance
				value = 0.15
			}
			add_stability = 0.025
		}

		modifier = {
			corruption_cost_factor = -0.15
			stability_factor = 0.05
			migration_rate_value_factor = -0.02
			bureaucracy_cost_multiplier_modifier = -0.05
			nationalist_drift = 0.02
			nationalist_acceptance = 1.1
		}

		ai_will_do = { base = 1 }
	}
}

GER_SAPOS_decision = {
	GER_lease_acces_china = {
		available = {
			GER = {
				has_government = democratic
				NOT = { has_war_with = CHI }
				has_opinion = {
					target = CHI
					value > 9
				}
			}
			CHI = {
				NOT = { has_war_with = GER }
				NOT = { has_government = nationalist }
				NOT = { has_government = fascism }
				has_opinion = {
					target = GER
					value > 9
				}
			}
		}

		cost = 50
		days_remove = 365

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_lease_acces_china"
			GER = {
				add_to_variable = { GNSS_satellite_array^3 = 5 }
				add_to_variable = { GNSS_satellite_array^4 = 10 }
				add_to_variable = { COM_satellite_array^4 = 8 }
				add_to_variable = { COM_satellite_array^5 = 4 }
				update_missile_satellite_inventory = yes
			}
			CHI = {
				set_temp_variable = { treasury_change = CHI.gdp_per_capita }
				multiply_temp_variable = { treasury_change = 1.00 }
				modify_treasury_effect = yes
			}
			custom_effect_tooltip = GER_SAPOS_CHI_I
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_lease_acces_china"
			GER = {
				subtract_from_variable = { GNSS_satellite_array^3 = 5 }
				subtract_from_variable = { GNSS_satellite_array^4 = 10 }
				subtract_from_variable = { COM_satellite_array^4 = 8 }
				subtract_from_variable = { COM_satellite_array^5 = 4 }
				update_missile_satellite_inventory = yes
			}
			custom_effect_tooltip = GER_SAPOS_CHI_II
		}

		ai_will_do = { base = 1 }
	}

	GER_lease_acces_RUS = {
		cost = 50
		days_remove = 365

		available = {
			GER = {
				has_government = democratic
				NOT = { has_war_with = SOV }
				has_opinion = {
					target = SOV
					value > 9
				}
			}
			SOV = {
				NOT = { has_war_with = GER }
				NOT = { has_government = nationalist }
				NOT = { has_government = fascism }
				has_opinion = {
					target = GER
					value > 9
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_lease_acces_RUS"
			GER = {
				add_to_variable = { GNSS_satellite_array^3 = 15 }
				add_to_variable = { GNSS_satellite_array^5 = 15 }
				add_to_variable = { COM_satellite_array^3 = 5 }
				add_to_variable = { COM_satellite_array^4 = 4 }
				add_to_variable = { COM_satellite_array^5 = 3 }
				update_missile_satellite_inventory = yes
			}
			SOV = {
				set_temp_variable = { treasury_change = SOV.gdp_per_capita }
				multiply_temp_variable = { treasury_change = 0.30 }
				modify_treasury_effect = yes
			}
			custom_effect_tooltip = GER_SAPOS_SOV_I
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_lease_acces_RUS"
			GER = {
				subtract_from_variable = { GNSS_satellite_array^3 = 15 }
				subtract_from_variable = { GNSS_satellite_array^5 = 15 }
				subtract_from_variable = { COM_satellite_array^3 = 5 }
				subtract_from_variable = { COM_satellite_array^4 = 4 }
				subtract_from_variable = { COM_satellite_array^5 = 3 }
				update_missile_satellite_inventory = yes
			}
			custom_effect_tooltip = GER_SAPOS_SOV_II
		}

		ai_will_do = { base = 1 }
	}

	GER_lease_acces_USA = {
		cost = 50
		days_remove = 365

		available = {
			GER = {
				has_government = democratic
				NOT = { has_war_with = USA }
				has_opinion = {
					target = USA
					value > 9
				}
			}
			USA = {
				NOT = { has_war_with = GER }
				NOT = { has_government = nationalist }
				NOT = { has_government = fascism }
				has_opinion = {
					target = GER
					value > 9
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_lease_acces_USA"
			GER = {
				add_to_variable = { GNSS_satellite_array^2 = 5 }
				add_to_variable = { GNSS_satellite_array^3 = 5 }
				add_to_variable = { GNSS_satellite_array^4 = 3 }
				add_to_variable = { GNSS_satellite_array^5 = 8 }
				add_to_variable = { GNSS_satellite_array^6 = 1 }
				add_to_variable = { COM_satellite_array^3 = 5 }
				add_to_variable = { COM_satellite_array^4 = 5 }
				add_to_variable = { COM_satellite_array^5 = 2 }
				update_missile_satellite_inventory = yes
			}
			USA = {
				set_temp_variable = { treasury_change = USA.gdp_per_capita }
				multiply_temp_variable = { treasury_change = 0.20 }
				modify_treasury_effect = yes
			}
			custom_effect_tooltip = GER_SAPOS_USA_I
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_lease_acces_USA"
			GER = {
				subtract_from_variable = { GNSS_satellite_array^2 = 5 }
				subtract_from_variable = { GNSS_satellite_array^3 = 5 }
				subtract_from_variable = { GNSS_satellite_array^4 = 3 }
				subtract_from_variable = { GNSS_satellite_array^5 = 8 }
				subtract_from_variable = { GNSS_satellite_array^6 = 1 }
				subtract_from_variable = { COM_satellite_array^3 = 5 }
				subtract_from_variable = { COM_satellite_array^4 = 5 }
				subtract_from_variable = { COM_satellite_array^5 = 2 }
				update_missile_satellite_inventory = yes
			}
			custom_effect_tooltip = GER_SAPOS_USA_II
		}

		ai_will_do = { base = 1 }
	}
}

GER_ai_path_category = {
	GER_ai_rally_the_conservatives = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { has_global_flag = GER_HISTORICAL_FOCUS_PATH }

		available = {
			has_civil_war = no
			western_conservatism_are_in_power = no
			has_completed_focus = GER_agenda_2010
			check_variable = { party_pop_array^1 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_ai_rally_the_conservatives"
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	GER_ai_conservatives_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { has_global_flag = GER_HISTORICAL_FOCUS_PATH }

		available = {
			has_civil_war = no
			western_conservatism_are_in_power = no
			check_variable = { party_pop_array^1 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_ai_conservatives_take_the_country"
			set_temp_variable = { rul_party_temp = 1 }
			set_temp_variable = { col_one = 3 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}

	GER_ai_rally_the_liberals = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { has_global_flag = GER_LIBERAL_FOCUS_PATH }

		available = {
			has_civil_war = no
			neutrality_neutral_libertarians_are_in_power = no
			check_variable = { party_pop_array^16 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_ai_rally_the_liberals"
			set_temp_variable = { party_index = 16 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	GER_ai_liberals_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { has_global_flag = GER_LIBERAL_FOCUS_PATH }

		available = {
			has_civil_war = no
			neutrality_neutral_libertarians_are_in_power = no
			check_variable = { party_pop_array^16 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_ai_liberals_take_the_country"
			set_temp_variable = { rul_party_temp = 16 }
			set_temp_variable = { col_one = 1 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}

	GER_ai_rally_the_greens = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { has_global_flag = GER_GREEN_FOCUS_PATH }

		available = {
			has_civil_war = no
			neutrality_neutral_green_are_in_power = no
			check_variable = { party_pop_array^17 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_ai_rally_the_greens"
			set_temp_variable = { party_index = 17 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	GER_ai_greens_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { has_global_flag = GER_GREEN_FOCUS_PATH }

		available = {
			has_civil_war = no
			neutrality_neutral_green_are_in_power = no
			check_variable = { party_pop_array^17 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_ai_greens_take_the_country"
			set_temp_variable = { rul_party_temp = 17 }
			set_temp_variable = { col_one = 3 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}

	GER_ai_rally_the_populists = {
		icon = generic_decision
		cost = 25
		days_re_enable = 30
		visible = { has_global_flag = GER_POPULIST_FOCUS_PATH }

		available = {
			has_civil_war = no
			nationalist_right_wing_populists_are_in_power = no
			check_variable = { party_pop_array^20 < 0.55 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_ai_rally_the_populists"
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 100 }
	}

	GER_ai_populists_take_the_country = {
		icon = generic_decision
		cost = 150
		days_re_enable = 180
		visible = { has_global_flag = GER_POPULIST_FOCUS_PATH }

		available = {
			has_civil_war = no
			nationalist_right_wing_populists_are_in_power = no
			check_variable = { party_pop_array^20 > 0.5 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GER_ai_populists_take_the_country"
			set_temp_variable = { rul_party_temp = 20 }
			change_ruling_party_effect = yes
		}

		ai_will_do = { base = 100 }
	}
}
