############################
## Göring Events
############################

add_namespace = goering
add_namespace = goering_anti


#Debug
add_namespace = goering_debug

country_event = { #Increases militarist power/influence while decreasing loyalty
	id = goering_debug.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_debug.1"}
	title = goering_debug.1.t
	desc = goering_debug.1.desc
	picture = GFX_report_event_GER_goering_speech

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = goering_debug.1.a
		GGR_decrease_militarist_loyalty_large = yes
		GGR_decrease_militarist_hawkishness_large = yes
		GGR_decrease_militarist_power_large = yes
	}
}

country_event = {
	id = goering.1000
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1000"}
	title = goering_debug.1000.t
	desc = goering_debug.1000.desc
	picture = GFX_report_event_GER_goering_speech

	is_triggered_only = yes

	option = {
		name = goering.1000
		load_focus_tree = GER_goering_main
		set_global_flag = german_civil_war_goeringvic

		remove_ideas = {
			to_banish_want
			the_two_principles
			endsieg
			gone_over
			GER_Hermann_Goring_air_chief
			GER_Hans_Speidel_army_chief
			GER_Karl_Donitz_navy_chief
			GER_Fedor_von_Bock_high_command
			GER_Wilhelm_Burgdorf_high_command
			GER_Wernher_von_Braun_theorist
		}
		GGR_launch_goering_expanded_post_cw = yes

		## Ireland Rejoining the Pakt
		IRE = { country_event = { id = IRE_eco_collapse.15 days = 100 } }

		GER = {

			##Variable Initiation
			set_variable = { GDP = 234.634 } #in billions
			set_variable = { GDP_growth = 2.5 }
			set_variable = { base_inflation_rate = 2.4 }
			set_variable = { poverty_rate = 44.12 }
			set_variable = { poverty_monthly_change = -0.08 }
			set_variable = { money_reserves = 0.0 } #in billions
			set_variable = { national_debt = 229.08 } #in billions
			set_variable = { interest_rates = 3.0 }
			set_variable = { misc_income = 12.8 }
			set_variable = { misc_costs = 0.0 }

			initiate_display_vars = yes

			### Political
			set_variable = { tno_political_parties_effectiveness = 85 }
			set_variable = { tno_religious_rights_effectiveness = 79 }
			set_variable = { tno_trade_unions_effectiveness = 92 }
			set_variable = { tno_immigration_effectiveness = 40 }
			set_variable = { tno_slavery_effectiveness = 90 }
			set_variable = { tno_public_meetings_effectiveness = 84 }
			set_variable = { tno_press_rights_effectiveness = 81 }
			set_variable = { tno_vote_franchise_effectiveness = 51 }

			### Economic
			set_variable = { tno_trade_laws_effectiveness = 36 }
			set_variable = { tno_income_taxation_effectiveness = 91 }
			set_variable = { tno_minimum_wage_effectiveness = 47 }
			set_variable = { tno_max_workhours_effectiveness = 62 }
			set_variable = { tno_pensions_effectiveness = 48 }
			set_variable = { tno_unemployment_effectiveness = 52 }

			### Social
			set_variable = { tno_health_care_effectiveness = 47 }
			set_variable = { tno_education_effectiveness = 52 }
			set_variable = { tno_penal_system_effectiveness = 85 }
			set_variable = { tno_gender_rights_effectiveness = 72 }
			set_variable = { tno_security_effectiveness = 81 }
			set_variable = { tno_regulations_effectiveness = 60 }

			### Military
			set_variable = { tno_conscription_effectiveness = 85 }
			set_variable = { tno_military_supervision_effectiveness = 43 }
			set_variable = { tno_training_effectiveness = 52 }
			set_variable = { tno_draft_exemptions_effectiveness = 90 }
		}
		
		GER = {
			create_faction = Einheitspakt
		}
	}
}

##############################################################################

# PRE GCW, GCW AND IMMEDIATE POST GCW 1-50

##############################################################################

country_event = { #Göring wins lol
	id = goering.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.2"}
	title = goering.2.t
	desc = goering.2.desc
	picture = GFX_report_event_GER_goering_speech

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = goering.2.a
		hidden_effect = {
			remove_war_buff = yes
			every_country = { news_event = WORLD_REICH.14 }
		}
	}
}

country_event = { #We won the war! (Speidel alive)
	id = goering.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.3"}
	title = goering.3.t
	desc = goering.3.desc
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = goering.3.a
		GER = { country_event = { id = reich.30 days = 1 } }
	}
}

country_event = { #Speidel surrenders
	id = goering.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.4"}
	title = goering.4.t
	desc = goering.4.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = goering.4.a
		GER_GCW_conclude = yes
	}
}

country_event = { #Speidel fights back
	id = goering.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.5"}
	title = goering.5.t
	desc = goering.5.desc
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = goering.5.a
	}
}

country_event = { #anti heydrich pact from speer
	id = goering.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.8"}
	title = goering.8.t
	desc = goering.8.d
	picture = GFX_report_event_GER_army_1

	trigger = {
		country_exists = HGR
	}
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = goering.8.a
		ai_chance = {
			factor = 100
		}
		set_country_flag = anti_heydrich_pact
		hidden_effect = {
			anti_heydrich_pact_script = yes
		}
	}
	option = {
		name = goering.8.b
		ai_chance = {
			factor = 0
		}
		SGR = { country_event = speer.18 } #dead in water
		BGR = { country_event = bormann.10 } #dead in water
	}
}
country_event = { #anti heydrich pact from bormann
	id = goering.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.9"}
	title = goering.9.t
	desc = goering.9.d
	picture = GFX_report_event_GER_army_1

	trigger = {
		country_exists = HGR
	}
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = goering.9.a
		ai_chance = {
			factor = 100
		}
		set_country_flag = anti_heydrich_pact
		hidden_effect = {
			anti_heydrich_pact_script = yes
		}
	}
	option = {
		name = goering.9.b
		ai_chance = {
			factor = 0
		}
		BGR = { country_event = bormann.10 } #dead in water
	}
}
country_event = { #goering_civil_war_tree_debug
	id = goering.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.11"}
	title = goering.11.t
	desc = goering.11.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.11.a
		load_focus_tree = GGR_civil_war
	}
}
country_event = { #goering made fhurer
	id = goering.13
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.13"}
	title = goering.13.t
	desc = goering.13.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.13.a
		hidden_effect = {
			country_event = { id = goering.15 days = 5 }
			set_country_flag = GER_GOR_Protests
		}
	}

}
country_event = { # the game is set - militarists effects
	id = goering.14
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.14"}
	title = goering.14.t
	desc = goering.14.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.14.a
		# Militarist GUI
		set_country_flag = GER_Schorner_Militarist_Leader
		set_variable = { GER_Militarist_Hawkishness = 50 }
		set_variable = { GER_Militarist_Loyalty = 100 }
		set_variable = { GER_Militarist_Power = 60 }
		GGR_initialize_militarist_mechanic = yes

		effect_tooltip = {
			activate_mission = GGR_militarist_moves
		}
		hidden_effect = { country_event = { id = goering_expanded.2 } }
	}

}

country_event = { #protests start again o fucc
	id = goering.15
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.15"}
	title = goering.15.t
	desc = goering.15.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.15.a
		add_ideas = student_protests
	}

}



##############################################################################

# PURGE EVENTS

##############################################################################

country_event = { #The Great Purge Starts
	id = goering.16
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.16"}
	title = goering.16.t
	desc = goering.16.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.16.a
	}

}

country_event = { #Martial Law Declared
	id = goering.17
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.17"}
	title = goering.17.t
	desc = goering.17.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.17.a
		effect_tooltip = {
			swap_ideas = {
				remove_idea = tno_public_meetings_regulated_dummy
				add_idea = tno_public_meetings_outlawed_dummy
			}
		}
		hidden_effect = {
			swap_ideas = {
				remove_idea = tno_public_meetings_regulated
				add_idea = tno_public_meetings_outlawed
			}
		}
		TNO_improve_public_meetings_policy_effectiveness_med = yes
	}

}

country_event = { #Students arrested on mass
	id = goering.18
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.18"}
	title = goering.18.t
	desc = goering.18.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.18.a
		add_political_power = 100
	}
}

country_event = { #Banker Crackdown
	id = goering.19
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.19"}
	title = goering.19.t
	desc = goering.19.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.19.a
		add_political_power = 100
	}
}

country_event = { #Faith in the gun
	id = goering.20
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.20"}
	title = goering.20.t
	desc = goering.20.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.20.a
		country_event = { id = goering.42 days = 6 }
		add_stability = 0.10
	}
}

country_event = { #Chains for the thinkers flavor event
	id = goering.32
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.32"}
	title = goering.32.t
	desc = goering.32.d
	picture = GFX_report_event_generic_burning_books
	is_triggered_only = yes

	option = {
		name = goering.32.a
	}
}

country_event = { #Promotions
	id = goering.42
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.42"}
	title = goering.42.t
	desc = goering.42.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.42.a
		GER_johannes_steinhoff = {
			add_corps_commander_role = {
				traits = { media_personality commando paratrooper }
				skill = 3
				attack_skill = 2
				defense_skill = 2
				planning_skill = 3
				logistics_skill = 3
				legacy_id = 170171
			}
		}
		GER_hans_teusen = {
			add_corps_commander_role = {
				traits = { commando skirmisher }
				skill = 2
				attack_skill = 2
				defense_skill = 1
				planning_skill = 2
				logistics_skill = 2
				legacy_id = 170172
			}
		}
		GER_oskar_munzel = {
			add_corps_commander_role = {
				traits = { skilled_staffer }
				skill = 2
				attack_skill = 1
				defense_skill = 2
				planning_skill = 1
				logistics_skill = 3
			}
		}
	}
}

country_event = { #Heinz Göring intro 
	id = goering.47
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.47"}
	title = goering.47.t
	desc = goering.47.d
	picture = GFX_report_event_GER_goering_reading
	is_triggered_only = yes

	
	option = {
		name = goering.47.a
		add_political_power = -50
		add_command_power = -15
		add_stability = -0.02
		GER_heinrich_theodor_goring = {
			add_corps_commander_role = {
				traits = { media_personality }
				skill = 1
				attack_skill = 1
				defense_skill = 1
				planning_skill = 1
				logistics_skill = 1
				legacy_id = 228
			}
		}
		hidden_effect = {
			country_event = { id = goering.49 days = 5 }
		}
	}
}

country_event = { #The Goringjudend is formed + ForSec intro event
	id = goering.48
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.48"}
	title = goering.48.t
	desc = goering.48.d
	picture = GFX_report_event_GER_police
	is_triggered_only = yes

	
	option = {
		name = goering.48.a
		swap_ideas = {
			remove_idea = GER_GOR_militarized_schools
			add_idea = GER_GOR_goringjugend
		}
	}
}

country_event = { #Heinz Göring promotion
	id = goering.49
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.49"}
	title = goering.49.t
	desc = goering.49.d
	picture = GFX_report_event_GER_training
	is_triggered_only = yes

	
	option = {
		name = goering.49.a
		add_field_marshal_role = {
			character = GER_heinrich_theodor_goring
			traits = { media_personality }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
		}
	}
}

country_event = { #Second new guard wave
	id = goering.50
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.50"}
	title = goering.50.t
	desc = goering.50.d
	picture = GFX_report_event_GER_officer
	is_triggered_only = yes

	
	option = {
		name = goering.50.a
		GER_heinz_gunther_guderian = {
			add_corps_commander_role = {
				traits = { media_personality career_officer panzer_savant  }
				skill = 4
				attack_skill = 5
				defense_skill = 2
				planning_skill = 2
				logistics_skill = 3
				legacy_id = 170175
			}
		}
		GER_karl_theodor_molinari = {
			add_corps_commander_role = {
				traits = { urban_assault_specialist naval_invader }
				skill = 3
				attack_skill = 3
				defense_skill = 2
				planning_skill = 2
				logistics_skill = 3
				legacy_id = 170176
			}
		}
		GER_franz_poschl = {
			add_corps_commander_role = {
				traits = { ranger trait_mountaineer hill_fighter infantry_leader }
				skill = 3
				attack_skill = 2
				defense_skill = 3
				planning_skill = 4
				logistics_skill = 1
				legacy_id = 170177
			}
		}
		hidden_effect = {
			#if = {
			#	limit = {
			#		has_completed_focus = GGR_grenadiers
			#		has_completed_focus = GGR_masters_of_the_world
			#	}
			#	GGR_extend_division_limit_grenadiers = yes
			#}
			#else_
			if = {
				limit = {
					has_completed_focus = GGR_volksgrenadiers
					has_completed_focus = GGR_masters_of_the_world
				}
				GGR_extend_division_limit_volksgrenadiers = yes
			}
		}
	}
}

country_event = { #Pride in Göring
	id = goering.21
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.21"}
	title = goering.21.t
	desc = goering.21.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

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

country_event = { # Schorner now looses popularity lol
	id = goering.22
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.22"}
	title = goering.22.t
	desc = goering.22.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.22.a
		set_country_flag = GGR_schorner_loses_popularity
		GGR_increase_militarist_hawkishness_large = yes
		GGR_increase_militarist_power_large = yes
	}
}

country_event = { # Regime has stabilized in FROM
	id = goering.23
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.23"}
	title = goering.23.t
	desc = goering.23.d
	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	trigger = {
		FROM = {
			OR = {
				AND = {
					tag = UKR
					has_country_leader = {
						character = UKR_eduard_wagner
						ruling_only = yes
					}
				}
				AND = {
					tag = MCW
					has_country_leader = {
						character = MCW_hans_krebs
						ruling_only = yes
					}
				}
				AND = {
					tag = SCN
					has_country_leader = {
						character = SCN_heinzgeorg_lemm
						ruling_only = yes
					}
				}
				AND = {
					tag = GSL
					has_country_leader = {
						character = GSL_friedrich_foertsch
						ruling_only = yes
					}
				}
				AND = {
					tag = SWI
					has_country_leader = {
						character = GER_oskar_munzel
						ruling_only = yes
					}
				}
			}
		}
	}

	option = { # do
		name = goering.23.a
		GGR_decrease_militarist_loyalty = yes
		GGR_decrease_militarist_power = yes
		GGR_increase_militarist_hawkishness_large = yes

		FROM = {
			remove_ideas = GGR_garrisons_from_germany_dummy
		}
		
		if = {
			limit = {
				FROM = { tag = MCW }
			}
			country_event = { id = goering.heinrich.2 days = 7 }
		}
		else_if = {
			limit = {
				FROM = { tag = SWI }
			}
			country_event = { id = goering.tannenbaum.15 days = 7 }
		}
		else_if = {
			limit = {
				FROM = { tag = SCN }
			}
			country_event = { id = goering.nordlicht.9 days = 7 }
		}
		else_if = {
			limit = {
				FROM = { tag = UKR }
			}
			country_event = { id = goering.rurik.3 days = 7 }
		}
		else_if = {
			limit = {
				FROM = { tag = GSL }
			}
			country_event = { id = goering.slovakia.9 days = 7 }
		}
	}

	option = { # keep martial law
		name = goering.23.b
		GGR_increase_militarist_loyalty_small = yes
		GGR_increase_militarist_power = yes
		hidden_effect = {
			if = {
				limit = {
					FROM = { tag = MCW }
				}
				MCW = {
					swap_ideas = {
						remove_idea = GGR_MCW_the_legacy
						add_idea = GGR_MCW_the_legacy_krebs
					}					
					remove_ideas = {
						GGR_MCW_the_plan
						GGR_MCW_the_vision
					}
				}
			}
		}
	}
}

### IMMEDIATE POST GCW EVENTS ###

country_event = { #Göring celebrated victory in Germania
	id = goering.36
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.36"}
	title = goering.36.t
	desc = goering.36.d
	picture = GFX_report_event_GER_army_1

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = goering.36.a
		add_political_power = 50
	}
}



##############################################################################

# SOME FLAVOR EVENTS 50 - 56

##############################################################################

country_event = { #WAR plan A flavor
	id = goering.51
	title = goering.51.t
	desc = goering.51.d
	picture = GFX_report_event_GER_goering_reading

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.51.a
	}
}

country_event = { # War plan B flavor event
	id = goering.52
	title = goering.52.t
	desc = goering.52.desc
	picture = GFX_report_event_GER_goering_reading

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.52.a
	}
}

country_event = { #WPC flavor
	id = goering.53
	title = goering.53.t
	desc = goering.53.d
	picture = GFX_report_event_GER_goering_reading

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

	option = { 
		name = goering.53.a
	}
}

country_event = { # Remer gets militarist leader
	id = goering.54
	title = goering.54.t
	desc = goering.54.d
	picture = GFX_report_event_GER_otto_remer_intro

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.54.a
		hidden_effect = {
			set_party_name = {
				ideology = national_socialism_2
				long_name = GER_national_socialism_2_wpc_party_long
				name = GER_national_socialism_2_wpc_party
			}
			set_party_name = {
				ideology = national_socialism_1
				long_name = GGR_national_socialism_party_long
				name = GGR_national_socialism_party
			}
			every_unit_leader = {
				limit = {
					has_id = 1120
				}
				promote_leader = yes
			}
			clr_country_flag = GER_Schorner_Militarist_Leader
			set_country_flag = GER_Remer_Militarist_Leader

			set_temp_variable = { loyalty_change = 100 }
			GGR_increase_militarist_loyalty = yes
			set_temp_variable = { hawkishness_change = 100 }
			GGR_increase_militarist_hawkishness = yes
			set_temp_variable = { power_change = 100 }
			GGR_increase_militarist_power = yes

			set_variable = { national_socialism_1_var = token:schorner_nazism_token }
		}
	}
}

country_event = { #Plan Zero
	id = goering.55
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.55"}
	title = goering.55.t
	desc = goering.55.d
	picture = GFX_report_event_GER_goering_reading

	fire_only_once = yes
	is_triggered_only = yes

	option = { #Lesgo
		name = goering.55.a
        hidden_effect = { every_country = { scoped_play_song = "tno_song_goosestep" } }
	}
}

country_event = { # Milch returns from madagaskar
	id = goering.56
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.56"}
	title = goering.56.t
	desc = goering.56.d
	picture = GFX_report_event_MAD_milch_bro_2

	fire_only_once = yes
	is_triggered_only = yes

	option = { #good
		name = goering.56.a
		effect_tooltip = {
			MAD = {
				MDG_Erhard_Milch = {
					set_nationality = GER
				}
			}
		}
		hidden_effect = {
			GER = {
				MDG_Willi_Stoph = {
					set_nationality = MAD
				}
			}
			if = {
				limit = {
					MDG = {
						exists = yes
					}
				}
				MAD = {
					annex_country = {
						target = MDG
						transfer_troops = yes
					}
				}
			}
			else = {
				MAD = {
					MDG_Erhard_Milch = {
						set_nationality = GER
					}
				}
			}
			MAD = {
				set_cosmetic_tag = MAD_KOLONIE
				set_party_name = {
					ideology = national_socialism
					long_name = MAD_KOLONIE_national_socialism_party_long
					name = MAD_KOLONIE_national_socialism_party
				}
				transfer_state = 706
				transfer_state = 707
				GGR_set_up_RK_ROOT = yes
				add_country_leader_role = {
					character = MDG_Willi_Stoph
					country_leader = {
						expire = "1999.1.1.1"
						ideology = national_socialism_revolutionary_nazism_subtype
						traits = { }
					}
					promote_leader = yes
				}
			}
		}
	}
}

country_event = {
	id = goering.57
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.57"}
	title = goering.57.t
	desc = goering.57.d

	picture = GFX_report_event_DOM_viva_trujillo

	fire_only_once = yes
	is_triggered_only = yes

	option = { #good
		name = goering.57.a
	}
}

country_event = { # garrison mech opening event
	id = goering.58
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.58"}
	title = goering.58.t
	desc = goering.58.d

	picture = GFX_report_event_GER_goering_reading

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = goering.58.a
		#GE_intialize_WM_mech = yes
	}
}

#Anti Göring containment events

country_event = { #initial choosing
	id = goering_anti.0
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.0"}
	title = goering_anti.0.t
	desc = goering_anti.0.desc
	#picture =
	hidden = yes

	is_triggered_only = yes

	trigger = {
		NOT = {
			tag = OST
			tag = DST
			tag = MST
			tag = JST
			tag = UPO
			tag = BLR
			tag = MCW
			tag = DEN
			AND = {
				tag = HOL
				NOT = {
					has_government = national_socialism
					has_government = fascism
				}
			}
			tag = SLO
			tag = BRG
			has_government = national_socialism
			has_cosmetic_tag = ENG_transitional_govt
		}
		any_owned_state = {
			is_coastal = yes
		}
	}

	option = { #
		name = goering_anti.0.a
		ai_chance = { factor = 1 }

		if = {
			limit = {
				GER = {
					NOT = {
						has_country_flag = GGR_ignore_anti_goering_system
					}
				}
			}
			#FROM = { save_global_event_target_as = GGR_Defender }
			USA = { country_event = { id = goering_anti.4 }  }
			JAP = { country_event = { id = goering_anti.11 }  }
			#BRG = { country_event = { id = goering_anti.14 }  }
			every_country = {
				limit = {
					any_neighbor_country = {
						exists = yes
					}
					NOT = {
						original_tag = GER
						is_in_faction_with = GER
						has_war = yes
						is_subject_of = yes
						is_russian_nation = yes
						is_kazakh_nation = yes
						is_central_asian_nation = yes
						tag = USA
						tag = JAP
						
						# previous RKs
						AND = {
							tag = ENG
							has_global_flag = FEN_GF_WonECW
						}
						tag = BRG
						tag = DEN
						tag = CAU
						tag = OST
						tag = BLR
						tag = MST
						tag = UPO
						tag = CAU
						tag = HOL
						is_moskowien_splits = yes


						tag = ZZZ
						tag = AAN

						has_idea = Pakt_Observer
					}
					num_of_controlled_states > 20
				}
				country_event = { id = goering_anti.1 }
			}
		}
	}
}
country_event = { #USA accepted - OFN reaction
	id = goering_anti.20
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.20"}
	#picture =

	is_triggered_only = yes
	hidden = yes

	option = { #
		name = goering_anti.20.a
		ai_chance = { factor = 1 }

		every_country = {
			limit = {
				is_in_faction_with = USA
				NOT = { original_tag = USA }
			}
			country_event = { id = goering_anti.7 }
		}
	}
}
country_event = { #USA declined - OFN reaction
	id = goering_anti.21
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.21"}
	#picture =

	is_triggered_only = yes
	hidden = yes

	option = { #
		name = goering_anti.21.a
		ai_chance = { factor = 1 }

		every_country = {
			limit = {
				is_in_faction_with = USA
				NOT = { original_tag = USA }
			}
			country_event = { id = goering_anti.8 }
		}
	}
}
country_event = { #Neutral Europe
	id = goering_anti.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.1"}
	title = goering_anti.1.t
	desc = goering_anti.1.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = goering_anti.1.a
		trigger = {
			NOT = {
				is_in_faction_with = USA
				is_in_faction_with = JAP
			}
		}
		ai_chance = { factor = 1 }

		anti_goering_send_equipment = yes

		FROM = {
			country_event = { id = goering_anti.3 days = 1 }
		}
		hidden_effect = {
			if = {
				limit = {
					GER = {
						NOT = {
							has_country_flag = GGR_ignore_enemy_aid_events
						}
					}
				}
				GER = { country_event = { id = goering_anti.2 days = 1 } }
			}
		}
	}

	option = { #
		name = goering_anti.1.c
		ai_chance = { factor = 3 }
		if = {
			limit = {
				FROM = { check_variable = { num_owned_states > 30 } }
			}
			GGR_anti_goering_upgrade = yes
		}
		if = {
			limit = {
				has_country_flag = anti_goering_preparation
			}
			random = {
				chance = 50
				GGR_anti_goering_upgrade = yes
			}
		}
		else = {
			random = {
				chance = 25
				GGR_anti_goering_upgrade = yes
			}
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = anti_air_building
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = thermoelectric_plant
				level = 2
				instant_build = yes
			}
		}
	}
}

country_event = { #Neutral Europe GER Response
	id = goering_anti.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.2"}
	title = goering_anti.2.t
	desc = goering_anti.2.desc
	#picture =

	trigger = { NOT = { has_country_flag = GGR_ignore_enemy_aid_events } }

	is_triggered_only = yes

	option = { #
		name = goering_anti.2.a
	}
}

country_event = { #Neutral Europe Defender response
	id = goering_anti.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.3"}
	title = goering_anti.3.t
	desc = goering_anti.3.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = goering_anti.3.a
	}
}


# US Events

country_event = { #US
	id = goering_anti.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.4 from [FROM.GetName]"}
	title = goering_anti.4.t
	desc = goering_anti.4.desc
	#picture =

	is_triggered_only = yes

	trigger = { is_faction_leader = yes }

	option = { #
		name = goering_anti.4.a
		ai_chance = {
			factor = 2
		}
		anti_goering_send_equipment = yes
		anti_goering_send_volunteers = yes
		log = "[GetDateText]: [Root.GetName]: event goering_anti.4.a"

		FROM = {
			country_event = { id = goering_anti.6 days = 1 }
			set_country_flag = USA_entered_war
			hidden_effect = { country_event = { id = goering_anti.20 } }
		}

		hidden_effect = {
			if = {
				limit = {
					GER = {
						NOT = {
							has_country_flag = GGR_ignore_enemy_aid_events
						}
					}
				}
				GER = {
					country_event = { id = goering_anti.5 days = 1 }
				}
			}
		}
	}
	option = { #
		name = goering_anti.4.b
		ai_chance = {
			factor = 1
		}
		anti_goering_send_equipment = yes
		send_equipment = {
			equipment = anti_tank_equipment_1
			amount = 1000
			target = FROM
		}
		log = "[GetDateText]: [Root.GetName]: event goering_anti.4.b"

		FROM = {
			country_event = { id = goering_anti.6 days = 1 }
		}

		hidden_effect = {
			FROM = {
				country_event = goering_anti.20
			}
			if = {
				limit = {
					GER = {
						NOT = {
							has_country_flag = GGR_ignore_enemy_aid_events
						}
					}
				}
				GER = {
					country_event = { id = goering_anti.5 days = 1 }
				}
			}
		}
	}
	option = { #
		name = goering_anti.4.c
		ai_chance = {
			factor = 0
			modifier = {
				add = 4
				FROM = {
					has_fascist_government = yes
				}
			}
		}
		log = "[GetDateText]: [Root.GetName]: event goering_anti.4.c"
		hidden_effect = { FROM = { country_event = goering_anti.21 } }
	}
}

country_event = { #US GER Response
	id = goering_anti.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.5"}
	title = goering_anti.5.t
	desc = goering_anti.5.desc
	#picture =

	trigger = { NOT = { has_country_flag = GGR_ignore_enemy_aid_events } }

	is_triggered_only = yes

	option = { #
		name = goering_anti.5.a
	}
}

country_event = { #US Defender response
	id = goering_anti.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.6"}
	title = goering_anti.6.t
	desc = goering_anti.6.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = goering_anti.6.a
	}
}


# OFN Events

country_event = { #OFN US PRO
	id = goering_anti.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.7"}
	title = goering_anti.7.t
	desc = goering_anti.7.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = goering_anti.7.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				FROM = {
					has_democratic_government = yes
				}
			}
			modifier = {
				add = 4
				FROM = {
					has_elected_government = yes
				}
			}
		}
		anti_goering_send_equipment = yes
		add_manpower = -10000

		hidden_effect = {
			if = {
				limit = {
					GER = {
						NOT = {
							has_country_flag = GGR_ignore_enemy_aid_events
						}
					}
				}
				GER = {
					country_event = { id = goering_anti.9 days = 1 }
				}
			}
		}
		FROM = {
			country_event = { id = goering_anti.10 days = 1 }
			add_manpower = 10000
		}
	}

	option = { #
		name = goering_anti.7.b
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				FROM = {
					has_dictatorship_government = yes
					has_fascist_government = no
				}
			}
			modifier = {
				add = 4
				FROM = {
					has_authoritarian_government = yes
				}
			}
		}
		anti_goering_send_equipment = yes

		hidden_effect = {
			if = {
				limit = {
					GER = {
						NOT = {
							has_country_flag = GGR_ignore_enemy_aid_events
						}
					}
				}
				GER = {
					country_event = { id = goering_anti.9 days = 1 }
				}
			}
		}
		FROM = {
			country_event = { id = goering_anti.10 days = 1 }
		}
	}

	option = { #
		name = goering_anti.7.c
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				FROM = {
					has_socialist_government = yes
				}
			}
			modifier = {
				add = 4
				FROM = {
					has_fascist_government = yes
				}
			}
		}
	}
}

country_event = { #OFN US ANTI
	id = goering_anti.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.8"}
	title = goering_anti.8.t
	desc = goering_anti.8.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = goering_anti.8.a
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				FROM = {
					has_democratic_government = yes
				}
			}
			modifier = {
				add = 4
				FROM = {
					has_elected_government = yes
				}
			}
		}
		anti_goering_send_equipment = yes
		add_manpower = -10000

		FROM = {
			country_event = { id = goering_anti.10 days = 1 }
			add_manpower = 10000
		}

		hidden_effect = {
			if = {
				limit = {
					GER = {
						NOT = {
							has_country_flag = GGR_ignore_enemy_aid_events
						}
					}
				}
				GER = {
					country_event = { id = goering_anti.9 days = 1 }
				}
			}
		}
	}

	option = { #
		name = goering_anti.8.b
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				FROM = {
					has_dictatorship_government = yes
					has_fascist_government = no
				}
			}
			modifier = {
				add = 4
				FROM = {
					has_authoritarian_government = yes
				}
			}
		}
		anti_goering_send_equipment = yes
		hidden_effect = {
			GER = {
				country_event = { id = goering_anti.9 days = 1 }
			}
		}
		FROM = { country_event = { id = goering_anti.10 days = 1 } }
	}

	option = { #
		ai_chance = {
			factor = 1
			modifier = {
				add = 2
				FROM = {
					has_socialist_government = yes
				}
			}
			modifier = {
				add = 4
				FROM = {
					has_fascist_government = yes
				}
			}
		}
		name = goering_anti.8.c
	}
}

country_event = { #OFN GER response
	id = goering_anti.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.9"}
	title = goering_anti.9.t
	desc = goering_anti.9.desc
	picture = GFX_report_event_USA_spyplane
	
	trigger = { NOT = { has_country_flag = GGR_ignore_enemy_aid_events } }

	is_triggered_only = yes

	option = { #
		name = goering_anti.9.a
		ai_chance = { factor = 1 }

	}
}

country_event = { #US Defender response
	id = goering_anti.10
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.10"}
	title = goering_anti.10.t
	desc = goering_anti.10.desc
	picture = GFX_report_event_US

	is_triggered_only = yes

	option = { #
		name = goering_anti.10.a


	}
}

#Anti Göring containment events Jabbn edition

country_event = { #JABBN EVENT
	id = goering_anti.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.11"}
	title = goering_anti.11.t
	desc = goering_anti.11.desc
	picture = GFX_report_event_japan_diet_1

	is_triggered_only = yes

	trigger = { is_faction_leader = yes }

	option = { #
		name = goering_anti.11.a
		ai_chance = {
			factor = 1
			modifier = {
				factor = 100
				FROM = {
					OR = {
						is_subject_of = ITA
						is_in_faction_with = USA
					}
				}
			}
		}
		anti_goering_send_equipment = yes
		anti_goering_send_volunteers = yes

		FROM = {
			country_event = { id = goering_anti.13 days = 1 }
			set_country_flag = JAP_entered_war
		}

		hidden_effect = {
			if = {
				limit = {
					GER = {
						NOT = {
							has_country_flag = GGR_ignore_enemy_aid_events
						}
					}
				}
				GER = {
					country_event = { id = goering_anti.12 days = 1 }
				}
			}
		}
	}

	option = { #
		name = goering_anti.11.b
		ai_chance = { factor = 1 }
		anti_goering_send_equipment = yes

		FROM = {
			country_event = { id = goering_anti.13 days = 1 }

		}
		hidden_effect = {
			GER = {
				country_event = { id = goering_anti.12 days = 1 }
			}
		}
	}

	option = { #
		name = goering_anti.11.c
		ai_chance = { factor = 3 }
	}
}

country_event = { #jabbn GER Response
	id = goering_anti.12
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.12"}
	title = goering_anti.12.t
	desc = goering_anti.12.desc
	picture = GFX_report_event_japan_diet_1
	
	trigger = { NOT = { has_country_flag = GGR_ignore_enemy_aid_events } }

	is_triggered_only = yes

	option = { #
		name = goering_anti.12.a


	}
}

country_event = { #jabbn Defender response
	id = goering_anti.13
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.13"}
	title = goering_anti.13.t
	desc = goering_anti.13.desc
	picture = GFX_report_event_japan_diet_1

	is_triggered_only = yes

	option = { #
		name = goering_anti.13.a


	}
}

#Anti Göring containment events Burgundy edition
 
country_event = { #Burgundy EVENT
	id = goering_anti.14
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.14"}
	title = goering_anti.14.t
	desc = goering_anti.14.desc

	is_triggered_only = yes

	option = { #
		name = goering_anti.14.a
		ai_chance = { factor = 2 }
		anti_goering_send_equipment = yes
		anti_goering_send_volunteers = yes

		FROM = {
			country_event = { id = goering_anti.16 days = 1 }
			set_country_flag = BRG_entered_war
		}

		hidden_effect = {
			if = {
				limit = {
					GER = {
						NOT = {
							has_country_flag = GGR_ignore_enemy_aid_events
						}
					}
				}
				GER = {
					country_event = { id = goering_anti.15 days = 1 }
				}
			}
		}
	}

	option = { #
		name = goering_anti.14.b
		ai_chance = { factor = 2 }
		anti_goering_send_equipment = yes

		GER = {
			country_event = { id = goering_anti.15 days = 1 }
		}
		FROM = {
			country_event = { id = goering_anti.16 days = 1 }
		}
	}

	option = { #
		name = goering_anti.14.c
		ai_chance = { factor = 1 }
	}
}

country_event = { #Burgundy GER Response
	id = goering_anti.15
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.15"}
	title = goering_anti.15.t
	desc = goering_anti.15.desc
	#picture =
	
	trigger = { NOT = { has_country_flag = GGR_ignore_enemy_aid_events } }

	is_triggered_only = yes

	option = { #
		name = goering_anti.15.a
	}
}

country_event = { #Burgundy Defender response
	id = goering_anti.16
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.16"}
	title = goering_anti.16.t
	desc = goering_anti.16.desc
	#picture =

	is_triggered_only = yes

	option = { #
		name = goering_anti.16.a
	}
}

country_event = { #
	id = goering_anti.17
	title = goering_anti.17.t
	desc = goering_anti.17.desc
	picture = GFX_report_event_MAD_palace

	hidden = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering_anti.17"}

	option = {
		name = goering_anti.17.a
		clr_country_flag = GGR_ignore_anti_goering_system
	}
}


country_event = { # Last chances
	id = goering.505050
	title = goering.505050.t
	desc = goering.505050.desc
	picture = GFX_report_event_MAD_palace
	hidden = yes
	is_triggered_only = yes

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

	option = {
		name = goering.505050.a
		add_ideas = GGR_last_legs
		if = {
			limit = {
				has_country_flag = GER_war_plan_zero
			}
			country_event = { id = goering.505051 days = 10 }
		}
		else_if = {
			limit = {
				has_country_flag = GER_war_plan_A
			}
			country_event = { id = goering.505051 days = 20 }
		}
		else_if = {
			limit = {
				has_country_flag = GER_war_plan_B
			}
			country_event = { id = goering.505051 days = 40 }
		}
		else_if = {
			limit = {
				has_country_flag = GER_war_plan_C
			}
			country_event = { id = goering.505051 days = 60 }
		}
	}
}

country_event = { # Last chance event check
	id = goering.505051
	title = goering.505051.t
	desc = goering.505051.desc
	picture = GFX_report_event_MAD_palace

	is_triggered_only = yes
	hidden = yes

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

	option = {
		name = goering.505051.a
		if = {
			limit = {
				GER = {
					has_war = yes
				}
			}
			country_event = { id = goering.505052 }
		}
		else = {
			remove_ideas = GGR_last_legs
		}
	}
}

country_event = { # Its all over now
	id = goering.505052
	title = goering.505052.t
	desc = goering.505052.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505052"}
	
	option = {
		name = goering.505052.a
		add_ideas = GGR_total_economic_collapse
		clr_country_flag = GGR_economy_tree
		set_temp_variable = { temp_econ_GDP_boost_flat = -30 }
		econ_GDP_boost_once_flat = yes
		add_to_variable = { interest_rates = 2 }
		country_event = { id = goering_schorner.1 days = 4 }
		custom_effect_tooltip = GER_GOR_Militarists_mad
		hidden_effect = {
			save_global_event_target_as = losing_country
			random_country = {
				limit = {
					has_war_with = GER
					
					if = {
						limit = {
							any_country = {
								is_in_faction = yes
								has_war_with = GER
							}
						}
						is_in_faction = yes
					}
				}
				if = {
					limit = {
						is_in_faction = yes
					}
					faction_leader = {
						save_global_event_target_as = winning_country
					}
				}
				else_if = {
					limit = {
						is_subject = yes
					}
					owner = {
						save_global_event_target_as = winning_country
					}
				}
				else = {
					save_global_event_target_as = winning_country
				}
				set_global_flag = war_won
				set_global_flag = show_peace_popup_alert
			}
			every_country = {
				limit = {
					has_war_with = GER
				}
				GER = {
					white_peace = PREV
				}
			}
			every_country = {
				limit = {
					check_variable = { ECON_SPHERE_LEADER = GER }
					NOT = { tag = GER }
				}
				econ_leave_sphere = yes
			}
			every_country = {
				limit = {
					has_idea = GGR_occupational_expenses_dummy
				}
				remove_ideas = GGR_occupational_expenses_dummy
			}
			every_country = {
				limit = {
					has_idea = GGR_garrisons_from_germany_dummy
				}
				remove_ideas = GGR_garrisons_from_germany_dummy
			}
			TSM = {
				every_character = {
					limit = {
						has_character_flag = GGR_sent_to_brazil
					}
					set_nationality = GER
				}
			}
			remove_dynamic_modifier = { modifier = GGR_poverty_reverser }

			country_event = { id = goering.505053 days = 14 }
			clr_country_flag = GER_war_plan_A
			clr_country_flag = GER_war_plan_B
			clr_country_flag = GER_war_plan_C
			clr_country_flag = GGR_economy_tree
			clr_country_flag = GGR_military_tree
			clr_country_flag = GGR_science_tree
			set_temp_variable = { temp_credit_rating_min = 1 }
			set_temp_variable = { temp_credit_rating_max = 1 }
			set_temp_variable = { temp_credit_rating = 1 }
			econ_set_min_credit_rating = yes
			econ_set_credit_rating = yes
			econ_set_max_credit_rating = yes
			GGR_decrease_militarist_loyalty_large = yes
			GGR_decrease_militarist_loyalty_large = yes
			GGR_increase_militarist_hawkishness_large = yes
			GGR_increase_militarist_hawkishness_large = yes
			GGR_Reload_main = yes
		}
		ENG = {
			if = {
				limit = { has_country_flag = ENG_sealion }
				remove_mission = ENG_DEC_USA_equipment_sealion
				clr_country_flag = ENG_sealion_guns
				if = {
					limit = { has_global_flag = ENG_GF_WonECW }
					country_event = ENG_sealion.4 
				}
				else_if = {
					limit = { has_global_flag = FEN_GF_WonECW }
					country_event = ENG_sealion.103 
				}
			}
		}
		if = {
			limit = {
				has_global_flag = RUS_all_russian_congress
				GGR_russia_conquered = no
			}
			event_target:ARC_leader = {
				country_event = { id = ARC.1001 }
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_debug = yes
			}
		}
	}

	option = {
		name = "ur bad"
		trigger = {
			is_debug = yes
		}
		ai_chance = {
			base = 1
		}
		every_country = {
			limit = {
				is_ai = no
				NOT = { tag = GER }
			}
			news_event = WORLD_REICH.300
		}
	}
}

country_event = { # Fail state revolutions in Balkans
	id = goering.505053
	title = goering.505053.t
	desc = goering.505053.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	hidden = yes 
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505053"}
	
	option = {
		name = goering.505053.a
		# Breakaways sent
		TSM = {
			BUL_Violeta_Yakova_Ivanka = {
				set_nationality = BUL
			}
			HUN_Miklos_Horty_Jr = {
				set_nationality = HUN
			}
			CLN_Ugo_La_Malfa = {
				set_nationality = TMW
			}
			FIN_Sulo_Nykanen = {
				set_nationality = FIN
			}
			SWE_Olof_Palme = {
				set_nationality = SWE
			}
			SWI_Efrem_Cattelan = {
				set_nationality = SWI
			}
			EST_Alfons_Rebane = {
				set_nationality = EST
			}
			LAT_Herberts_Cukurs = {
				set_nationality = LAT
			}
			BLR_Vladimir_Ksyanevich = {
				set_nationality = BLR
			}
		}
		country_event = { id = goering.505054 days = 2 }
		if = {
			limit = {
				country_exists = RKB
				NOT = {
					GER = {
						has_country_leader = {
							character = GER_hans_speidel
							ruling_only = yes
						}
					}
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = ROM
					}
				}
				RKB = {
					release = ROM
				}
				ROM = {
					set_politics = {
						ruling_party = conservatism
					}
					set_popularities = {
						communist = 4
						socialist = 10
						progressivism = 7
						liberalism = 0
						conservatism = 36
						paternalism = 8
						despotism = 17
						fascism = 5
						national_socialism = 13
						ultranationalism = 0
					}
					every_state = {
						limit = {
							is_core_of = ROM
							is_owned_by = GSL
						}
						transfer_state_to = ROM
					}
					transfer_state = 1282
					inherit_technology = GSL
					remove_all_ideas = yes
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = HUN
					}
				}
				RKB = {
					release = HUN
				}
				HUN = {
					set_politics = {
						ruling_party = paternalism
					}
					promote_character = HUN_Miklos_Horty_Jr
					set_popularities = {
						liberalism = 5
						conservatism = 10
						paternalism = 51
						despotism = 14
						fascism = 19
						national_socialism = 1
					}
					every_state = {
						limit = {
							is_core_of = HUN
							is_owned_by = GSL
						}
						transfer_state_to = PREV
					}
					inherit_technology = GSL
					remove_all_ideas = yes
				}
			}
		}
		if = {
			limit = {
				HUN = { is_subject_of = GER exists = yes }
			}
			GER = {
				set_autonomy = {
					target = HUN
					autonomous_state = autonomy_free
				}
			}
			HUN = {
				leave_faction = yes
				remove_faction_status = yes
				release_puppet = SLO
				SLO = {
					drop_cosmetic_tag = yes
					set_politics = {
						ruling_party = national_socialism
					}
					SLO_Alexander_Mach = {
						add_country_leader_role = {
							character = THIS
							promote_leader = yes
							country_leader = {
								ideology = national_socialism_subtype 
								expire = "1976.12.14"
							}
						}
					}
					promote_character = {
						character = SLO_Alexander_Mach
						ideology = national_socialism_subtype	
					}
					set_party_name = {
						ideology = national_socialism
						name = SLO_national_socialism_party
					}
					set_popularities = {
						communist = 3
						ultranationalism = 4
						socialist = 0
						progressivism = 11
						liberalism = 11
						conservatism = 14
						paternalism = 3
						despotism = 6
						fascism = 10
						national_socialism = 38
					}
					remove_all_ideas = yes
				}
				remove_all_ideas = yes
				transfer_state = 664
			}
		}
		if = {
			limit = {
				country_exists = RKB
			}			
			if = {
				limit = {
					NOT = {
						country_exists = GRE
					}
				}
				RKK = {
					release = GRE
				}
				GRE = {
					if = {
						limit = {
							RKK = {
								owns_state = 183
								owns_state = 1266
							}
						}
						transfer_state = 183
						transfer_state = 1266
					}
					if = {
						limit = {
							TMW = {
								owns_state = 1264
							}
						}
						transfer_state = 1264
					}
					promote_character = GRE_Charilaos_Florakis
					set_politics = {
						ruling_party = communist
					}

					set_popularities = {
						communist = 30
						socialist = 20
						progressivism = 0
						liberalism = 10
						conservatism = 30
						paternalism = 0
						despotism = 10
						fascism = 0
						national_socialism = 0
						ultranationalism = 0
					}
					remove_all_ideas = yes
					every_state = {
						limit = {
							is_core_of = GRE
							is_owned_by = RKB
						}
						transfer_state_to = PREV
					}
					inherit_technology = RKK
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = BUL
					}
				}
				RKB = {
					release = BUL
				}
				BUL = {
					set_politics = {
						ruling_party = progressivism
					}
					promote_character = BUL_Violeta_Yakova_Ivanka
					set_popularities = {
						socialist = 13
						progressivism = 17
						liberalism = 2
						conservatism = 23
						paternalism = 0
						despotism = 13
						fascism = 0
						national_socialism = 32
						ultranationalism = 0
					}
					remove_all_ideas = yes
					every_state = {
						limit = {
							is_core_of = BUL
							is_owned_by = RKB
						}
						transfer_state_to = PREV
					}
					inherit_technology = RKB
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = CRO
					}
				}
				RKB = {
					release = CRO
				}
				CRO = {
					CRO_Jure_Francetic = {
						add_country_leader_role = {
							country_leader = {
								expire = "1999.1.1.1"
								ideology = national_socialism_clerical_fascism_subtype
								id = -1
							}
							promote_leader = yes
						}
					}
					set_politics = {
						ruling_party = national_socialism
					}
					set_popularities = {
						communist = 25
						socialist = 0
						progressivism = 0
						liberalism = 0
						conservatism = 0
						paternalism = 0
						despotism = 20
						fascism = 0
						national_socialism = 55
						ultranationalism = 0
					}
					every_state = {
						limit = {
							is_core_of = CRO
							is_owned_by = RKB
						}
						transfer_state_to = PREV
					}
					transfer_state = 103
					inherit_technology = RKB
					remove_all_ideas = yes
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = SER
					}
				}
				RKB = {
					release = SER
				}
				SER = {
					promote_character = SER_Dragoslav_Racic
					set_politics = {
						ruling_party = despotism
					}
					set_popularities = {
						communist = 25
						socialist = 15
						progressivism = 0
						liberalism = 0
						conservatism = 0
						paternalism = 10
						despotism = 40
						fascism = 0
						national_socialism = 10
						ultranationalism = 0
					}
					every_state = {
						limit = {
							is_core_of = SER
							owner = {
								is_in_faction_with = GER
							}
						}
						transfer_state_to = PREV
					}
					drop_cosmetic_tag = yes
					leave_faction = yes
					remove_faction_status = yes
					remove_all_ideas = yes
					GER = {
						set_autonomy = {
							target = SER
							autonomous_state = autonomy_free
						}
					}
					inherit_technology = RKB
				}
			}
			if = {
				limit = {
					RKB = {
						owns_state = 745
					}
				}
				RKB = {
					release = MNT
				}
				MNT = {
					1326 = {
						transfer_state_to = MNT
						add_core_of = MNT
						remove_core_of = ITA
					}
					inherit_technology = RKB
					remove_all_ideas = yes
				}
			}
			if = {
				limit = {
					RKB = {
						owns_state = 1295
						owns_state = 44
						owns_state = 1294
					}
				}
				RKB = {
					release = ALB
				}
				ALB = {
					promote_character = ALB_Koci_Xoxe
					set_politics = {
						ruling_party = communist
					}
					set_popularities = {
						communist = 70
						socialist = 0
						progressivism = 0
						liberalism = 15
						conservatism = 0
						paternalism = 5
						despotism = 10
						fascism = 0
						national_socialism = 0
						ultranationalism = 0
					}
					every_state = {
						limit = {
							is_core_of = ALB
						}
						transfer_state_to = PREV
					}
					inherit_technology = RKB
					remove_all_ideas = yes
					drop_cosmetic_tag = yes
				}
			}
			if = {
				limit = {
					RKB = {
						owns_state = 105
					}
				}
				SER = {
					transfer_state = 105
				}
			}
		}
		if = {
			limit = {
				country_exists = RKK
			}
			RKK = { transfer_state = 1267 }
		}
		every_state = {
			limit = {
				is_core_of = RKB
			}
			remove_core_of = RKB
		}
	}
}
country_event = { # Revolutions Russia
	id = goering.505054
	title = goering.505054.t
	desc = goering.505054.desc
	picture = GFX_report_event_MAD_palace

	is_triggered_only = yes

	hidden = yes 
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505054"}

	option = {
		name = goering.505054.a
		country_event = { id = goering.505055 days = 2 }
		if = {
			limit = {
				MCW = {
					exists = yes
					is_subject_of = GER
				}
				NOT = {
					GER = {
						has_country_leader = {
							character = GER_hans_speidel
							ruling_only = yes
						}
					}
				}
			}
			if = {
				limit = {
					OR = {
						has_global_flag = RUS_West_Russian_unification
						has_global_flag = RUS_Russia_unification
						has_global_flag = RUS_national_unification
					}
					GGR_russia_conquered = no
				}
				random_country = {
					limit = {
						is_russian_nation = yes
						is_neighbor_of = MCW
					}
					annex_country = {
						target = MCW
						transfer_troops = no
					}
					transfer_state = 195
					add_core_effect = yes
				}
			}
			else = {
				ARC = {
					promote_character = ARC_David_Dragunsky
					annex_country = {
						target = MCW
						transfer_troops = no
					}
					transfer_state = 195
					add_core_effect = yes
					set_variable = { poverty_rate = 73.11 }
					set_variable = { poverty_monthly_change = 0.15 }
				}
			}
		}
		if = {
			limit = {
				RKS = {
					exists = yes
				}
			}
			ARC = {
				promote_character = ARC_David_Dragunsky
				add_ideas = ARC_the_scars_of_the_second_great_patriotic_war
				annex_country = {
					target = RKS
					transfer_troops = no
				}
				transfer_state = 2099
			}
		}
		if = {
			limit = {
				RKU = {
					exists = yes
				}
			}
			ARC = {
				annex_country = {
					target = RKU
					transfer_troops = no
				}
			}
		}
		if = {
			limit = {
				RKF = {
					exists = yes
				}
			}
			ARC = {
				annex_country = {
					target = RKF
					transfer_troops = no
				}
			}
		}
		if = {
			limit = {
				PRM = {
					exists = yes
					is_in_faction_with = GER
				}
			}
			GER = {
				end_puppet = PRM
			}
			PRM = {
				add_core_effect = yes
				leave_faction = yes
				remove_faction_status = yes
			}
			ARC = {
				division_template = {
					name = "All-Russian Division"
					is_locked = yes
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 0 y = 3 }
						infantry = { x = 0 y = 4 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						artillery_brigade = { x = 2 y = 0 }
						artillery_brigade = { x = 2 y = 1 }
					}
					support = {
						recon = { x = 0 y = 0 }
						engineer = { x = 0 y = 1 }
						artillery = { x = 0 y = 2 }
						anti_tank = { x = 0 y = 3 }
					}
				}
				set_temp_variable_to_random = {
					var = ARC_states
					min = 3
					max = 6
				}
				for_loop_effect = {
					end = ARC_states
					random_state = {
						limit = {
							is_far_east_state = yes
						}
						transfer_state_to = ARC
						add_core_of = ARC
						create_unit = {
							division = "division_template = \"All-Russian Division\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = PREV
							count = 2
						}
					}
				}
				set_temp_variable_to_random = {
					var = ARC_states
					min = 3
					max = 6
				}
				for_loop_effect = {
					end = ARC_states
					random_state = {
						limit = {
							is_AA_ural_region = yes
						}
						transfer_state_to = ARC
						add_core_of = ARC
						create_unit = {
							division = "division_template = \"All-Russian Division\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = PREV
							count = 2
						}
					}
				}
				set_temp_variable_to_random = {
					var = ARC_states
					min = 3
					max = 6
				}
				for_loop_effect = {
					end = ARC_states
					random_state = {
						limit = {
							is_central_siberia_state = yes
						}
						transfer_state_to = ARC
						add_core_of = ARC
						create_unit = {
							division = "division_template = \"All-Russian Division\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = PREV
							count = 2
						}
					}
				}
				declare_war_on = {
					target = PRM
					type = civil_war
				}
				every_country = {
					limit = {
						is_russian_nation = yes
						NOT = { tag = PRM }
					}
					random_unit_leader = {
						set_nationality = ARC
					}
					random_unit_leader = {
						set_nationality = ARC
					}
				}
				every_state = {
					limit = {
						is_core_of = PRM
					}
					add_core_of = ARC
				}
			}
			PRM = {
				remove_war_buff = yes
				transfer_units_fraction = {
					target = ARC
					size = 0.35
					keep_unit_leaders_trigger = {
						always = yes
					}
				}
				remove_ideas = {
					PRM_aryan_control_2
					PRM_aryan_control_3
					PRM_aryan_control_4
					PRM_aryan_control_5
				}
				add_ideas = PRM_aryan_control_1
			}
		}
		ARC = {
			add_core_effect = yes
			every_owned_state = {
				set_demilitarized_zone = no
			}
		}
		if = {
			limit = {
				RKT = {
					exists = yes
				}
			}
			582 = {
				transfer_state_to = ARC
				add_core_of = ARC
			}
			846 = {
				transfer_state_to = ARC
				add_core_of = ARC
			}
			RKT = {
				release = TRK
				release = KRK
				release = UZB
				release = TAJ
				release = KYR
				release = PAV
			}
			KYR = {
				set_politics = {
					ruling_party = communist
				}
				remove_all_ideas = yes
				
				set_popularities = {
					communist = 67
					socialist = 0
					progressivism = 0
					liberalism = 0
					conservatism = 0
					paternalism = 0
					despotism = 33
					fascism = 0
					national_socialism = 0
					ultranationalism = 0
				}
				every_state = {
					limit = {
						is_core_of = KYR
						is_owned_by = RKT
					}
					transfer_state_to = PREV
				}
				inherit_technology = RKT
			}
			TRK = {
				set_politics = {
					ruling_party = communist
				}
				remove_all_ideas = yes

				set_popularities = {
					communist = 30
					socialist = 7
					progressivism = 0
					liberalism = 13
					conservatism = 0
					despotism = 0
					paternalism = 19
					fascism = 31
					national_socialism = 0
					ultranationalism = 0
				}
				every_state = {
					limit = {
						is_core_of = TRK
						is_owned_by = RKT
					}
					transfer_state_to = PREV
				}
				inherit_technology = RKT
			}
			UZB = {
				set_politics = {
					ruling_party = communist
				}
				remove_all_ideas = yes
				set_popularities = {
					communist = 45
					socialist = 0
					progressivism = 0
					liberalism = 23
					conservatism = 14
					paternalism = 18
					despotism = 0
					fascism = 0
					ultranationalism = 0
				}
				every_state = {
					limit = {
						is_core_of = UZB
						is_owned_by = RKT
					}
					transfer_state_to = PREV
				}
				inherit_technology = RKT
				transfer_state = 750
				transfer_state = 1468
				add_state_core = 750
				add_state_core = 1468
			}
			KAZ = {
				set_politics = {
					ruling_party = communist
				}
				remove_all_ideas = yes
				set_popularities = {
					communist = 58
					socialist = 0
					progressivism = 13
					liberalism = 13
					conservatism = 16
					paternalism = 0
					despotism = 0
					fascism = 0
					national_socialism = 0
					ultranationalism = 0
				}
				every_state = {
					limit = {
						is_core_of = KAZ
						is_owned_by = RKT
					}
					transfer_state_to = KAZ
				}
			}
		}
		every_state = {
            limit = {
				OR = {
                	is_core_of = RKT
                	is_core_of = RKS
                	is_core_of = RKF
                	is_core_of = RKU
                	is_core_of = MCW
				}
            }
            remove_core_of = RKT
            remove_core_of = RKS
            remove_core_of = RKF
            remove_core_of = RKU
            remove_core_of = MCW
        }
	}
}
country_event = { # Revolutions Asia Minor
	id = goering.505055
	title = goering.505055.t
	desc = goering.505055.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	hidden = yes 
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505055"}

	option = {
		name = goering.505055.a
		country_event = { id = goering.505056 days = 2 }
		if = {
			limit = {
				country_exists = RKK
			}
			if = {
				limit = {
					NOT = {
						country_exists = TUR
					}
				}
				RKK = {
					release = TUR
				}
				TUR = {
					promote_character = TUR_Behice_Boran
					set_politics = {
						ruling_party = fascism
					}
					remove_all_ideas = yes
					set_popularities = {
						communist = 4
						socialist = 6
						progressivism = 10
						liberalism = 0
						conservatism = 10
						paternalism = 10
						despotism = 0
						fascism = 50
						national_socialism = 0
						ultranationalism = 10
					}
					add_state_core = 677
					every_state = {
						limit = {
							is_core_of = TUR
							is_owned_by = RKK
						}
						transfer_state_to = PREV
					}
					transfer_state = 341
					inherit_technology = RKK
					if = {
						limit = {
							RKK = {
								owns_state = 1328
							}
						}
						TUR = {
							transfer_state = 1328
						}
					}
				}
				every_state = {
					limit = {
						is_core_of = IRQ
						OR = {
							is_owned_by = RKK
							is_owned_by = RKA
						}
					}
					transfer_state_to = IRQ
				}
				1446 = {
					transfer_state_to = RKA
				}
			}
			if = {
				limit = {
					RKK = {
						owns_state = 1264
					}
				}
				GRE = {
					transfer_state = 1264
				}
			}
			if = {
				limit = {
					RKK = {
						owns_state = 164
					}
				}
				TUR = {
					transfer_state = 164
				}
			}
		}
		every_state = {
			limit = {
				is_core_of = RKK
			}
			remove_core_of = RKK
		}
	}
}
country_event = { # Revolutions Scandinavia
	id = goering.505056
	title = goering.505056.t
	desc = goering.505056.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	hidden = yes 
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505056"}

	option = {
		name = goering.505056.a
		country_event = { id = goering.505057 days = 2 }
		if = {
			limit = {
				SCN = {
					exists = yes
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = NOR
						GER = {
							has_country_leader = {
								character = GER_hans_speidel
								ruling_only = yes
							}
						}
					}
				}
				SCN = {
					release = NOR
				}
				NOR = {
					drop_cosmetic_tag = yes
					inherit_technology = GER
					promote_character = NOR_Henry_Rinnan
					set_politics = {
						ruling_party = national_socialism
					}
					set_popularities = {
						national_socialism = 100
					}
					transfer_state = 94
					add_state_core = 94
					remove_all_ideas = yes
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = SWE
					}
				}
				SCN = {
					release = SWE
				}
				SWE = {
					set_politics = {
						ruling_party = progressivism
					}
					promote_character = SWE_Olof_Palme
					set_popularities = {
						progressivism = 60
						paternalism = 40
					}
					inherit_technology = GER
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = FIN
					}
				}
				SCN = {
					release = FIN
				}
				FIN = { 
					set_politics = {
						ruling_party = despotism
					}
					promote_character = FIN_Sulo_Nykanen
					set_popularities = {
						despotism = 60
						fascism = 13
						national_socialism = 7
						liberal_conservatism = 9
						paternalism = 11
					}
					inherit_technology = GER
					remove_all_ideas = yes
				}
				1359 = {
					if = {
						limit = {
							OR = { is_owned_by = GER is_owned_by = SCN }
						}
						transfer_state_to = FIN
					}
				}
			}
		}
		if = {
			limit = {
				FIN = { is_subject_of = GER }
			}
			GER = { end_puppet = FIN }
			FIN = {
				leave_faction = yes
				econ_leave_sphere = yes
				remove_faction_status = yes
				drop_cosmetic_tag = yes
				set_politics = {
					ruling_party = despotism
				}
				set_popularities = {
					despotism = 60
					fascism = 13
					national_socialism = 7
					liberal_conservatism = 9
					paternalism = 11
				}
				promote_character = FIN_Sulo_Nykanen
				inherit_technology = GER
			}
			1359 = {
				if = {
					limit = {
						OR = { is_owned_by = GER is_owned_by = SCN }
					}
					transfer_state_to = FIN
				}
			}
		}
		every_state = {
			limit = {
				is_core_of = SCN
			}
			remove_core_of = SCN
		}
	}
}
country_event = { # Revolutions France
	id = goering.505057
	title = goering.505057.t
	desc = goering.505057.desc
	picture = GFX_report_event_MAD_palace

	hidden = yes 
	
	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505058"}
	option = {
		name = goering.505057.a
		country_event = { id = goering.505058 days = 2 }
		if = {
			limit = {
				GLC = {
					exists = yes
				}
			}
			FRS = {
				annex_country = {
					target = GLC
					transfer_troops = no
				}
				set_politics = {
					ruling_party = despotism
				}
				set_popularities = {
					liberalism = 12
					liberal_conservatism = 13
					despotism = 30
					fascism = 7
					progressivism = 10
					national_socialism = 18
				}
			}
		}
		else_if = {	
			limit = {
				FRA = {
					is_in_faction_with = GER
				}
			}
			GER = {
				end_puppet = FRA
				remove_from_faction = FRA
			}
			FRS = {
				if = {
					limit = {
						has_country_leader = {
							character = FRA_Pierre_Sidos
							ruling_only = yes
						}
					}
					FRA_civil_war_sidos_start = yes
				}
			}
		}
	}
}
country_event = { # Revolutions Africa
	id = goering.505058
	title = goering.505058.t
	desc = goering.505058.desc
	picture = GFX_report_event_MAD_palace
	hidden = yes 
	

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.505058.a
		country_event = { id = goering.505059 days = 2 }
		every_country = {
			limit = {
				is_in_faction_with = GER
				OR = {
					tag = GRO
					tag = RCA
					tag = WAF
					tag = ROA
					tag = RSA
					tag = GWA
					tag = GEA
					tag = MAD
					tag = MDG
				}
				exists = yes
			}
			ZZZ = {
				annex_country = {
					target = PREV
					transfer_troops = no
				}
			}
		}
		if = {
			limit = {
				NOT = {
					country_exists = SLG
					country_exists = ILG
				}
			}
			ALG = { add_state_core = 1151 }
			every_state = {
				limit = {
					OR = {
						is_core_of = ALG
						state = 1145
						state = 1143
					}
				}
				transfer_state_to = ALG
				add_core_of = ALG
			}
		}
		ZZZ = {
			add_core_effect = yes
			every_owned_state = {
				remove_core_of = WAF
				remove_core_of = RKM
				remove_core_of = NAF
				remove_core_of = ROA
				remove_core_of = GEA
				remove_core_of = RSA
				remove_core_of = GWA
				remove_core_of = GRO
				remove_core_of = RCA
			}
		}
	}
}

country_event = { # Revolutions Switzerland
	id = goering.505059
	title = goering.505059.t
	desc = goering.505059.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	hidden = yes 
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505059"}

	option = {
		name = goering.505059.a
		country_event = { id = goering.505060 days = 2 }
		if = {
			limit = {
				GER = {
					OR = {
						has_idea = GGR_swiss_resistance2
						has_idea = GGR_swiss_resistance3
						has_idea = GGR_swiss_resistance
						SWI = { is_subject_of = GER }
					}
				}
			}
			GER = {
				release = SWI
				end_puppet = SWI
			}
			SWI = {
				remove_all_ideas = yes
				set_politics = {
					ruling_party = despotism
				}
				promote_character = SWI_Efrem_Cattelan
				drop_cosmetic_tag = yes
				set_popularities = {
					communist = 3
					socialist = 0
					progressivism = 13
					liberalism = 16
					conservatism = 13
					paternalism = 12
					despotism = 40
					fascism = 1
					national_socialism = 2
					ultranationalism = 0		
				}
			}
		}
	}
}

country_event = { # Revolutions RK Britannien
	id = goering.505060
	title = goering.505060.t
	desc = goering.505060.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	hidden = yes 
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505060"}

	option = {
		name = goering.505060.a
		country_event = { id = goering.505061 days = 2 }
		if = {
			limit = {
				country_exists = BRI
				NOT = {
					GER = {
						has_country_leader = {
							character = GER_hans_speidel
							ruling_only = yes
						}
					}
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = ENG
					}
				}
				BRI = {
					release = ENG
				}
				ENG = { #For England
					remove_all_ideas = yes
					load_focus_tree = GER_blankfocus
					transfer_state = 1375
					transfer_state = 123
					transfer_state = 1296
					set_politics = {
						ruling_party = paternalism
					}
					promote_character = ENG_Dennis_Skinner

					set_popularities = {
						communist = 16
						socialist = 20
						progressivism = 0
						liberalism = 0
						conservatism = 14
						paternalism = 50
						despotism = 0
						fascism = 0
						national_socialism = 0
						ultranationalism = 0
					}
					inherit_technology = GER
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = IRE
					}
				}
				BRI = {
					release = IRE
				}
				IRE = { #For Ireland
					remove_all_ideas = yes
					set_politics = {
						ruling_party = paternalism
					}
					load_focus_tree = GER_blankfocus 
					inherit_technology = GER
				}
				if = {
					limit = {
						ENG = {
							owns_state = 119
							owns_state = 1315
						}
					}
					IRE = {
						transfer_state = 119
						transfer_state = 1315
					}
				}
			}
		}
	}
}

country_event = { # Revolutions Morrocco
	id = goering.505061
	title = goering.505061.t
	desc = goering.505061.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

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

	hidden = yes 
	
	option = {
		name = goering.505061.a
		country_event = { id = goering.505062 days = 2 }
		if = { #For allied Morrocco
			limit = {
				MOR = {
					exists = yes
					is_subject_of = GER
				}
			}
			GER = {
				remove_from_faction = MOR
				end_puppet = MOR
			}
		}
		if = { #for Rif
			limit = {
				NOT = {
					country_exists = RIF
				}
				OR = {
					country_exists = NAF
					country_exists = RKM
				}
			}
			every_state = {
				limit = {
					is_core_of = MOR
				}
				transfer_state_to = RIF
				add_core_of = RIF
			}
			RIF = {
				set_cosmetic_tag = MOR
			}
		}
	}
}

country_event = { # Revolutions Iberia
	id = goering.505062
	title = goering.505062.t
	desc = goering.505062.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	hidden = yes 
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505062"}

	option = {
		name = goering.505062.a
		country_event = { id = goering.505063 days = 2 }
		if = {
			limit = {
				RKG = {
					exists = yes
					is_subject_of = GER
				}
			}
			RPP = {
				transfer_state = 697
				transfer_state = 698
				annex_country = {
					target = GPG
					transfer_troops = no
				}
				remove_all_ideas = yes
				add_core_effect = yes
			}
			SPR = {
				remove_all_ideas = yes
				if = {
					limit = {
						GER = {
							owns_state = 177
						}
					}
					SPR = {
						transfer_state = 177
					}
				}
				if = {
					limit = {
						GER = {
							owns_state = 702
						}
					}
					SPR = {
						transfer_state = 702
					}
				}
				transfer_state = 118
				transfer_state = 178
				transfer_state = 290
				transfer_state = 1547
				transfer_state = 1545
				annex_country = {
					target = RKG
					transfer_troops = no
				}
				annex_country = {
					target = GBQ
					transfer_troops = no
				}
				annex_country = {
					target = GCA
					transfer_troops = no
				}
				annex_country = {
					target = GCA
					transfer_troops = no
				}
				annex_country = {
					target = GKA
					transfer_troops = no
				}
				annex_country = {
					target = ADS
					transfer_troops = no
				}
				add_core_effect = yes
			}
		}
	}
}

country_event = { # Revolutions Ukraine
	id = goering.505063
	title = goering.505063.t
	desc = goering.505063.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	hidden = yes 
	
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505063"}

	option = {
		name = goering.505063.a
		country_event = { id = goering.505064 days = 2 }
		if = { 
			limit = {
				UKR = {
					exists = yes
					is_subject_of = GER
				}
				NOT = {
					GER = {
						has_country_leader = {
							character = GER_hans_speidel
							ruling_only = yes
						}
					}
				}
			}
			every_state = {
				limit = {
					is_core_of = UKR
				}
				UKR = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}  
			GER = {
				end_puppet = UKR
				remove_from_faction = UKR
			}
			UKR = {
				release = UKS
				release = FUK
				release = BOV
			}
			1428 = { # Kiew owner
				owner = {
					annex_country = {
						target = UKR
						transfer_troops = yes
					}
					transfer_state = 196
					transfer_state = 1532
					transfer_state = 137
				}
			}
			if = {
				limit = {
					count_triggers = {
						amount = 2
						country_exists = UKR
						country_exists = UKS
						country_exists = FUK
						country_exists = BOV
					}
				}
				every_country = {
					limit = {
						is_ukranian_nation = yes
						exists = yes
					}
					every_country = {
						limit = {
							is_ukranian_nation = yes
							exists = yes
							NOT = { tag = PREV }
						}
						declare_war_on = {
							target = PREV
							type = civil_war
						}
					}
				}
			}
		}
	}
}

country_event = { # Revolutions Slovakia
	id = goering.505064
	title = goering.505064.t
	desc = goering.505064.desc
	picture = GFX_report_event_MAD_palace

	hidden = yes 
	
	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.505064.a
		country_event = { id = goering.505065 days = 2 }
		if = {
			limit = {
				GSL = {
					exists = yes
					is_subject_of = GER
				}
				NOT = {
					GER = {
						has_country_leader = {
							character = GER_hans_speidel
							ruling_only = yes
						}
					}
				}
			}
			SLO = {
				annex_country = {
					target = GSL
					transfer_troops = no
				}
				SLO = {
					set_politics = {
						ruling_party = paternalism
					}
				}
			}
		}
		else_if = {
			limit = {
				SLO = {
					exists = yes
					is_subject_of = GER
				}
				NOT = {
					GER = {
						has_country_leader = {
							character = GER_hans_speidel
							ruling_only = yes
						}
					}
				}
			}
			GER = {
				remove_from_faction = SLO
				end_puppet = SLO
			}
			SLO = {
				set_politics = {
					ruling_party = paternalism
				}
				drop_cosmetic_tag = yes
			}
		}
	}
}

country_event = { # Revolutions Kaukasia
	id = goering.505065 
	title = goering.505065.t
	desc = goering.505065.desc
	picture = GFX_report_event_MAD_palace

	hidden = yes 

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.505065.a
		country_event = { id = goering.505066 days = 2 }
		if = {
			limit = {
				NOT = {
					GER = {
						has_country_leader = {
							character = GER_hans_speidel
							ruling_only = yes
						}
					}
				}
			}
			if = {
				limit = {
					NOT = { has_global_flag = RUS_all_russian_congress }
				}		
				if = {
					limit = {
						OR = {
							has_global_flag = RUS_West_Russian_unification
							has_global_flag = RUS_Russia_unification
							has_global_flag = RUS_national_unification
						}
					}
					random_country = {
						limit = {
							OR = {
								is_russian_nation = yes
								tag = ARC
							}
							is_after_midninght_russian_nation = no
							is_neighbor_of = CAU
						}
						annex_country = {
							target = CAU
							transfer_troops = no
						}
						add_core_effect = yes
					}
				}
			}
			else = {
				ARC = {
					set_autonomy = {
						target = CAU
						autonomous_state = autonomy_military_government
					}
				}
				CAU = {
					set_politics = {
						ruling_party = paternalism
					}
					set_popularities = {
						paternalism = 58
						national_socialism = 7
						despotism = 10
						conservatism = 12
						fascism = 7
						communist = 6
					}
					set_variable = { TNO_economy_type = token:Econ_Type_Planned }
					clear_variable = TNO_economy_subtype
					ARC = {
						ARC_CAU = {
							set_nationality = CAU
						}
					}
					remove_faction_status = yes
					econ_leave_sphere = yes
					leave_faction = yes
					add_ideas = ARC_member
					promote_character = ARC_CAU
					set_cosmetic_tag = ARC_CAU
					remove_all_ideas = yes
				}
			}
		}
	}
}

country_event = { # Revolutions Syria
	id = goering.505066
	title = goering.505066.t
	desc = goering.505066.desc
	picture = GFX_report_event_MAD_palace
	hidden = yes 

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.505066.a
		country_event = { id = goering.505067 days = 2 }
		RKA = {
			release = SYR
		}
		GER = {
			remove_from_faction = SYR
			end_puppet = SYR
		}
		SYR = {
			set_politics = {
				ruling_party = despotism
			}
			set_popularities = {
				despotism = 60
				ultranationalism = 40
			}
			drop_cosmetic_tag = yes
			promote_character = SYR_Hafez_al_Assad
		}
	}
}

country_event = { # Revolutions RK Nordafrika
	id = goering.505067
	title = goering.505067.t
	desc = goering.505067.desc
	picture = GFX_report_event_MAD_palace
	hidden = yes 

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.505067.a
		country_event = { id = goering.505068 days = 2 }
		if = {
			limit = {
				NAF = {
					exists = yes
					is_subject_of = GER
				}
			}
			if = {
				limit = {
					NOT = {
						EGY = {
							exists = yes
						}
					}
				}
				NAF = {
					release = EGY
				}
				EGB = {
					EGB_Gamal_Abdel_Nasser = {
						set_nationality = EGY
					}
				}
				EGY = { 
					promote_character = EGB_Gamal_Abdel_Nasser
					transfer_state = 965
					transfer_state = 1160
					transfer_state = 453
					load_focus_tree = GER_blankfocus
					set_politics = {
						ruling_party = socialist
					}
					set_popularities = {
						socialist = 60
						paternalism = 20
						despotism = 20
					}
					inherit_technology = GER
				}
			}
			if = {
				limit = {
					OR = {
						NOT = {
							ALG = {
								exists = yes
							}
						}
						NOT = {
							SLG = {
								exists = yes
							}
						}
						NOT = {
							ILG = {
								exists = yes
							}
						}
					}
				}
				NAF = {
					release = ALG
				}
				ALG = {
					add_country_leader_role = {
						character = ALG_Ferhat_Abbas
						promote_leader = yes
						country_leader = {
							expire = "1999.10.20"
							ideology = paternalism_social_nationalism_subtype
							id = -1
						}
					}
					set_politics = {
						ruling_party = paternalism
					}
					set_popularities = {
						communist = 0
						socialist = 30
						progressivism = 0
						liberalism = 0
						conservatism = 0
						paternalism = 30
						despotism = 30
						fascism = 10
						national_socialism = 0
						ultranationalism = 0
					}
					inherit_technology = GER
				}
				if = {
					limit = {
						NOT = {
							LBA = {
								exists = yes
							}
						}
					}
					NAF = {
						release = LBA
					}
					LBA = {
						transfer_state = 448
						transfer_state = 661
						transfer_state = 449
						transfer_state = 450
						transfer_state = 663
						transfer_state = 451
					}
				}
				if = {
					limit = {
						NOT = {
							TUN = {
								exists = yes
							}
						}
					}
					NAF = {
						release = TUN
					}
					TUN = {
						drop_cosmetic_tag = yes
						remove_all_ideas = yes
					}
				}
			}
		}
	}
}

country_event = { # Revolutions WAF
	id = goering.505068
	title = goering.505068.t
	desc = goering.505068.desc
	picture = GFX_report_event_MAD_palace
	hidden = yes 

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.505068.a
		country_event = { id = goering.505069 days = 2 }
		if = { 
			limit = {
				WAF = {
					exists = yes
					is_subject_of = GER
				}
			}
			WOL = {
				annex_country = {
					target = WAF
					transfer_troops = no
				}
			}
		}
		if = {
			limit = {
				GER = {
					owns_state = 1548
				}
			}
			GER = {
				release = GAB
			}
		}
	}
}

country_event = { # Fail state revolutions in Levant
	id = goering.505069
	title = goering.505069.t
	desc = goering.505069.desc
	picture = GFX_report_event_MAD_palace
	hidden = yes 

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505069"}
	
	option = {
		name = goering.505069.a
		country_event = { id = goering.505070 days = 2 }
		if = {
			limit = {
				RKA = {
					exists = yes
					is_subject_of = GER					
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = ISR
					}
				}
				ISR = {
					transfer_state = 454
					transfer_state = 1248
					transfer_state = 1247
					transfer_state = 1366
					inherit_technology = GER
					add_country_leader_role = {
						character = ISR_Moshe_Dayan
						promote_leader = yes
						country_leader = {
							expire = "1981.10.16"
							ideology = socialist_socialist_zionism_subtype
							id = -1
						}
					}
					set_politics = {
						ruling_party = socialist
					}
					set_popularities = {
						socialist = 60
						liberalism = 20
						conservatism = 20
					}
					add_core_effect = yes
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = PAL
					}
				}
				PAL = {
					promote_character = PAL_Leila_Khaled
					set_politics = {
						ruling_party = communist
					}
					set_popularities = {
						communist = 40
						socialist = 20
						paternalism = 10
						despotism = 15
						conservatism = 15
					}
					transfer_state = 1367
					transfer_state = 1365
					transfer_state = 1304
					transfer_state = 1368
					transfer_state = 1437
					inherit_technology = GER
					add_core_effect = yes
				}
			}
			if = {
				limit = {
					RKA = {
						owns_state = 453
					}
				}
				EGY = {
					transfer_state = 453
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = JER
					}
				}
				JER = { 
					promote_character =	JER_Council_of_Jerusalem
					transfer_state = 1305
					transfer_state = 1306
					inherit_technology = GER
					add_core_effect = yes
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = JOR
					}
				}
				RKA = {
					release = JOR
				}
				JOR = {
					inherit_technology = GER
					add_core_effect = yes
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = SAU
					}
				}
				RKA = {
					release = SAU
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = YEM
					}
				}
				RKA = {
					release = YEM
				}
			}
			if = {
				limit = {
					NOT = {
						country_exists = OMA
					}
				}
				RKA = {
					release = OMA
				}
			}
		}
	}
}

country_event = { # Fail state revolutions in Italy
	id = goering.505070
	title = goering.505070.t
	desc = goering.505070.desc
	picture = GFX_report_event_MAD_palace
	hidden = yes 

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505070"}
	
	option = {
		name = goering.505070.a
		country_event = { id = goering.505071 }
		if = {
			limit = {
				country_exists = TMW
			}
			GER = {
				end_puppet = TMW
				if = {
					limit = {
						NOT = {
							736 = { is_core_of = GER }
						}
					}
					TMW = {
						transfer_state = 39
						transfer_state = 116
						transfer_state = 743
						transfer_state = 116
						add_core_effect = yes
					}
				}
			}
			TMW = {
				promote_character = CLN_Ugo_La_Malfa
				leave_faction = yes
				set_politics = {
					ruling_party = despotism
				}
				set_cosmetic_tag = CLN
				set_popularities = {
					communist = 20
					socialist = 10
					progressivism = 0
					liberalism = 10
					conservatism = 10
					despotism = 50
					despotism = 0
					fascism = 0
					national_socialism = 0
					ultranationalism = 0
				}
				annex_country = {
					target = ITA
					transfer_troops = no
				}
				inherit_technology = ITA
				set_party_name = {
					ideology = despotism
					name = CLN_despotism_party
					long_name = CLN_despotism_party
				}
			}
		}
	}
}

country_event = { # Fail state revolutions in Gulf
	id = goering.505071
	title = goering.505071.t
	desc = goering.505071.desc
	picture = GFX_report_event_MAD_palace
	hidden = yes 

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505071"}
	
	option = {
		name = goering.505071.a
		country_event = { id = goering.505073 days = 3 }
		if = {
			limit = {
				RKA = {
					owns_state = 658
				}
			}
			RKA = {
				release = GUL
			}
			GUL = {
				set_politics = {
					ruling_party = socialist
				}
				add_popularity = {
					ideology = socialist
					popularity = 0.7
				}
				drop_cosmetic_tag = yes
			}
		}
		if = {
			limit = {
				RKA = {
					owns_state = 553
				}
			}
			RKA = {
				release = LEB
			}
		}
	}
}

country_event = { #Fail state revolutions in East Africa
	id = goering.505072
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505072"}
	title = goering.505072.t
	desc = goering.505072.d
	hidden = yes 

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = goering.505072.a
		if = {
			limit = {
				GEA = {
					exists = yes
					OR = {
						is_subject_of = GER
						is_subject_of = GGR
						is_subject_of = SGR
					}
				}
			}
			GEA = {
				release = EGY
			}
			KEN = {
				transfer_state = 1097
				add_state_core = 1097
				transfer_state = 1096
				add_state_core = 1096
				transfer_state = 1095
				add_state_core = 1095
				transfer_state = 1093
				add_state_core = 1093
				transfer_state = 1092
				add_state_core = 1092
				transfer_state = 547
				add_state_core = 547
				load_oob = KEN_breakaway
			}
			SML = {
				transfer_state = 1094
				add_state_core = 1094
				transfer_state = 1111
				add_state_core = 1111
				transfer_state = 1112
				add_state_core = 1112
				transfer_state = 1113
				add_state_core = 1113
				transfer_state = 1114
				add_state_core = 1114
				transfer_state = 1102
				add_state_core = 1102
				transfer_state = 1103
				add_state_core = 1103
				transfer_state = 559
				add_state_core = 559
				transfer_state = 268
				add_state_core = 268
				transfer_state = 1110
				add_state_core = 1110
				transfer_state = 269
				add_state_core = 269
				load_oob = SML_breakaway
			}
			ORM = {
				transfer_state = 1099
				add_state_core = 1099
				transfer_state = 1098
				add_state_core = 1098
				transfer_state = 1117
				add_state_core = 1117
				transfer_state = 1100
				add_state_core = 1100
				transfer_state = 1101
				add_state_core = 1101
				transfer_state = 1104
				add_state_core = 1104
				load_oob = ORM_breakaway
			}
			ETH = {
				transfer_state = 271
				add_state_core = 271
				transfer_state = 1105
				add_state_core = 1105
				transfer_state = 1106
				add_state_core = 1106
				load_oob = ETH_breakaway
				set_cosmetic_tag = ETH_AMHARA
			}
			ERT = {
				transfer_state = 1109
				add_state_core = 1109
				transfer_state = 1108
				add_state_core = 1108
				transfer_state = 1107
				add_state_core = 1107
				transfer_state = 550
				add_state_core = 550
				load_oob = ERT_breakaway
			}
		}
	}		
}

country_event = { #Fail state revolutions in madagaskar
	id = goering.505073
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505073"}
	title = goering.505073.t
	desc = goering.505073.d
	hidden = yes 

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = goering.505073.a
		country_event = { id = goering.505074 days = 2 }
		if = {
			limit = {
				MDG = {
					exists = yes
					is_subject_of = GER
				}
			}
			MDM = {
				annex_country = {
					target = MDG
				}
			}
		}
		else_if = {
			limit = {
				MAD = {
					exists = yes
					is_subject_of = GER
				}
			}
			MDM = {
				annex_country = {
					target = MDG
				}
			}
		}
	}
}

country_event = { #Fail state revolutions in ostland
	id = goering.505074
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505073"}
	title = goering.505073.t
	desc = goering.505073.d
	hidden = yes 

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = goering.505074.a
		country_event = { id = goering.505075 days = 2 }
		if = {
			limit = {
				OST = {
					exists = yes
					is_subject_of = GER
				}
				NOT = {
					GER = {
						has_country_leader = {
							character = GER_hans_speidel
							ruling_only = yes
						}
					}
				}
			}
			EST = {
				transfer_state = 13
				transfer_state = 191
				transfer_state = 2450
				transfer_state = 1440
				transfer_state = 1396
				transfer_state = 209
				add_core_effect = yes
				set_politics = {
					ruling_party = despotism
				}
				promote_character = EST_Alfons_Rebane
				set_popularities = {
					despotism = 100
				}
			}
			LAT = {
				set_politics = { 
					ruling_party = national_socialism
				}
				promote_character = LAT_Herberts_Cukurs
				set_popularities = {
					national_socialism = 100
				}
				transfer_state = 1397
				transfer_state = 190
				transfer_state = 12
				transfer_state = 943
				transfer_state = 1398
				transfer_state = 1399
				transfer_state = 1399
				transfer_state = 1402
			}
			BLR = {
				set_politics = {
					ruling_party = conservatism
				}
				promote_character = BLR_Vladimir_Ksyanevich
				set_popularities = {
					conservatism = 100
				}
				transfer_state = 1404
				transfer_state = 207
				transfer_state = 206
				transfer_state = 95
				transfer_state = 204
				transfer_state = 194
				transfer_state = 94
				transfer_state = 1407
				transfer_state = 1405
				transfer_state = 1403
				transfer_state = 1406
				add_core_effect = yes
			}
			LIT = {
				transfer_state = 96
				transfer_state = 1400
				transfer_state = 11
				transfer_state = 1401
				transfer_state = 189
				add_core_effect = yes
			}
			if = {
				limit = {
					has_global_flag = RUS_West_Russian_unification
				}
				WSR = {
					transfer_state = 241
					transfer_state = 2452
					transfer_state = 257
					transfer_state = 1421
					add_core_effect = yes
				}
			}
			else = {
				ARC = {
					transfer_state = 241
					transfer_state = 2452
					transfer_state = 257
					transfer_state = 1421
					add_core_effect = yes
				}
			}
		}
	}
}

country_event = { #Fail state revolutions in allied bulgaria
	id = goering.505075
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.505075"}
	title = goering.505075.t
	desc = goering.505075.d
	hidden = yes 

	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = goering.505075.a
		country_event = { id = goering.505076 days = 2 }
		remove_from_faction = BUL
	}
}





### Cabinet Events ###

country_event = { # Steinhoff Appointed
	id = goering.1703
	title = goering.1703.t
	desc = goering.1703.d
	picture = GFX_report_event_GER_planes

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.1703.a
		air_experience = 25
		hidden_effect = {
			remove_advisor_role = {
				character = GER_johannes_steinhoff
				slot = air_chief
			}
			add_advisor_role = {
				character = GER_johannes_steinhoff
				activate = yes
				advisor = {
					slot = air_chief
					idea_token = GGR_Johannes_Steinhoff_air_chief
					ledger = air
					traits = {
						air_chief
						air_chief_decorated_ace
					}
					cost = -1
					can_be_fired = no
					ai_will_do = { factor = 0 }
				}
			}
			add_ideas = GGR_Johannes_Steinhoff_air_chief
		}
		set_country_flag = GER_Steinhoff_OKL
	}
}

country_event = { # Puttkamer Appointed
	id = goering.1704
	title = goering.1704.t
	desc = goering.1704.d
	picture = GFX_report_event_ITA_naval_ship

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.1704.a
		hidden_effect = {
			remove_advisor_role = {
				character = GER_karljesko_von_puttkamer
				slot = navy_chief
			}
			add_advisor_role = {
				character = GER_karljesko_von_puttkamer
				activate = yes
				advisor = {
					slot = navy_chief
					idea_token = GER_KarlJesko_von_Puttkamer_navy_chief
					ledger = navy
					traits = {
						navy_chief
					}
					cost = -1
					can_be_fired = no
					ai_will_do = { factor = 0 }
				}
			}
			add_ideas = GER_KarlJesko_von_Puttkamer_navy_chief
			navy_experience = 25
			set_country_flag = GER_Puttkamer_OKM
		}
    }
}

country_event = { # Speidel Appointed
	id = goering.1705
	title = goering.1705.t
	desc = goering.1705.d
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.1705.a
		army_experience = 50
		add_political_power = -50
		add_ideas = GER_Hans_Speidel_army_chief
		GGR_decrease_militarist_loyalty_small = yes
		set_country_flag = GER_Speidel_OKH
		effect_tooltip = {
			add_popularity = {
				ideology = despotism
				popularity = 0.1
			}
		}
		hidden_effect = {
			set_popularities = {
				national_socialism = 65
				national_socialism_2 = 25 #Schorner
				despotism = 10 #Speidel
			}	
		}
    }    
}

country_event = { # Albert and Heinz Appointed
	id = goering.1706
	title = goering.1706.t
	desc = goering.1706.d
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.1706.a
		add_political_power = -100
		GGR_decrease_militarist_power_small = yes
		GGR_decrease_militarist_loyalty_small = yes
		set_country_flag = GER_albert_adjudant
		set_country_flag = GER_theodor_chief_ops
	}
}

country_event = { # Gehlen Appointed
	id = goering.1707
	title = goering.1707.t
	desc = goering.1707.d
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.1707.a
		add_political_power = 25
		set_country_flag = GER_gehlen_abwehr
	}
}

country_event = { # Slavery Flavor Event #1
	id = goering.1708
	title = goering.1708.t
	desc = goering.1708.d
	picture = GFX_report_event_CAU_factory

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.1708.a
		add_manpower = -23
	}
}

country_event = {
	id = goering.18000

	is_triggered_only = yes
	hidden = yes

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

	option = {
		name = ""
		if = {
			limit = {
				has_global_flag = german_civil_war_end
			}
			if = {
				limit = {
					has_global_flag = german_civil_war_goeringvic
				}
				country_event = goering.1800
			}
		}
		else = {
			country_event = {
				id = goering.18000
				days = 365
			}
		}
	}
}


country_event = { # Remer gets ликвидирован on Fuhrer's birthday
	id = goering.1800
	title = goering.1800.t
	desc = goering.1800.d
	picture = GFX_report_event_burnt_tunic

	trigger = {
		has_global_flag = german_civil_war_goeringvic
	}

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.1800.a
		GER_otto_ernst_remer = {
			add_timed_unit_leader_trait = {
				trait = wounded
				days = 180
			}
		}
		hidden_effect = {
			country_event = {
				id = goering.1801
				days = 700
				random_days = 100
			}
		}
	}
}

country_event = { # Remer goes kinda insane
	id = goering.1801
	title = goering.1801.t
	desc = goering.1801.d
	picture = GFX_report_event_GER_otto_remer_intro

	fire_only_once = yes
	is_triggered_only = yes

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

	option = {
		name = goering.1801.a
		set_country_flag = GGR_radicals_appear
		custom_effect_tooltip = GGR_new_power_emerges_tt
		hidden_effect = {
			country_event = { id = goering.1802 days = 730 random_days = 30 } # Schorner begins losing popularity to Remer
		}
	}
}

country_event = { # Schorner now looses popularity lol
	id = goering.1802
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1802"}
	title = goering.1802.t
	desc = goering.1802.d

	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.1802.a
		set_country_flag = GGR_schorner_loses_popularity
		GGR_increase_militarist_hawkishness_large = yes
		GGR_decrease_militarist_power_small = yes
	}
}

country_event = { # Remer declares jihad against America and Japan, we're fucked
	id = goering.1803
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1803"}
	title = goering.1803.t
	desc = goering.1803.d

	picture = GFX_report_event_remer_speaking
	is_triggered_only = yes

	option = {
		name = goering.1803.a
		GGR_increase_militarist_hawkishness_small = yes
	}
}

country_event = { # Remer proposes to annex Hungary, bitch what?
	id = goering.1810
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1810"}
	title = goering.1810.t
	desc = goering.1810.d

	picture = GFX_report_event_remer_speaking
	is_triggered_only = yes

	option = {
		name = goering.1810.a
		country_event = { id = goering.1811 hours = 12 }
	}
}

country_event = { # Schorner passes that idea, lmao
	id = goering.1811
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1811"}
	title = goering.1811.t
	desc = goering.1811.d

	picture = GFX_report_event_GER_goering_reading
	is_triggered_only = yes

	option = {
		name = goering.1811.a
		# Fuck. You.
		GGR_increase_militarist_loyalty_small = yes
		GGR_increase_militarist_hawkishness_small = yes
	}

	option = {
		name = goering.1811.b
		# Fuck. All of them.
		GGR_increase_militarist_loyalty_small = yes
		GGR_increase_militarist_hawkishness_small = yes
	}
}

country_event = { # We're actually doing that, wow, the battle is about to commence
	id = goering.1812
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1812"}
	title = goering.1812.t
	desc = goering.1812.d

	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.1811.a
		# insert epic border conflict
		country_event = { id = goering.1813 days = 1 }
		
	}
	option = {
		name = goering.1811.a
		# insert epic border conflict
		country_event = { id = goering.1814 days = 1 }
	}
}

country_event = { # We won!
	id = goering.1813
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1813"}
	title = goering.1813.t
	desc = goering.1813.d

	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.1813.a
		RKB = {
			annex_country = {
				target = HUN
				transfer_troops = no
			}
			GGR_set_up_RK_ROOT = yes
		}
		country_event = { id = goering.1815 days = 1 }
	}
}

country_event = { # We los- wait what?
	id = goering.1814
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1814"}
	title = goering.1814.t
	desc = goering.1814.d

	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.1814.a
		add_war_support = -0.15
		country_event = { id = goering.1815 days = 1 }
	}
}

country_event = { # Allies abandon us. It's joever, dumbass
	id = goering.1815
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.1815"}
	title = goering.1815.t
	desc = goering.1815.d

	picture = GFX_report_event_GER_army_1
	is_triggered_only = yes

	option = {
		name = goering.1815.a
		# TO ADD:
		# COLD WAR MECH LOSS
		# NATSPIRIT FOR REORIENTATION
		set_temp_variable = { gdp_growth_temp = -1.5 }
		econ_gdp_growth_change = yes
		every_other_country = {
			limit = {
				is_in_faction_with = GER
				is_subject = no
			}
			leave_faction = yes
			remove_faction_status = yes
			econ_leave_sphere = yes
			set_temp_variable = { gdp_growth_temp = -2 }
			econ_gdp_growth_change = yes
		}
		set_global_flag = goering_betrayed_allies
	}
}