add_namespace = goering.epilogue


country_event = {
	id = goering.epilogue.1
	title = goering.epilogue.1.t
	desc = goering.epilogue.1.d
	picture = GFX_report_event_GER_schorner_intro
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
	    name = goering.epilogue.1.a
	}
}


country_event = {
	id = goering.epilogue.2
	title = goering.epilogue.2.t
	desc = goering.epilogue.2.d
	picture = GFX_report_event_RUS_burning_village
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = goering.epilogue.2.a
	}
}

country_event = {
	id = goering.epilogue.3
	title = goering.epilogue.3.t
	desc = goering.epilogue.3.d
	picture = GFX_report_event_BRA_ship_swastika
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = goering.epilogue.3.a
	}
}


country_event = {
	id = goering.epilogue.4
	title = goering.epilogue.4.t
	desc = goering.epilogue.4.d
	picture = GFX_report_event_GER_goering_speech
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = goering.epilogue.4.a
		add_stability = -0.20
		country_event = { id = goering.epilogue.5 days = 3 }
	}
}

country_event = {
	id = goering.epilogue.5
	title = goering.epilogue.5.t
	desc = goering.epilogue.5.d
	picture = GFX_report_event_GER_schorner_intro
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = goering.epilogue.5.a
		country_event = { id = goering.epilogue.6 }
	}
}

country_event = {
	id = goering.epilogue.6
	title = goering.epilogue.6.t
	desc = goering.epilogue.6.d
	picture = GFX_report_event_GER_dead_goering
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = goering.epilogue.6.a
		kill_country_leader = yes
		hidden_effect = {
			create_country_leader = {
				name = GER_reichstag_emergency_council
				picture = "gfx/leaders/GER/Portrait_GER_Reichstag_Emergency_Council.png"
				ideology = national_socialism_subtype
			}
			country_event = { id = goering.epilogue.7 days = 3 }
		}
	}
}

country_event = {
	id = goering.epilogue.7 #end of GE content, for now
	title = goering.epilogue.7.t
	desc = goering.epilogue.7.d
	picture = GFX_report_event_GER_germania_1
	
	is_triggered_only = yes

	fire_only_once = yes
	
	option = {
		name = goering.epilogue.7.a
		hidden_effect = {
			promote_character = {
				character = GER_ferdinand_schorner
				ideology = national_socialism_stratocratic_nazism_subtype
			}
			set_country_leader_description = {
				ideology = national_socialism
				desc = "POLITICS_FERDINAND_SCHORNER_DESC"
			}
			set_temp_variable = { natsoc_popularity = party_popularity_100@national_socialism }
			add_to_temp_variable = { natsoc_popularity = party_popularity_100@national_socialism_2 }
			set_temp_variable = { okw_populatity = party_popularity_100@despotism }
			set_temp_variable = { remer_popularity = 100 }
			subtract_from_temp_variable = { remer_popularity = natsoc_popularity }
			subtract_from_temp_variable = { remer_popularity = okw_populatity }
			set_popularities = {
				national_socialism = natsoc_popularity
				national_socialism_1 = remer_popularity
				despotism = okw_populatity
			}
		}
		custom_effect_tooltip = thank_for_playing_tooltip
		TNO_Country_Closing_Screen_Show = yes
	}
}