add_namespace = goering

add_namespace = goering.saw


############## SAF WAR EVENTS ########################################

country_event = { # Sending speidel to Africa
	id = goering.saw.0
	title = goering.saw.0.t
	desc = goering.saw.0.d
	picture = GFX_report_event_SAF_burning_village

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.0"}

	option = { # Speidel
		name = goering.saw.0.a
		set_country_flag = GER_COG_speidel
		every_unit_leader = {
			limit = { has_id = 70 }
			set_nationality = COG
		}
		every_country = {
			limit = {
				has_idea = AS_Member
			}
			add_ideas = RK_speidel_in_africa
		}
	}
}

country_event = { # Riefenstahls triumphant return to film making
	id = goering.saw.1
	title = goering.saw.1.t
	desc = goering.saw.1.d
	picture = GFX_report_event_generic_nazifascist_moviemaking

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.1"}

	option = {
		name = goering.saw.1.a
		COG = { 
			add_war_support = 0.15
		}
		GRO = { 
			add_war_support = 0.15
		}
		ANG = {
			add_war_support = 0.15
		}
		add_war_support = 0.15
		GGR_SAW_protest_decrease_med = yes
	}
}

country_event = { # How do we get additional manpower
	id = goering.saw.2
	title = goering.saw.2.t
	desc = goering.saw.2.d
	picture = GFX_report_event_generic_army

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.2"}

	option = { # We dont
		name = goering.saw.2.a
		GGR_SAW_involvement_decrease_small = yes
	}
	option = { # Conscript in Germany
		name = goering.saw.2.b
		ANG = {
			add_manpower = 20000
		}
		COG = {
			add_manpower = 20000
		}
		GRO = {
			add_manpower = 20000
		}
		GGR_SAW_involvement_increase_med = yes
		set_temp_variable = { temp_econ_spending_amount = 0.25 }
		econ_spend_money_once_effect_raw_money = yes
	}
	option = { # Conscript in Afrika
		name = goering.saw.2.c
		ANG = {
			add_manpower = 20000
			TNO_improve_conscription_policy_effectiveness_med = yes
		}
		COG = {
			add_manpower = 20000
			TNO_improve_conscription_policy_effectiveness_med = yes
		}
		GRO = {
			add_manpower = 20000
			TNO_improve_conscription_policy_effectiveness_med = yes
		}
		GGR_SAW_involvement_increase_big = yes
		set_temp_variable = { temp_econ_spending_amount = 0.25 }
		econ_spend_money_once_effect_raw_money = yes
	}
}

country_event = { # Speidels triumph, total loss
	id = goering.saw.3
	title = goering.saw.3.t
	desc = goering.saw.3.d
	picture = GFX_report_event_GER_ss_loading_truck

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.3"}

	option = {
		name = goering.saw.3.a
		GGR_decrease_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness_large = yes
		GGR_decrease_militarist_power = yes
		COG = {
			every_unit_leader = {
				limit = { has_id = 70 }
				set_nationality = GER
			}
		}
		set_country_flag = GGR_speidels_disgrace
		hidden_effect = {
			country_event = { id = goering.501 days = 90 }
		}
	}
}

country_event = { # Speidels triumph, ceasefires
	id = goering.saw.4
	title = goering.saw.4.t
	desc = goering.saw.4.d
	picture = GFX_report_event_GER_ss_loading_truck

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		log = "[GetDateText]: [Root.GetName]: event goering.saw.4"
		hidden_effect = {
			COG = {
				every_unit_leader = {
					limit = { has_id = 70 }
					set_nationality = GER
				}
			}
		}
	}

	option = { # Schild leaning
		name = goering.saw.4.a
		trigger = {
			BOR = {
				owns_state = 275
			}
		}
		GGR_increase_militarist_loyalty_small = yes
		GGR_decrease_militarist_hawkishness_small = yes
		GGR_decrease_militarist_power_small = yes
	}
	option = { # Neutral
		name = goering.saw.4.b
		trigger = {
			SAF = {
				owns_state = 275
			}
		}
		GGR_increase_militarist_loyalty_small = yes
		GGR_decrease_militarist_hawkishness_small = yes
	}
	option = { # OFN leaning
		name = goering.saw.4.c
		trigger = {
			SAF = {
				owns_state = 1058
			}
		}
		GGR_decrease_militarist_loyalty = yes
		GGR_increase_militarist_hawkishness = yes
	}
}

country_event = { # Speidels triumph, total win
	id = goering.saw.5
	title = goering.saw.5.t
	desc = goering.saw.5.d
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.5"}

	option = {
		name = goering.saw.5.a
		GGR_increase_militarist_loyalty_large = yes
		GGR_decrease_militarist_hawkishness = yes
		set_country_flag = GGR_speidels_triumph
		
		COG = {
			every_unit_leader = {
				limit = { has_id = 70 }
				set_nationality = GER
			}
		}
		hidden_effect = {
			country_event = { id = goering.501 days = 90 }
		}
	}
}

country_event = { # Africa loss
	id = goering.saw.6
	title = goering.saw.6.t
	desc = goering.saw.6.d
	picture = GFX_report_event_GER_ss_loading_truck

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.6"}

	option = {
		name = goering.saw.6.a
		GGR_decrease_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness_large = yes
		GGR_decrease_militarist_power = yes
		add_stability = -0.15
		add_war_support = -0.15
	}
}


country_event = { # Africa ceasefires
	id = goering.saw.7
	title = goering.saw.7.t
	desc = goering.saw.7.d
	picture = GFX_report_event_GER_ss_loading_truck

	fire_only_once = yes
	is_triggered_only = yes

	immediate = { log = "[GetDateText]: [Root.GetName]: event goering.saw.7"}

	option = { # Schild leaning
		name = goering.saw.7.a
		trigger = {
			BOR = {
				owns_state = 275
			}
		}
		GGR_increase_militarist_loyalty = yes
		GGR_decrease_militarist_hawkishness_small = yes
		GGR_increase_militarist_power_small = yes
		add_stability = 0.05
		add_war_support = 0.05
	}
	option = { # neutral
		name = goering.saw.7.b
		trigger = {
			SAF = {
				owns_state = 275
			}
		}
		GGR_decrease_militarist_loyalty_small = yes
		GGR_decrease_militarist_hawkishness_small = yes
		add_stability = -0.025
		add_war_support = -0.025
	}
	option = { # OFN leaning
		name = goering.saw.7.c
		trigger = {
			SAF = {
				owns_state = 1058
			}
		}
		GGR_decrease_militarist_loyalty = yes
		GGR_increase_militarist_hawkishness = yes
		GGR_decrease_militarist_power_small = yes
		add_stability = -0.075
		add_war_support = -0.075
	}
}


country_event = { # Africa win
	id = goering.saw.8
	title = goering.saw.8.t
	desc = goering.saw.8.d
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.8"}

	option = {
		name = goering.saw.8.a
		GGR_increase_militarist_loyalty_large = yes
		GGR_increase_militarist_power = yes
		add_stability = 0.1
		add_war_support = 0.1
	}
}

country_event = { # Hüttig's execution
	id = goering.saw.9
	title = goering.saw.9.t
	desc = goering.saw.9.d
	picture = GFX_report_event_GER_firing_squad

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.9"}

	option = {
		name = goering.saw.9.a
		country_event = { id = goering.saw.32 days = 1 }
	}
}

country_event = { # Muller returns
	id = goering.saw.10
	title = goering.saw.10.t
	desc = goering.saw.10.d
	picture = GFX_report_event_COG_muller

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.10"}

	option = {
		name = goering.saw.10.a
		COG = {
			COG_siegfried_muller = {
				set_nationality = GER
			}
		}
		COG_siegfried_muller = {
			set_portraits = {
				army = {
					large = "gfx/leaders/GER/Portrait_GER_Siegfried_Muller.png"
				}
			}
		}
	}
}

country_event = { #Göring chooses who to visit
	id = goering.saw.11
	title = goering.saw.11.t
	desc = goering.saw.11.d
	picture = GFX_report_event_BOR_saw_soldier

	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.11"}

	option = { #visit RK Sudwest
		name = goering.saw.11.a
		trigger = {
			NOT = {
				has_country_flag = GGR_visited_sudwest
			}
		}
		country_event = { id = goering.saw.12 days = 4 }
	}
	option = { #visit RK Ost
		name = goering.saw.11.b
		trigger = {
			NOT = {
				has_country_flag = GGR_visited_ostafrika
			}
		}
		country_event = { id = goering.saw.13 days = 4 }
	}
	option = { #visit RK Zentral
		name = goering.saw.11.c
		trigger = {
			NOT = {
				has_country_flag = GGR_visited_zentral
			}
		}
		country_event = { id = goering.saw.14 days = 4 }
	}
	option = {
		name = goering.saw.11.e
		trigger = {
			OR = {
				AND = {
					has_country_flag = GGR_visited_ostafrika
					has_country_flag = GGR_visited_sudwest
					has_country_flag = GGR_visited_zentral
				}
				has_country_flag = GGR_huttigs_betrayal
			}
		}
	}
}

country_event = { #Göring visits Sudwest
	id = goering.saw.12
	title = goering.saw.12.t
	desc = goering.saw.12.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.12"}

	option = { 
		name = goering.saw.12.a
		add_political_power = 60
		ANG = {
			add_stability = 0.05
			add_political_power = 60
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = GGR_huttigs_betrayal
				}
			}
			country_event = { id = goering.saw.11 days = 2 }
		}
		set_country_flag = GGR_visited_sudwest
	}
}

country_event = { #Göring visits Ost
	id = goering.saw.13
	title = goering.saw.13.t
	desc = goering.saw.13.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.13"}

	option = { 
		name = goering.saw.13.a
		add_political_power = 60
		GRO = {
			add_stability = 0.05
			add_political_power = 60
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = GGR_huttigs_betrayal
				}
			}
			country_event = { id = goering.saw.11 days = 2 }
		}
		set_country_flag = GGR_visited_ostafrika
	}
}

country_event = { #Göring visits Zentral
	id = goering.saw.14
	title = goering.saw.14.t
	desc = goering.saw.14.d
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.14"}

	option = { 
		name = goering.saw.14.a
		add_political_power = 60
		COG = {
			add_stability = 0.05
			add_political_power = 60
		}
		if = {
			limit = {
				NOT = {
					has_country_flag = GGR_huttigs_betrayal
				}
			}
			country_event = { id = goering.saw.11 days = 2 }
		}
		set_country_flag = GGR_visited_zentral
	}
}

country_event = { #Göring decides to visit Africa
	id = goering.saw.15
	title = goering.saw.15.t
	desc = goering.saw.15.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.15"}

	option = { 
		name = goering.saw.15.a
		country_event = { id = goering.saw.11 days = 3 }
	}
}

country_event = { #Göring decides to visit Africa
	id = goering.saw.16
	title = goering.saw.16.t
	desc = goering.saw.16.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.16"}

	option = { 
		name = goering.saw.16.a
	}
}

country_event = { #Stalemate Response 
	id = goering.saw.17
	title = goering.saw.17.t
	desc = goering.saw.17.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.17"}

	option = { 
		name = goering.saw.17.a
		add_war_support = 0.10
		add_political_power = -50
	}
}

country_event = { #Göring's Stalemate speech
	id = goering.saw.18
	title = goering.saw.18.t
	desc = goering.saw.18.d
	picture = GFX_report_event_GER_goering_speech

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.18"}

	option = { 
		name = goering.saw.18.a
	}
}

country_event = { #Blame Hüttig
	id = goering.saw.19
	title = goering.saw.19.t
	desc = goering.saw.19.d
	picture = GFX_report_event_GER_goering_speech

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.19"}

	option = { 
		name = goering.saw.19.a
		add_political_power = -150
	}
}


country_event = { #Blame Speidel
	id = goering.saw.20
	title = goering.saw.20.t
	desc = goering.saw.20.d
	picture = GFX_report_event_GER_goering_speech

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.20"}

	option = { 
		name = goering.saw.20.a
		country_event = { id = goering.saw.23 days = 2 }
		add_political_power = -50
	}
}


country_event = { #Blaming Hüttig
	id = goering.saw.21
	title = goering.saw.21.t
	desc = goering.saw.21.d
	picture = GFX_report_event_GER_goering_speech

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.21"}

	option = { 
		name = goering.saw.21.a
	}
}

country_event = { #Blaming Hüttig or Speidel?
	id = goering.saw.22
	title = goering.saw.22.t
	desc = goering.saw.22.d
	picture = GFX_report_event_hans_speidel

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.22"}

	option = { 
		name = goering.saw.22.a
		add_political_power = -50
	}
}

country_event = { #Speidel reacts angrily
	id = goering.saw.23
	title = goering.saw.23.t
	desc = goering.saw.23.d
	picture = GFX_report_event_hans_speidel

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.23"}

	option = { 
		name = goering.saw.23.a
	}
}

country_event = { #Pretorian Triumph
	id = goering.saw.24
	title = goering.saw.24.t
	desc = goering.saw.24.d
	picture = GFX_report_event_GER_goering_speech

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.24"}

	option = { 
		name = goering.saw.24.a
	}
}
country_event = { #Report of German soldiers fighting their way out - Ostafrika POV
	id = goering.saw.25
	title = goering.saw.25.t
	desc = goering.saw.25.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.25"}

	option = { 
		name = goering.saw.25.a
		add_stability = -0.05
		add_political_power = -50
		add_to_variable = {
			GRO.GRO_wwlf_manpower_loss = 50
		}
	}
}
country_event = { #African blockade flavor event
	id = goering.saw.26
	title = goering.saw.26.t
	desc = goering.saw.26.d
	picture = GFX_report_event_ITA_naval_ship

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.26"}

	option = { 
		name = goering.saw.26.a
		navy_experience = 20
	}
}
country_event = { #Infiltration In Africa Event
	id = goering.saw.27
	title = goering.saw.27.t
	desc = goering.saw.27.d
	picture = GFX_report_event_ITA_naval_ship

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.27"}

	option = { 
		name = goering.saw.27.a
		hidden_effect = {
			country_event = {
				id = goering.saw.28 days = 3
			}
		}
		custom_effect_tooltip = GGR_GRO_infil
	}
}
country_event = { #Making contact with the cabal
	id = goering.saw.28
	title = goering.saw.28.t
	desc = goering.saw.28.d
	picture = GFX_report_event_ITA_naval_ship

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.28"}

	option = { 
		name = goering.saw.28.a
		TNO_fopo_add_reichsstaat_african_cabal_tab = yes
		hidden_effect = {
			set_variable = { GRO_REICHSSTAAT_cabal_decay_GER = 0 }
			GRO = {
				set_country_flag = GRO_cabal_active
			}
			country_event = { id = goering.saw.29 days = 3 }
		}
	}
}
country_event = { #Response from the Cabal
	id = goering.saw.29
	title = goering.saw.29.t
	desc = goering.saw.29.d
	picture = GFX_report_event_ITA_naval_ship

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.29"}

	option = { 
		name = goering.saw.29.a
		add_to_variable = {
			GRO.GRO_REICHSSTAAT_cabal_power = 0.15
			tooltip = GER_increase_cabal_strength_tt
		}
		add_political_power = 50
	}
}

country_event = { #Abandoning Africa - for now
	id = goering.saw.30
	title = goering.saw.30.t
	desc = goering.saw.30.d
	picture = GFX_report_event_ITA_naval_ship

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.30"}

	option = { 
		name = goering.saw.30.a
		add_war_support = -0.05
		add_political_power = -25
		GGR_decrease_militarist_hawkishness_small = yes
	}
}

country_event = { #Failure in Africa
	id = goering.saw.31
	title = goering.saw.31.t
	desc = goering.saw.31.d
	picture = GFX_report_event_ITA_naval_ship

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: goering.saw.31"}

	option = { 
		name = goering.saw.31.a
		add_war_support = -0.15
		add_political_power = -150
		add_stability = -0.1
		add_popularity = { ideology = national_socialism_2 popularity = 0.05 }
		add_popularity = { ideology = national_socialism_1 popularity = 0.025 }
	}
}

country_event = { # Huttigs execution 2
	id = goering.saw.32
	title = goering.saw.32.t
	desc = goering.saw.32.d
	picture = GFX_report_event_GER_firing_squad

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.32"}

	option = {
		name = goering.saw.32.a
		add_manpower = -1
		add_political_power = 25
	}
}

country_event = { # Sending in the werewolves do good!
	id = goering.saw.33
	title = goering.saw.33.t
	desc = goering.saw.33.d
	picture = GFX_report_event_RUS_burning_village

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.33"}

	option = {
		name = goering.saw.33.a
		add_manpower = -23
		add_to_variable = { OFN_MANDATE_rebel_stability = -0.05 }
		clamp_OFN_mandate_rebel_stability = yes
	}
}

country_event = { # Sending in the werewolves do bad!
	id = goering.saw.34
	title = goering.saw.34.t
	desc = goering.saw.34.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.34"}

	option = {
		name = goering.saw.34.a
		add_manpower = -142
	}
}

country_event = { # Choosing who to blame total loss 
	id = goering.saw.35
	title = goering.saw.35.t
	desc = goering.saw.35.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.35"}

	option = {
		name = goering.saw.35.a
	}
}

country_event = { # German troops escape 
	id = goering.saw.36
	title = goering.saw.36.t
	desc = goering.saw.36.d
	picture = GFX_report_event_BOR_saw_soldier

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.saw.36"}

	option = {
		name = goering.saw.36.a
	}
}

add_namespace = goering_huttig

country_event = { # Goering and Schorner check for ways of getting Huttig, they like nukes
	id = goering_huttig.1
	title = goering_huttig.1.t
	desc = goering_huttig.1.d
	picture = GFX_report_event_GER_goering_reading
	
	is_triggered_only = yes

	fire_only_once = yes

	trigger = {
		GRO = {
			exists = yes
			has_country_leader = {
				character = GRO_hans_huttig
				ruling_only = yes
			}
		}
	}
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.1"}

	option = {
	    name = goering_huttig.1.a
		country_event = { id = goering_huttig.2 days = 1 }
	}
}

country_event = { # Goering, Schorner, Speidel and one more guy argue about nuking Huttig
	id = goering_huttig.2
	title = goering_huttig.2.t
	desc = goering_huttig.2.d
	picture = GFX_report_event_GER_goering_reading
	
	is_triggered_only = yes

	fire_only_once = yes
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.2"}
	
	option = { # continue on
	    name = goering_huttig.2.a
		country_event = goering_huttig.3	
	}
}

country_event = { # Goering, Schorner, Speidel and one more guy argue about nuking Huttig part 2
	id = goering_huttig.3
	title = goering_huttig.3.t
	desc = goering_huttig.3.d
	picture = GFX_report_event_GER_goering_reading
	
	is_triggered_only = yes

	fire_only_once = yes
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.3"}
	
	
	option = { # yes nukes
	    name = goering_huttig.3.a
		set_country_flag = GGR_nuking_huttig
		GGR_Reload_main = yes
		GGR_increase_militarist_loyalty = yes
		GGR_increase_militarist_hawkishness = yes
		ai_chance = {
			factor = 5
			modifier = {
				add = -2
				GRO = { has_cosmetic_tag = GRO_REICHSSTAAT_2 }
			}
			modifier = {
				add = -3
				GRO = { has_cosmetic_tag = GRO_REICHSSTAAT_3 }
			}
		}
	}
	
	option = { # no nukes
	    name = goering_huttig.3.b
		GGR_decrease_militarist_loyalty_small = yes
		ai_chance = {
			factor = 1
		}
	}
}

country_event = { # Putting nukes on Mauritus and Reunion
	id = goering_huttig.4
	title = goering_huttig.4.t
	desc = goering_huttig.4.d
	picture = GFX_report_event_generic_missile
	
	is_triggered_only = yes

	fire_only_once = yes
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.4"}
	
	
	option = {
	    name = goering_huttig.4.a
	}
}

country_event = { # Contacts with von Hassel, prepare to prepare to pack your shit to Congo
	id = goering_huttig.5
	title = goering_huttig.5.t
	desc = goering_huttig.5.d
	picture = GFX_report_event_RUS_letter
	
	is_triggered_only = yes

	fire_only_once = yes
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.5"}
	
	
	option = {
	    name = goering_huttig.5.a
		add_to_variable = {
			GRO.GRO_REICHSSTAAT_cabal_power = 0.15
			tooltip = GER_increase_cabal_strength_tt
		}
	}
}

country_event = { # von Hassel's final warnings before bombing; too lazy to move that upwards numerically
	id = goering_huttig.12
	title = goering_huttig.12.t
	desc = goering_huttig.12.d
	picture = GFX_report_event_RUS_letter
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
	    name = goering_huttig.12.a
		country_event = { id = goering_huttig.6 days = 1 }
	}
}

country_event = { # BOMBS AWAY
	id = goering_huttig.6
	title = goering_huttig.6.t
	desc = goering_huttig.6.d
	picture = GFX_report_event_generic_missile
	
	is_triggered_only = yes

	fire_only_once = yes
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.6"}
	
	
	option = {
	    name = goering_huttig.6.a
		GGR_fuck_huttig = yes
	}
}

country_event = { # first effects of nuclear bombing
	id = goering_huttig.7
	title = goering_huttig.7.t
	desc = goering_huttig.7.d
	picture = GFX_report_event_RUS_burning_city

	is_triggered_only = yes
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.7"}
	

	option = {
		name = goering_huttig.7.a
		trigger = {
			tag = GRO
		}
	}

	option = {
		name = goering_huttig.7.a
		trigger = {
			tag = GER
		}
		hidden_effect = {
			GRO = {
				country_event = { id = goering_huttig.8 days = 6 }
				GER = {
					save_global_event_target_as = winning_country
				}
				GEA = {
					set_cosmetic_tag = GRO_REICHSSTAAT
					save_global_event_target_as = losing_country
				}
				set_global_flag = war_won
				set_global_flag = show_peace_popup_alert

				set_cosmetic_tag = GRO_anarchy
				every_owned_state = {
					set_demilitarized_zone = yes
				}
				remove_all_ideas = yes
				if = {
					limit = {
						has_dynamic_modifier = { modifier = GRO_REICHSSTAAT_devastation_stage_1 }
					}
					remove_dynamic_modifier = { modifier = GRO_REICHSSTAAT_devastation_stage_1 }
				}
				if = {
					limit = {
						has_dynamic_modifier = { modifier = GRO_REICHSSTAAT_devastation_stage_2 }
					}
					remove_dynamic_modifier = { modifier = GRO_REICHSSTAAT_devastation_stage_2 }
				}
				if = {
					limit = {
						has_dynamic_modifier = { modifier = GRO_REICHSSTAAT_devastation_stage_3 }
					}
					remove_dynamic_modifier = { modifier = GRO_REICHSSTAAT_devastation_stage_3 }
				}
			}
		}
	}
}

		
country_event = {
	id = goering_huttig.8
	title = goering_huttig.8.t
	desc = goering_huttig.8.d
	picture = GFX_report_event_RUS_burning_city

	is_triggered_only = yes
	fire_only_once = yes
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.8"}
	

	hidden = yes

	option = {
		name = goering_huttig.8.a
		trigger = {
			tag = GRO
		}
		clr_global_flag = show_peace_popup_alert
		APF = {
			set_cosmetic_tag = GEA
		}

		TSM = {
			COG_siegfried_muller = {
				set_nationality = GER
			}
		}
		
		GRO = {
			set_politics = {
				ruling_party = fascism
				elections_allowed = no
			}
			every_owned_state = {
				set_demilitarized_zone = no
			}
			add_ideas = Pakt_Reichskolonie
			set_variable = { zentralafrika = GRO }
			set_temp_variable = {TNO_economy_type_temp = token:Econ_Type_Corporatism}
			econ_type_change = yes
			econ_join_sphere_GER = yes
			remove_unit_leader_role = GRO_Otto_Forschner
			remove_unit_leader_role = GRO_Karl_Chmielewski
			remove_unit_leader_role = GRO_Richard_Baer
			hidden_effect = {
				GER = {
					set_autonomy = {
						target = GRO
						autonomous_state = autonomy_reichskolonie
					}
				}
				set_politics = {
					ruling_party = fascism
				}
				set_popularities = {
					communist = 0
					socialist = 0
					progressivism = 0
					liberalism = 0
					liberal_conservatism = 0
					conservatism = 0
					paternalism = 7
					despotism = 3
					ultranationalism = 0
					fascism = 55
					national_socialism = 35
				}
				retire_character = GRO_hans_huttig
				set_variable = { national_debt = 0 }
				update_economy_tab = yes
				remove_all_ministers = yes

				every_state = {
					limit = {
						is_core_of = RCA
						NOT = { is_core_of = GGN }
					}
					transfer_state_to = GRO
					add_core_of = GRO
				}

				add_ideas = {
					GRO_Kai_Uwe_von_Hassel_dep
					GRO_Leon_Petillon_mil
					GRO_Hendrik_Cornelis_for
					GRO_Friedrich_von_Mellenthin_eco
				}

				add_country_leader_role = {
					character = GRO_Leon_Petillon
					country_leader = {
						#desc = "POLITICS_LEON_PETILLION_DESC"
						ideology = despotism_subtype
						expire = "1999.1.23"
						id = -1
					}
					promote_leader = yes
				}

				#create_country_leader = { #I'm just going to leave this here for now
				#	name = "Hendrik Cornelis"
				#	desc = "POLITICS_HENDRIK_CORNELIS_DESC"
				#	picture = "Portrait_Congo_Hendrik_Cornelis.dds"
				#	expire = "1999.1.23"
				#	ideology = national_socialism_subtype
				#	traits = { }
				#}

				add_country_leader_role = {
					character = GRO_Arthur_Liebehenschel
					country_leader = {
						#desc = "POLITICS_ARTHUR_LIEBEHENSCHEL_DESC"
						ideology = national_socialism_subtype
						expire = "1999.1.23"
						id = -1
					}
					promote_leader = yes
				}

				if = {
					limit = {
						SFG = { has_country_flag = sudafrika_has_won_flag }
					}
					country_event = {
						id = TER_SAF_CW.2
						days = 5
					}
				}
				else_if = {
					limit = {
						has_game_rule = {
							rule = SAF_SECOND_SOUTH_AFRICAN_WAR_OUTCOME
							option = SAF_SECOND_SOUTH_AFRICAN_WAR_OUTCOME_SFG
						}
						SFG = {
							has_idea = Custom_TNO_SFG_war_buff
						}
					}
					SFG = {
						remove_war_buff = yes
					}
				}
				load_focus_tree = ZZZ_blank_focus
				set_country_flag = GRO_cabal_victorious

				country_event = {
					id = GRO_REICHSSTAAT.46
					days = 7
				}

				set_cosmetic_tag = RCA

				GGN = { drop_cosmetic_tag = yes }

				GRO = { Release_CMR = yes }

				if = {
					limit = {
						country_exists = SFG
					}
					add_ideas = GRO_REICHSSTAAT_collapsed_oberkommando
				}

				if = {
					limit = {
						NOT = { country_exists = GAB }
						check_variable = { GRO_REICHSSTAAT_cabal_power < 0.30 }
					}
					GRO_REICHSSTAAT_revolt_kameroon = yes
					GRO_REICHSSTAAT_remilitarize_kameroon = yes
				}

				if = {
					limit = {
						NOT = { country_exists = CAF }
						check_variable = { GRO_REICHSSTAAT_cabal_power < 0.90 }
					}
					GRO_REICHSSTAAT_revolt_ubangi_schari = yes
					GRO_REICHSSTAAT_remilitarize_ubangi_schari = yes
				}

				if = {
					limit = {
						NOT = { country_exists = CFS }
						check_variable = { GRO_REICHSSTAAT_cabal_power < 0.60 }
					}
					GRO_REICHSSTAAT_revolt_kongo = yes
					GRO_REICHSSTAAT_remilitarize_kongo = yes
				}

				if = {
					limit = {
						NOT = { country_exists = NAM }
					}
					GRO_REICHSSTAAT_revolt_namibia = yes
					GRO_REICHSSTAAT_remilitarize_namibia = yes
				}

				if = {
					limit = {
						NOT = { country_exists = ANG }
					}
					GRO_REICHSSTAAT_revolt_angola = yes
					GRO_REICHSSTAAT_remilitarize_angola = yes
				}

				if = {
					limit = {
						NOT = { country_exists = ZAM }
					}
					GRO_REICHSSTAAT_revolt_sambia = yes
					GRO_REICHSSTAAT_remilitarize_sambia = yes
				}

				if = {
					limit = {
						NOT = { country_exists = BTS }
					}
					GRO_REICHSSTAAT_revolt_botswana = yes
					GRO_REICHSSTAAT_remilitarize_botswana = yes
				}

				if = {
					limit = {
						NOT = { country_exists = ZIM }
					}
					GRO_REICHSSTAAT_revolt_simbabwe = yes
					GRO_REICHSSTAAT_remilitarize_simbabwe = yes
					#if = {
					#	limit = {
					#		ZIM = {
					#			has_country_leader = {
					#				character = ZIM_Joshua_Nkomo
					#				ruling_only = yes
					#			}
					#		}
					#	}
					#	ZIM = {
					#		country_event = {
					#			id = A_SPRING.29
					#			days = 150
					#		}
					#	}
					#}
				}

				if = {
					limit = {
						NOT = { country_exists = GAZ }
					}
					GRO_REICHSSTAAT_revolt_mosambik = yes
					GRO_REICHSSTAAT_remilitarize_mosambik = yes
				}

				if = {
					limit = {
						NOT = { country_exists = ZZB }
					}
					GRO_REICHSSTAAT_revolt_sansibar = yes
					GRO_REICHSSTAAT_remilitarize_sansibar = yes
				}

				if = {
					limit = {
						NOT = { country_exists = BRD }
						NOT = { country_exists = RWA }
					}
					GRO_REICHSSTAAT_revolt_ruanda_burundi = yes
					GRO_REICHSSTAAT_remilitarize_ruanda_burundi = yes
				}

				if = {
					limit = {
						NOT = { country_exists = UGD }
					}
					GRO_REICHSSTAAT_revolt_uganda = yes
					GRO_REICHSSTAAT_remilitarize_uganda = yes
				}

				if = {
					limit = {
						NOT = { country_exists = TNZ }
					}
					GRO_REICHSSTAAT_revolt_tanganika = yes
					GRO_REICHSSTAAT_remilitarize_tanganika = yes
				}
				
				end_puppet = BOR


				add_ideas = {
					GRO_REICHSSTAAT_local_cooperation
					GRO_REICHSSTAAT_the_new_german_administration
				}

				if = {
					limit = {
						GRO = { controls_state = 942 }
						country_exists = BOR
					}
					BOR = {
						transfer_state = 942
						add_state_core = 942
					}
				}
				
				if = { #Zanzibar Revolution (only occurs if John Okello isn't already in the Freedom Military Force tag)
					limit = {
						FMF = { exists = no }
						check_variable = { GRO_REICHSSTAAT_cabal_power < 0.60 }
					}
					country_event = { # Zanzibar Revolution
						id = A_SPRING.3
						days = 75
					}
				}

				#if = { #Congo crisis only fires if stage 3 devestation hasn't hit (Congo too fucked to have a civil war if it has)
				#	limit = { NOT = { GRO_has_stage_3_devastation = yes } }
				#	country_event = { # Congo Crisis
				#		id = A_SPRING.4
				#		days = 90
				#	}
				#}

				ZZZ = {
					country_event = { # Angolan Civil War
						id = A_SPRING.5
						days = 200
					}
				}

				if = {
					limit = { #they dont share a border in this scenario
						ZIM = {
							has_country_leader = {
								character = ZIM_Robert_Mugabe
								ruling_only = yes
							}
						}
						NOT = {
							GRO = { GRO_has_stage_3_devastation = yes }
						}
					}
					ZZZ = {
						country_event = { # Botswana-Zimbabwe War
							id = A_SPRING.6
							days = 450
						}
					}
				}

				random_list = {
					40 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = OVA_PATH option = OVA_PATH_NO_WAR }
						}
						ZZZ = {
							country_event = { # Pan-African Revolution in Namibia
								id = A_SPRING.7
								days = 275
							}
						}
					}
					60 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = OVA_PATH option = OVA_PATH_WAR }
						}
					}
				}

				#random_list = { #cut to avoid fucking up mozambique
				#	45 = {
				#		country_event = { # Rombesian Conflicts
				#			id = A_SPRING.8
				#			days = 800
				#		}
				#	}
				#	55 = { }
				#}

				random_list = {
					50 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = BRA_ORU_PATH option = BRA_ORU_PATH_NO_REVOLUTION }
						}
						if = {
							limit = {								
								check_variable = { GRO_REICHSSTAAT_cabal_power < 0.6 }
							}
							ZZZ = {
								country_event = { # Loango Revolution
									id = A_SPRING.9
								}
							}
						}
					}
					50 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = BRA_ORU_PATH option = BRA_ORU_PATH_REVOLUTION }
						}
					}
				}

				#random_list = {
				#	50 = {
				#		modifier = {
				#			factor = 0
				#			has_game_rule = { rule = SAR_COUNTER_REVOLUTION_OUTCOME option = SAR_COUNTER_REVOLUTION_OUTCOME_NO }
				#		}
				#		ZZZ = {
				#			country_event = { # Saraland Counter-Revolution
				#				id = A_SPRING.10
				#				days = 1100
				#			}
				#		}
				#	}
				#	50 = {
				#		modifier = {
				#			factor = 0
				#			has_game_rule = { rule = SAR_COUNTER_REVOLUTION_OUTCOME option = SAR_COUNTER_REVOLUTION_OUTCOME_YES }
				#		}
				#	}
				#}

				random_list = {
					30 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = KTG_PATH option = KTG_PATH_NO_WAR }
						}
						ZZZ = {
							country_event = { # Katanga Wars
								id = A_SPRING.12
								days = 1400
							}
						}
					}
					70 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = KTG_PATH option = KTG_PATH_WAR }
						}
					}
				}

				#country_event = { # Azandeland Proclamation, cut to avoid double Congo Crisis
					##id = A_SPRING.13
					#days = 490
				#}

				random_list = {
					5 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = BEMBA_SECESSION_OUTCOME option = BEMBA_SECESSION_OUTCOME_NO }
						}
						ZZZ = {
							country_event = { # Bemba Secession
								id = A_SPRING.15
								days = 1000
							}
						}
					}
					95 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = BEMBA_SECESSION_OUTCOME option = BEMBA_SECESSION_OUTCOME_YES }
						}
					}
				}
				if = {
					limit = { #they dont share a border in this scenario
						TNZ = {
							has_country_leader = {
								character = TNZ_Julius_Nyerere
								ruling_only = yes
							}
						}
						NOT = { # Ensures Tanganyika is intact
							country_exists = FMF
						}
					}
					random_list = {
						40 = {
							ZZZ = {
								country_event = { # Tanganyika Reclamation the coast
									id = A_SPRING.30
									days = 175
								}
							}
						}
					}
					60 = {

					}
				}

				random_list = {
					10 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = BAROTSELAND_ACCORDS_OUTCOME option = BAROTSELAND_ACCORDS_OUTCOME_NO }
						}
						ZZZ = {
							country_event = { # Barotseland Accords
								id = A_SPRING.16
								days = 1150
							}
						}
					}
					90 = {
						modifier = {
							factor = 0
							has_game_rule = { rule = BAROTSELAND_ACCORDS_OUTCOME option = BAROTSELAND_ACCORDS_OUTCOME_YES }
						}
					}
				}

				#every_country = {
				#	limit = { is_ai = no }
				#	news_event = {
				#		id = WORLD.18051
				#		days = 3
				#	}
				#}

				set_temp_variable = { transfered_units_fraction = 1 }
				subtract_from_temp_variable = { transfered_units_fraction = GRO_REICHSSTAAT_cabal_power }

				transfer_units_fraction = {
					target = ZZZ
					size = transfered_units_fraction
					keep_unit_leaders_trigger = {
						always = yes
					}
				}
				ZZZ = {
					every_country_division = {
						destroy_unit = yes
					}
				}
			}

			every_state = {
				limit = {
					is_core_of = GRO
					NOT = { is_owned_by = GRO }
				}
				remove_core_of = GRO
			}
			every_owned_state = {
				remove_claim_by = GER
			}
			544 = {
				set_demilitarized_zone = yes
			}
			GER = {
				country_event = {
					id = goering_huttig.9
					days = 1
				}
				country_event = {
					id = goering_huttig.10
					days = 45
					random_days = 15
				}
				country_event = {
					id = goering_huttig.11
					days = 2
					random_hours = 10
				}
			}
		}
	}
	option = {
		name = goering_huttig.8.a
		trigger = {
			tag = GER
		}
	}
}


country_event = { # Cabal wins, closing event
	id = goering_huttig.9
	title = goering_huttig.9.t
	desc = {
		text = goering_huttig.9.desc.good
		trigger = {
			NOT = {
				any_country = {
					is_central_african_nation = yes
					exists = yes
				}
			}
		}
	}
	desc = {
		text = goering_huttig.9.desc.normal
		trigger = {
			country_exists = CAF
		}
	}
	desc = {
		text = goering_huttig.9.desc.will_do
		trigger = {
			NOT = { country_exists = GAB }
			country_exists = CFS
		}
	}
	desc = {
		text = goering_huttig.9.desc.bad
		trigger = {
			OR = {
				country_exists = GAB
				country_exists = GAB
			}
		}
	}
	picture = GFX_report_event_GRO_von_hassel
	
	is_triggered_only = yes

	fire_only_once = yes
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_huttig.9"}
	
	
	option = { # Good
	    name = goering_huttig.9.a
		trigger = {
			NOT = {
				any_country = {
					is_central_african_nation = yes
					exists = yes
				}
			}
		}
		GGR_increase_militarist_loyalty_large = yes
		GGR_decrease_militarist_hawkishness_large = yes
		TNO_fopo_remove_reichsstaat_african_cabal_tab = yes
	}
	option = { # Nice
	    name = goering_huttig.9.b
		trigger = {
			country_exists = CAF
			NOT = { country_exists = CFS }
		}
		GGR_increase_militarist_loyalty = yes
		GGR_decrease_militarist_hawkishness = yes
		TNO_fopo_remove_reichsstaat_african_cabal_tab = yes
	}
	option = { # Good enough is good enough
	    name = goering_huttig.9.c
		trigger = {
			country_exists = CFS
			NOT = { country_exists = GAB }
		}
		GGR_increase_militarist_loyalty_small = yes
		GGR_decrease_militarist_hawkishness_small = yes
		TNO_fopo_remove_reichsstaat_african_cabal_tab = yes
	}
	option = { # Better than nothing
	    name = goering_huttig.9.d
		trigger = {
			country_exists = GAB
			country_exists = CFS
		}
		GGR_decrease_militarist_loyalty = yes
		GGR_increase_militarist_hawkishness = yes
		TNO_fopo_remove_reichsstaat_african_cabal_tab = yes
	}
}

country_event = { # Huttig's lost during GCW evidence against Schenk and Muller found again
	id = goering_huttig.10
	title = goering_huttig.10.t
	desc = goering_huttig.10.d
	picture = GFX_report_event_generic_papers
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
	    name = goering_huttig.10.a
	}
}

country_event = { # Foreign ministries of foreign affairs go wild
	id = goering_huttig.11
	title = goering_huttig.11.t
	desc = goering_huttig.11.d
	picture = GFX_report_event_generic_burning_books
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
	    name = goering_huttig.11.a		
		set_temp_variable = { tension_superpower_1 = GER }
		set_temp_variable = { tension_superpower_2 = USA }
		set_temp_variable = { tension_WT = 35 }
		TNO_change_tension = yes
		set_temp_variable = { tension_superpower_2 = JAP }
		set_temp_variable = { tension_WT = 35 }
		TNO_change_tension = yes
	}
}