on_actions = {
    # GOERING BEATS THE SHIT OUT OF:
    on_capitulation = {
		effect = {
			if = {
				limit = {
					has_global_flag = german_civil_war_goeringvic
					FROM = {
						is_in_faction_with = GER
					}
				}
				if = {
					limit = {
						ROOT = { has_idea = GGR_on_our_own }
					}
					ROOT = {
						set_country_flag = stop_triggering_my_stuff
						remove_ideas = GGR_on_our_own
					}
				}
				if = { # Goering defeats the Balkan States
					limit = {
						ROOT = {
							OR = {
								is_balkan_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GER = {
							if = {
								limit = {
									ROOT = { 
										NOT = {
											tag = TNS
											tag = SLO
											tag = MAC
										} 
									}
								}
								add_days_mission_timeout = {
									mission = conquer_the_balkans
									days = 200
								}
							}
						}
						if = {
							limit = {
								ROOT = {
									OR = {
										tag = ROM
										tag = TNS
										tag = HUN
										tag = SER
										tag = GMS
										tag = SRN
										tag = SLO
									}
								}
							}
						}
						if = {
							limit = {
								ROOT = {
									OR = {
										tag = ROM
										tag = TNS
									}
								}
							}
							RKB = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
							GER = {
								if = {
									limit = {
										NOT = {
											country_exists = ROM
										}
										TNS = {
											OR = {
												exists = no
												is_subject_of = GER
											}
										}
									}
									if = {
										limit = { GER = { has_completed_focus = GGR_fragile_handle_with_care }}
										random_list = {
											20 = {
												GER = { country_event = { id = goering.tepes.1 days = 7 }}
											}
											80 = {
											}
										}
									}
									else = {
										random_list = {
											50 = {
												GER = { country_event = { id = goering.tepes.1 days = 7 }}
											}
											50 = {
											}
										}
									}
									country_event = { id = goering_peace_events.4 }
									remove_dynamic_modifier = { modifier = GGR_operation_tepes }
								}
							}
						}
						else_if = {
							limit = {
								ROOT = {
									tag = HUN
								}
							}
							RKB = {
								annex_country = {
									target = HUN
									transfer_troops = no
								}
								SLO = {
									if = {
										limit = {
											is_in_faction_with = GER
											exists = yes
										}
										transfer_state = 664
										transfer_state = 73
										add_state_core = 664
										add_state_core = 73
									}
								}
								GGR_set_up_RK_ROOT = yes
							}
							GER = {
								country_event = { id = goering_peace_events.3 }
								remove_dynamic_modifier = { modifier = GGR_operation_margarethe }
							}
						}
						else_if = {
							limit = {
								ROOT = {
									OR = {
										tag = SER
										tag = GMS
										tag = SRN
									}
								}
							}
							if = {
								limit = {
									HUN = {
										exists = yes
										is_in_faction_with = GER
									}
								}
								HUN = {
									transfer_state = 968
									add_state_core = 968
								}
							}
							else = {
								RKB = {
									transfer_state = 968
									GGR_set_up_RK_ROOT = yes
								}
							}
							RKB = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
							GER = {
								country_event = { id = goering_peace_events.7 }
							}
						}
						else_if = {
							limit = {
								ROOT = {
									OR = {
										tag = BUL
									}
								}
							}
							RKB = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
							GER = {
								country_event = { id = goering_peace_events.12 }
								clr_country_flag = GGR_no_clear_variables
							}
						}
						else_if = {
							limit = {
								ROOT = {
									tag = MAC
								}
								BUL = { is_in_faction_with = GER }
							}
							BUL = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
							}
						}
						else = {
							RKB = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats the USA
					limit = {
						ROOT = {
							OR = {
								original_tag = USA
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GER = {
							country_event = { id = goering_peace_events.22 }
						}
						
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats the Scandinavian nations
					limit = {
						ROOT = {
							OR = {
								is_scandinavian_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						ROOT = {
							transfer_navy = { target = GER }
						}
						GER = {
							add_days_mission_timeout = {
								mission = conquer_scandinavia
								days = 200
							}
						}
						SCN = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
						if = {
							limit = {
								ROOT = {
									tag = SWE
								}
							}
							GER = {
								country_event = { id = goering_peace_events.8 }
							}
						}
						if = {
							limit = {
								ROOT = {
									OR = {
										tag = FIN
										tag = RFI
									}
								}
							}
							if = {
								limit = {
									NOT = {
										country_exists = FIN
										country_exists = RFI
									}
								}
								GER = {
									country_event = { id = goering_peace_events.10 }
									remove_dynamic_modifier = { modifier = GGR_operation_lapland }
								}
							}
						}
						if = {
							limit = {
								ROOT = {
									tag = NOR
								}
							}
							GER = {
								country_event = { id = goering_peace_events.11 }
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Algeria
					limit = {
						ROOT = {
							OR = {
								original_tag = SLG
								original_tag = ILG
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								FRA = { is_in_faction_with = GER }
							}
							FRA = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						else = {
							if = {
								limit = {
									NOT = {
										country_exists = NAF
									}
								}
								NAF = {
									GGR_set_up_RK_ROOT = yes
								}
							}
							NAF = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
					}
					
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats La Plata nations
					limit = {
						ROOT = {
							OR = {
								is_la_plata_nation = yes
							}
						}
					}
					FROM = {
						if = {
							limit = {
								NOT = {
									country_exists = GAR
								}
							}
							GAR = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
								
							}
						}
						else = {
							GAR = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						if = {
							limit = {
								ROOT = { tag = URG }
							}
							AAV = { GGR_annex_antarctic_territory = yes }
						}
						else_if = {
							limit = {
								ROOT = { tag = ARG }
							}
							AAA = { GGR_annex_antarctic_territory = yes }
						}
						else_if = {
							limit = {
								ROOT = { tag = CHL }
							}
							AAC = { GGR_annex_antarctic_territory = yes }
							if = {
								limit = {
									country_exists = ENA
								}
								ENA = {
									transfer_state = 2510
									transfer_state = 2509
									transfer_state = 2508
									add_core_effect = yes
								}
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Brazil and stuffs
					limit = {
						ROOT = {
							OR = {
								is_brazilian_nation = yes
								tag = GUC
								tag = SUR
								tag = GUY
							}
						}
					}
					FROM = {
						GBR = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
						if = {
							limit = {
								ROOT = { tag = BRA }
							}
							AAR = { GGR_annex_antarctic_territory = yes }
						}
						695 = {
							if = {
								limit = {
									OR = {
										is_owned_by = SUR
										is_owned_by = GER
									}
								}
								if = {
									limit = {
										CLC = { is_in_faction_with = GER has_government = national_socialism }
									}
									transfer_state_to = CLC
									add_core_of = CLC
								}
								else = {
									GCR = {
										transfer_state = PREV
										GGR_set_up_RK_ROOT = yes
									}
								}
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats AND nations
					limit = {
						ROOT = {
							OR = {
								is_and_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								country_exists = ENA
								ROOT = { owns_state = 649 }
							}
							ENA = { transfer_state = 649 add_core_effect = yes }
						}
						if = {
							limit = {
								CLC = { is_in_faction_with = GER has_government = national_socialism }
								ROOT = {
									NOT = { tag = PRU }
								}
							}
							CLC = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						else = {
							GCO = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
						}
					}
					
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Switzerland
					limit = {
						ROOT = {
							OR = {
								original_tag = SWI
							}
						}
					}
					GER = {
						GGR_conquered_switzerland = yes
						country_event = goering_peace_events.24
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Gibraltar
					limit = {
						ROOT = {
							OR = {
								original_tag = GIB
							}
						}
					}
					GER = {
						country_event = goering.blau.iberian_wars.11
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Slovakia
					limit = {
						ROOT = {
							OR = {
								original_tag = SLO
							}
						}
					}
					GER = {
						GGR_conquered_slovakia = yes
						country_event = { id = goering.slovakia.4 }
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats the Faroe islands
					limit = {
						ROOT = {
							OR = {
								original_tag = FAR
							}
						}
					}
					FROM = {
						annex_country = {
							target = ROOT
							transfer_troops = no
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Iceland
					limit = {
						ROOT = {
							OR = {
								original_tag = ICE
							}
						}
					}
					FROM = {
						SCN = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							add_core_effect = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats San Marino, Vatican and Monaco
					limit = {
						ROOT = {
							OR = {
								original_tag = MOC
								original_tag = SNM
								original_tag = VAC
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GER = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							add_state_core = PREV
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats the Arab States
					limit = {
						ROOT = {
							OR = {
								is_arab_nation = yes
							}
							NOT = { tag = KUR }
						}
					}
					FROM = {
						if = {
							limit = {
								ROOT = { tag = BKU }
							}
							RKK = {
								annex_country = {
									target = BKU
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
							RKA = {
								transfer_state = 1993
								GGR_set_up_RK_ROOT = yes
							}
						}
						if = {
							limit = { ROOT = { tag = IRQ } }
							RKK = {
								transfer_state = 1334
								transfer_state = 1779
								transfer_state = 1780
								transfer_state = 781
								add_core_effect = yes
							}
						}
						if = {
							limit = {
								NOT = {
									country_exists = RKA
								}
							}
							RKA = {
								GGR_set_up_RK_ROOT = yes
							}
						}
						RKA = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							add_core_effect = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Burgundy
					limit = {
						ROOT = {
							OR = {
								original_tag = BRG
							}
						}
					}
					GER = {
						white_peace = ROOT
						GGR_conquered_burgundy = yes
						country_event = goering_peace_events.34
						clr_country_flag = GGR_operation_locked
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Canada
					limit = {
						ROOT = {
							OR = {
								original_tag = CAN
							}
						}
					}
					FROM = {
						white_peace = ROOT
					}
					GER = {
						annex_country = {
							target = CAN
							transfer_troops = no
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Egypt
					limit = {
						ROOT = {
							OR = {
								original_tag = EGY
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GEA = {
							every_state = {
								limit = {
									is_owned_by = EGY
									OR = {
										state = 551
										state = 1120
										state = 1121
										state = 549
										state = 1122
										state = 1123
										state = 1124
										state = 1125
										state = 1136
										state = 1135
										state = 1128
										state = 1127
										state = 1126
										state = 1130
										state = 1129
										state = 1133
										state = 1134
										state = 1179
										state = 1132
										state = 1131
									}
								}
								GEA = {
									transfer_state = PREV
								}
							}
							GGR_set_up_RK_ROOT = yes
						}
						NAF = {
							every_state = {
								limit = {
									is_owned_by = EGY
									NOT = {
										OR = {
											state = 551
											state = 1120
											state = 1121
											state = 549
											state = 1122
											state = 1123
											state = 1124
											state = 1125
											state = 1136
											state = 1135
											state = 1128
											state = 1127
											state = 1126
											state = 1130
											state = 1129
											state = 1133
											state = 1134
											state = 1179
											state = 1132
											state = 1131
										}
									}
								}
								NAF = {
									transfer_state = PREV
									add_state_core = PREV
								}
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Tunisia
					limit = {
						ROOT = {
							OR = {
								original_tag = TUN
							}
						}
					}
					FROM = {
						white_peace = ROOT
						NAF = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Madagascar
					limit = {
						ROOT = {
							OR = {
								original_tag = MAD
							}
						}
					}
					FROM = {
						GGR_conquered_madagascar = yes
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Denmark
					limit = {
						ROOT = {
							OR = {
								original_tag = DEN
							}
						}
					}
					GER = {
						white_peace = DEN
						annex_country = {
							target = DEN
							transfer_troops = no
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Poland
					limit = {
						ROOT = {
							OR = {
								original_tag = POL
							}
						}
					}
					FROM = {
						GGR_conquered_poland = yes
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Ostland warlords
					limit = {
						ROOT = {
							OR = {
								is_ostland_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = { GER = { is_in_faction_with = DST } }
							DST = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
							}
						}
						else_if = {
							limit = { GER = { is_in_faction_with = OST } }
							OST = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
							}
						}
						else = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
						}
						if = {
							limit = {
								NOT = {
									country_exists = OST
									country_exists = MST
									country_exists = JST
									country_exists = BLR
									country_exists = UPO
								}
							}
							clr_global_flag = OST_OCW_Ongoing
							GER = {
								release_puppet = OST
								GER_albert_bormann = {
									set_nationality = OST
								}
							}
							OST = {
								every_state = {
									limit = {
										OR = {
											is_core_of = OST
											is_core_of = DST
											is_core_of = MST
											is_core_of = JST
											is_core_of = BLR
										}
										NOT = { is_owned_by = OST }
										is_owned_by = GER
									}
									transfer_state_to = OST
								}
								remove_all_ideas = yes
								GGR_set_up_RK_ROOT = yes
								promote_character = OST_albert_bormann
								load_focus_tree = {
									tree = ZZZ_blank_focus
								}
							}
						}       
					}
					set_global_flag = skip_default_capitulation
				}
				if = { # Goering defeats the Horn of Africa nations
					limit = {
						ROOT = {
							OR = {
								is_horn_of_africa_nation = yes
								original_tag = IEA
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								NOT = {
									country_exists = GEA
								}
							}
							GEA = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
								GGR_set_up_RK_ROOT = yes
							}
						}
						else = {
							GEA = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						GEA = {
							transfer_state = 1104
							add_state_core = 1104
						}
						if = {
							limit = {
								ROOT = { original_tag = IEA }
								has_global_flag = GGR_ignored_riches
							}
							GER = {
								country_event = {
									id = goering.gaiseric.25
								}
							}
						}
				
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats the Caribbean states
					limit = {
						ROOT = {
							OR = {
								is_the_caribbean_state = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								ROOT = {
									OR = {
										tag = HAI
										tag = HAC
									}
								}
							}
							if = {
								limit = {
									DOM = {
										is_in_faction_with = GER
									}
								}
								DOM = {
									annex_country = {
										target = ROOT
										transfer_troops = no
									}
									add_core_effect = yes
								}
							}
						}
						if = {
							limit = {
								NOT = {
									country_exists = GCR
								}
							}
							GCR = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
						}
						else = {
							GCR = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats the Netherlands
					limit = {
						ROOT = {
							OR = {
								original_tag = HOL
							}
						}
					}
					FROM = {
						GGR_conquered_netherlands = yes
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats all Russia
					limit = {
						ROOT = {
							OR = {
								is_russian_nation = yes
								is_after_midninght_russian_nation = yes
							}
							NOT = {
								OR = {
									tag = GBR
									tag = RKL
									tag = RFE
								}
							}
						}
					}
					if = {
						limit = {
							has_event_target = RUS_closest_unifier
							event_target:RUS_closest_unifier = {
								tag = ROOT
							}
						}
						GGR_choose_closest_russian_unifier = yes
					}
					if = {
						limit = {
							ROOT = {
								tag = AMR
								has_cosmetic_tag = AMR_GER
							}
						}
						RKF = {
							annex_country = {
								target = ROOT
								transfer_troops = yes
							}
							add_core_effect = yes
						}
					}
					if = {
						limit = {
							ROOT = {
								tag = MPR
							}
						}
						if = {
							limit = {
								FIN = {
									exists = yes
									is_in_faction_with = GER
								}
							}
							FIN = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
							}
						}
						else = {
							SCN = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
					}
					if = {
						limit = {
							ROOT = {
								tag = KOM
								has_global_flag = RUS_Russia_unification
								KOM = {
									has_government = national_socialism
								}
								NOT = {
									any_country = {
										is_kazakh_nation = yes
										exists = yes
									}
								}
							}
						}
						every_state = {
							limit = {
								is_core_of = KAZ
							}
							transfer_state_to = RKT
							add_core_of = RKT
						}
						RKT = {
							GGR_set_up_RK_ROOT = yes
						}
					}
					if = {
						limit = {
							NOT = {
								has_global_flag = RUS_all_russian_congress
							}
						}
						if = {
							limit = {
								PRM = {
									is_in_faction_with = GER
									exists = yes
								}
							}
							PRM = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
							}
						}
						else = {
							GER = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
							}
						}
					}
					else = {
						if = {
							limit = {
								ROOT = { has_country_flag = ARC_leader }
							}
							ROOT = {
								clr_country_flag = ARC_leader
								random_other_country = {
									limit = {
										is_russian_nation = yes
										has_country_flag = joined_ARC
										exists = yes
										has_capitulated = no
									}
									country_event = ARC.11
								}
							}
						}
					}
					if = {
						limit = {
							ROOT = {
								all_country = {
									if = {
										limit = {
											OR = {
												is_russian_nation = yes
												is_after_midninght_russian_nation = yes
											}
										}
										OR = {
											exists = no
											has_capitulated = yes
											is_in_faction_with = GER
										}
									}
								}
							}
						}
						GER = {
							country_event = goering_peace_events.13
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering Defeats Central Asia
					limit = {
						ROOT = {
							OR = {
								is_kazakh_nation = yes
								is_central_asian_nation = yes
								tag = GBR
								tag = RKL
								tag = RFE
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GER = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
						}
					}
					if = {
						limit = {
							NOT = {
								any_country = {
									OR = {
										is_kazakh_nation = yes
										is_central_asian_nation = yes
										tag = GBR
										tag = RKL
										tag = RFE
									}
									exists = yes
								}
							}
						}
						GER = { country_event = goering_peace_events.31 }
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Caucasus
					limit = {
						ROOT = {
							OR = {
								original_tag = CAU
							}
						}
					}
					FROM = {
						GGR_conquered_caucasus = yes
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats England
					limit = {
						ROOT = {
							OR = {
								original_tag = ENG
							}
						}
					}
					FROM = {
						GGR_conquered_england = yes
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Turkey
					limit = {
						ROOT = {
							OR = {
								original_tag = TUR
							}
						}
					}
					FROM = {
						white_peace = ROOT
						TUR = { transfer_navy = { target = GER } }
						GER = {
							GGR_conquered_turkey = yes
							country_event = { id = goering_peace_events.18 }
						}
					}
					GER = {
						clr_country_flag = GGR_operation_locked
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Small Asia nations
					limit = {
						ROOT = {
							OR = {
								original_tag = KUR
								original_tag = BKU
							}
						}
					}
					FROM = {
						white_peace = ROOT
						RKK = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							add_core_effect = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Greece
					limit = {
						ROOT = {
							OR = {
								original_tag = GRE
							}
						}
					}
					GER = {
						GGR_conquered_greece = yes
						country_event = goering_peace_events.27
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Italy 
					limit = {
						ROOT = {
							OR = {
								original_tag = ITA
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GER = {
							country_event = { id = goering_peace_events.19 }
						} 
					} 
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats France
					limit = {
						ROOT = {
							OR = {
								is_french_country = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GLC = {
							if = {
								limit = { exists = no }
								promote_character = GLC_heinz_gunther_guderian
							}
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					if = {
						limit = {
							NOT = {
								country_exists = FRA
								country_exists = FRD
								country_exists = FRM
								country_exists = FRS
								country_exists = FMM
								country_exists = FIT
								country_exists = FRV
							}
						}
						GGR_conquered_france = yes
						GER = { country_event = goering_peace_events.28 }
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Ireland, Ulster, Wales and Scotland
					limit = {
						ROOT = {
							OR = {
								original_tag = IRE
								original_tag = WAL
								original_tag = ULS
								original_tag = SCO
							}
						}
					}
					FROM = {
						white_peace = ROOT
						BRI = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					if = {
						limit = {
							ROOT = {
								NOT = {
									original_tag = ULS
								}
							}
						}
						GER = {
							add_to_variable = { GGR_isles_loot = 2 }
						}
					}   
					if = {
						limit = {
							NOT = {
								country_exists = SCO
								country_exists = IRE
								country_exists = ULS
								country_exists = WAL
							}
						}
						GER = {
							clr_country_flag = GGR_operation_locked
							if = {
								limit = {
									has_game_rule = { rule = BRITAIN_CONTENT_STATUS option = BRITAIN_OLD }
								}
								country_event = { id = goering_peace_events.15 }
							}
							else = {
								set_temp_variable = { Victory_ID = 101 }
								set_temp_variable = { Victory_Points = TNO_Cold_War_GUI_Victory_Points^101 }
								add_to_temp_variable = { Victory_Points = 75 }
								GGR_determine_WPA_completion = yes
								Cold_War_GUI_AddVictory = yes
							}
						}        
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering conquers Iberia
					limit = {
						ROOT = {
							OR = {
								is_iberian_country = yes
								tag = SPA
							}
						}
					}
					FROM = {
						white_peace = ROOT
						ROOT = { transfer_navy = { target = GER } }
						if = {
							limit = {
								FZL = { is_in_faction_with = GER }
							}
							if = {
								limit = {
									ROOT = { tag = GIB }
								}
								FZL = {
									transfer_state = 1547
									transfer_state = 118
									add_core_effect = yes
								}
								GER = {
									transfer_state = 290
									transfer_state = 1545
								}
							}
							else_if = {
								limit = { 
									ROOT = { 
										OR = {
											tag = MOR
											tag = RIF
											tag = TRZ
										}
									}
								}
								GER = {
									annex_country = {
										target = ROOT
										transfer_troops = no
									}
								}
							}
							else = {
								FZL = {
									annex_country = {
										target = ROOT
										transfer_troops = no
									}
									add_core_effect = yes
								}
							}
						}
						else = {
							GER = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
							}
						}
					} 
					if = {
						limit = {
							ROOT = {
								OR = {
									original_tag = IBR
									original_tag = SPR
									original_tag = SPS
									original_tag = FSR
									original_tag = FZL
									original_tag = SPA
								}
							}
							has_global_flag = Iberian_Wars
						}
						if = {
							limit = {
								NOT = {
									country_exists = IBR
									country_exists = SPR
									country_exists = SPS
									country_exists = FSR
									country_exists = FZL
									country_exists = SPA
								}
							}
							GER = { country_event = goering_peace_events.25 }
						}
					}
					if = {
						limit = {
							ROOT = {
								OR = {
									original_tag = POR
									original_tag = PPR
									original_tag = RPP
									original_tag = GNS
								}
							}
						}
						if = {
							limit = {
								NOT = {
									country_exists = POR
									country_exists = PPR
									country_exists = RPP
									country_exists = GNS
								}
							}
							GER = { country_event = goering_peace_events.26 }
						}
					}
					if = {
						limit = {
							all_country = {
								if = {
									limit = {
										OR = {
											tag = SPR
											tag = SPS
											tag = FSR
											tag = GNS
											tag = FZL
											tag = POR
											tag = PPR
											tag = RPP
											tag = MOR
											tag = RIF
											tag = TRZ
											tag = SPA
											tag = CTL
											tag = CNT
											tag = BSQ
											tag = TBA
											tag = GIB
											tag = ADL
											tag = GAL
											tag = PAD
											tag = IBR
										}
									}
									OR = {
										exists = no
										has_capitulated = yes
									}
								}
							}
						}
						GER = { country_event = { id = goering_peace_events.17 } }
						clr_country_flag = GGR_no_clear_variables
					}
					else_if = {
						limit = {
							FZL = { exists = yes is_in_faction_with = GER }
							all_country = {
								if = {
									limit = {
										is_iberian_nation = yes
										NOT = { tag = FZL }
									}
									OR = {
										has_capitulated = yes
										exists = no
										is_in_faction_with = GER
									}
								}
							}
						}
						GER = {
							country_event = goering_peace_events.6
						}
						clr_country_flag = GGR_no_clear_variables
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats West African countries
					limit = {
						ROOT = {
							OR = {
								is_west_african_nation = yes
								tag = JOL
								tag = YOR
								tag = FTF
								tag = TRZ
							}
						}
					}
					add_to_array = { global.west_african_nations_to_annex = ROOT }
					ROOT = {
						every_owned_state = {
							remove_claim_by = GER
						}
					}
					FROM = {
						white_peace = ROOT
						WAF = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
						713 = {
							if = { 
								limit = {
									AND = {
										MAD = { is_subject_of = GER }
										is_owned_and_controlled_by = WAF
									}
								}
								transfer_state_to = MAD
								add_core_of = MAD
								WAF = {
									remove_state_core = 713
								}
							}
							if = { 
								limit = {
									is_owned_and_controlled_by = WAF
									NOT = {
										OR = {
											MDG = { is_subject_of = GER }
											MAD = { is_subject_of = GER }
										}
									}
								}
								transfer_state_to = GER
								WAF = {
									remove_state_core = 713
								}
							}
						}
						702 = {
							if = { 
								limit = {
									is_owned_and_controlled_by = WAF
								}
								transfer_state_to = GER
								WAF = {
									remove_state_core = 702
								}
							}
						}
					} 
					if = {
						limit = {
							all_country = {
								if = {
									limit = {
										is_west_african_nation = yes
									}
									OR = {
										has_capitulated = yes
										exists = no
									}
								}
							}
						}
						every_country = {
							limit = {
								is_west_african_nation = yes
							}
							WAF = {
								annex_country = {
									target = PREV
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						WAF = {
							every_owned_state = {
								limit = {
									has_state_flag = WAC_solid_frontline_flag
								}
								remove_dynamic_modifier = {
									modifier = solid_frontline
								}
								clr_state_flag = WAC_solid_frontline_flag
							}
						}
						GER = {
							country_event = goering_peace_events.37
							set_temp_variable = { Victory_ID = 105 }
							set_temp_variable = { Victory_Points = TNO_Cold_War_GUI_Victory_Points^105 }
							add_to_temp_variable = { Victory_Points = 40 }
							if = {
								limit = {
									GGR_africa_conquered = yes
								}
								set_temp_variable = { Victory_Outcome = 5 }
								if = {
									limit = {
										any_country = {
											is_african_nation = yes
											is_in_faction_with = USA
											is_in_faction_with = JAP
											NOT = {
												is_subject_of = ITA
											}
										}
									}
									set_temp_variable = { Victory_Outcome = 4 }
								}
								remove_dynamic_modifier = {
									modifier = GGR_fall_vorbeck
								}
								GGR_clear_temporary_variables = yes
								clr_country_flag = GGR_operation_locked
							}
							Cold_War_GUI_AddVictory = yes
						}
						USA = {
							TNO_fopo_remove_wac_tab = yes
							TNO_fopo_remove_wafr_reconstruction_tab = yes
							clear_variable = TNO_Cold_War_GUI_Victory_Entry^16
							clear_variable = TNO_Cold_War_GUI_Victory_Outcome^16
							clear_variable = TNO_Cold_War_GUI_Victory_Points^16
						}
						JAP = {
							TNO_fopo_remove_wac_tab = yes
							clear_variable = TNO_Cold_War_GUI_Victory_Entry^16
							clear_variable = TNO_Cold_War_GUI_Victory_Outcome^16
							clear_variable = TNO_Cold_War_GUI_Victory_Points^16
						}
						set_global_flag = GGR_west_africa_conquered
						Cold_War_GUI_CalculateDisplayArrays = yes
						Cold_War_GUI_Score_Calculation = yes
					}
					
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Armenia
					limit = {
						ROOT = {
							OR = {
								original_tag = ARM
							}
						}
					}
					FROM = {
						white_peace = ROOT
						CAU = { 
							annex_country = { 
								target = ROOT 
								transfer_troops = no 
							}
							add_core_effect = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Ukraine
					limit = {
						ROOT = {
							OR = {
								is_ukranian_nation = yes
							}
						}
					}
					GER = {
						white_peace = ROOT
						annex_country = {
							target = ROOT
							transfer_troops = no
						}
					} 
					if = {
						limit = {
							NOT = {
								country_exists = FUK
								country_exists = UKS
								country_exists = BOV
								country_exists = UKR
							}
						}
						GER = {
							remove_dynamic_modifier = { modifier = GGR_operation_rurik }
							remove_ideas = {
								GGR_a_carefully_planned_invasion
								GGR_emergency_invasion
							}
							delete_unit_template_and_units = {
								division_template = "Loyalist partisans"
							}
							delete_unit_template_and_units = {
								division_template = "Free Cossack brigades"
							}
							delete_unit_template_and_units = {
								division_template = "Ukrainian Rebel Brigade"
							}
							delete_unit_template_and_units = {
								division_template = "Emergency Germania action group"
							}
							if = {
								limit = {
									ROOT = {
										tag = UKR
										has_country_leader = {
											character = UKR_Hans_Otto_Brautigam
											ruling_only = yes
										}
									}
								}
								country_event = { id = goering_peace_events.5 }
							}
							else = {
								country_event = { id = goering_peace_events.2 }
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Southeast Asia
					limit = {
						ROOT = {
							OR = {
								is_southeast_asia_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								ROOT = {
									tag = VIC
								}
							}
							if = {
								limit = {
									VIN = { is_in_faction_with = GER }
								}
								VIN = {
									annex_country = {
										target = ROOT
										transfer_troops = no
									}
									add_core_effect = yes
								}
							}
						}
						if = {
							limit = {
								ROOT = {
									tag = MLY
								}
								SHO = {
									is_in_faction_with = GER
								}
							}
							SHO = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						GVT = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Japan
					limit = {
						ROOT = {
							OR = {
								original_tag = JAP
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GER = {
							country_event = { id = goering_peace_events.21 }
						} 
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Southeast Asia islands
					limit = {
						ROOT = {
							OR = {
								is_southeast_asia_island_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								ROOT = {
									OR = {
										tag = NRB
										tag = BRU
									}
									INS = { is_in_faction_with = GER }
								}
							}
							INS = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						RKO = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Southeast Asia islands
					limit = {
						ROOT = {
							OR = {
								is_southeast_asia_island_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						RKO = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Mongolia and Manchuria
					limit = {
						ROOT = {
							OR = {
								original_tag = MAN
								original_tag = MEN
							}
						}
					}
					FROM = {
						if = {
							limit = {
								ROOT = { tag = MAN }
							}
							if = {
								limit = {
									country_exists = AMR
									AMR = {
										is_subject_of = GER
									}
								}
								AMR = {
									transfer_state = 409
									transfer_state = 408
									transfer_state = 809
									transfer_state = 1644
									transfer_state = 1646
									transfer_state = 657
									transfer_state = 1364
									add_core_effect = yes
								}
							}
							else_if = {
								limit = {
									country_exists = PRM
									PRM = {
										is_subject_of = GER
									}
								}
								PRM = {
									transfer_state = 409
									transfer_state = 408
									transfer_state = 809
									transfer_state = 1644
									transfer_state = 1646
									transfer_state = 657
									transfer_state = 1364
									add_core_effect = yes
								}
							}
							else = {
								RKF = {
									transfer_state = 409
									transfer_state = 408
									transfer_state = 809
									transfer_state = 1644
									transfer_state = 1646
									transfer_state = 657
									transfer_state = 1364
									add_core_effect = yes
								}
							}
						}
						if = {
							limit = {
								CHI = { is_in_faction_with = GER }
							}
							CHI = { 
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						else = {
							ROC = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Chinese warlords
					limit = {
						ROOT = {
							OR = {
								is_china_nation = yes
							}
							NOT = { tag = YUN }
						}
					}
					if = {
						limit = {
							ROOT = { tag = MAN }
						}
						if = {
							limit = {
								country_exists = AMR
								AMR = {
									is_subject_of = GER
								}
							}
							AMR = {
								transfer_state = 153
								transfer_state = 809
								transfer_state = 1644
								transfer_state = 1645
								transfer_state = 1646
								transfer_state = 657
								transfer_state = 408
								transfer_state = 1364
								transfer_state = 1647
								add_core_effect = yes
							}
						}
						else = {
							RKF = {
								transfer_state = 153
								transfer_state = 809
								transfer_state = 1644
								transfer_state = 1645
								transfer_state = 1646
								transfer_state = 657
								transfer_state = 1364
								transfer_state = 1647
								transfer_state = 408
								add_core_effect = yes
							}
						}
					}
					if = {
						limit = {
							CHI = { is_in_faction_with = GER }
						}
						CHI = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							add_core_effect = yes
						}
					}
					else = {
						ROC = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats India and small states
					limit = {
						ROOT = {
							OR = {
								original_tag = IND
								original_tag = NEP
								original_tag = CYL
								original_tag = SIK
								original_tag = AZH
							}
						}
					}
					if = {
						limit = {
							AZH = {
								is_in_faction_with = GER
							}
						}
						AZH = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							add_core_effect = yes
						}
					}
					else = {
						RIN = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Afghanistan 
					limit = {
						ROOT = {
							OR = {
								tag = AFG
							}
						}
					}
					BKT = {
						annex_country = {
							target = ROOT
							transfer_troops = no
						}
						GGR_set_up_RK_ROOT = yes
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats China
					limit = {
						ROOT = {
							OR = {
								original_tag = CHI
							}
						}
					}
					FROM = {
						white_peace = ROOT
						ROC = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
						GVT = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							transfer_state = 325
							transfer_state = 2380
							transfer_state = 2379
							transfer_state = 2381
							transfer_state = 2382
							transfer_state = 2378
							transfer_state = 960
							transfer_state = 2394
							GGR_set_up_RK_ROOT = yes
						}
						622 = {
							if = {
								limit = {
									NOT = {
										owner = {
											is_in_faction_with = GER
										}
									}
								}
								ROC = {
									transfer_state = 622
									transfer_state = 956
									add_state_core = 622	
									add_state_core = 956
								}
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats West China
					limit = {
						ROOT = {
							OR = {
								original_tag = XIN
								original_tag = XIK
								original_tag = TIB
								original_tag = QIN
								original_tag = GAN
							}
						}
					}
					FROM = {
						white_peace = ROOT
						ROC = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Sri Lanka without Azad Hind
					limit = {
						ROOT = {
							OR = {
								original_tag = CYL
							}
						}
					}
					FROM = {
						white_peace = ROOT
						RIN = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Burma
					limit = {
						ROOT = {
							OR = {
								original_tag = BUR
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								AZH = {
									exists = yes
									is_in_faction_with = GER
								}
							}
							AZH = {
								if = {
									limit = {
										is_in_faction_with = GER
									}
									transfer_state = 1313
									transfer_state = 1307
									transfer_state = 1308
									add_state_core = 1313
									add_state_core = 1307
									add_state_core = 1308
								}
							}
						}
						else = {
							RIN = {
								transfer_state = 1313
								transfer_state = 1307
								transfer_state = 1308
								GGR_set_up_RK_ROOT = yes
							}
							GVT = {
								annex_country = {
									target = BUR
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Azad Hind
					limit = {
						ROOT = {
							OR = {
								original_tag = AZH
								original_tag = BHU
							}
						}
					}
					FROM = {
						white_peace = ROOT
						RIN = {
							annex_country = {
								target = AZH
								transfer_troops = no
							}
							annex_country = {
								target = BHU
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Iranian nations
					limit = {
						ROOT = {
							OR = {
								original_tag = PER
								original_tag = IRI
								original_tag = IRL
								original_tag = IRC
								original_tag = IRA
								original_tag = IRB
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								is_in_faction_with = PER
							}
						}
						else = {
							RKP = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Southwest African Nations
					limit = {
						ROOT = {
							OR = {
								is_southwest_african_nation = yes
							}
						}
					}
					ROOT = {
						every_owned_state = {
							remove_claim_by = GER
						}
					}
					FROM = {
						white_peace = ROOT
						GWA = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					if = {
						limit = {
							all_country = {
								if = {
									limit = {
										is_southwest_african_nation = yes
									}
									OR = {
										has_capitulated = yes
										exists = no
										is_in_faction_with = GER
									}
								}
							}
						}
						every_country = {
							limit = {
								is_southwest_african_nation = yes
							}
							GWA = {
								annex_country = {
									target = PREV
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						set_global_flag = GGR_southwest_africa_conquered
						BOR = {
							if = {
								limit = {
									is_in_faction_with = GER
								}
								transfer_state = 541
								transfer_state = 1213
								add_core_effect = yes
							}
						}
						GER = {
							country_event = goering_peace_events.40
							set_temp_variable = { Victory_ID = 105 }
							set_temp_variable = { Victory_Points = TNO_Cold_War_GUI_Victory_Points^105 }
							add_to_temp_variable = { Victory_Points = 40 }
							if = {
								limit = {
									GGR_africa_conquered = yes
								}
								set_temp_variable = { Victory_Outcome = 5 }
								if = {
									limit = {
										any_country = {
											is_african_nation = yes
											is_in_faction_with = USA
											is_in_faction_with = JAP
											NOT = {
												is_subject_of = ITA
											}
										}
									}
									set_temp_variable = { Victory_Outcome = 4 }
								}
								remove_dynamic_modifier = {
									modifier = GGR_fall_vorbeck
								}
								GGR_clear_temporary_variables = yes
								clr_country_flag = GGR_operation_locked
							}
							Cold_War_GUI_AddVictory = yes
							set_temp_variable = { SeaZone_ID = 2 } # 2; South Atlantic
							Cold_War_GUI_PowerProjection_AddSeaZone = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats South African Nations
					limit = {
						ROOT = {
							OR = {
								is_south_african_nation = yes
							}
						}
					}
					ROOT = {
						every_owned_state = {
							remove_claim_by = GER
						}
					}
					FROM = {
						white_peace = ROOT
						2087 = {
							if = {
								limit = { is_owned_by = ROOT }
							}
							transfer_state_to = AAG
							add_core_of = AAG
						}
						if = {
							limit = {
								BOR = {
									is_in_faction_with = GER
								}
							}
							BOR = {
								annex_country = {
									target = ROOT
									transfer_troops = no
								}
								add_core_effect = yes
							}
						}
						RSA = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
						if = {
							limit = {
								all_country = {
									if = {
										limit = {
											is_south_african_nation = yes
										}
										OR = {
											has_capitulated = yes
											exists = no
										}
									}
								}
							}
							every_country = {
								limit = {
									is_south_african_nation = yes
								}
								if = {
									limit = {
										BOR = {
											is_in_faction_with = GER
										}
									}
									annex_country = {
										target = PREV
										transfer_troops = no
									}
									add_core_effect = yes
								}
								else = {
									RSA = {
										annex_country = {
											target = PREV
											transfer_troops = no
										}
										add_core_effect = yes
									}
								}
							}
							GER = {
								country_event = goering_peace_events.41
								set_temp_variable = { Victory_ID = 105 }
								set_temp_variable = { Victory_Points = TNO_Cold_War_GUI_Victory_Points^105 }
								add_to_temp_variable = { Victory_Points = 40 }
								if = {
									limit = {
										GGR_africa_conquered = yes
									}
									set_temp_variable = { Victory_Outcome = 5 }
									if = {
										limit = {
											any_country = {
												is_african_nation = yes
												is_in_faction_with = USA
												is_in_faction_with = JAP
												NOT = {
													is_subject_of = ITA
												}
											}
										}
										set_temp_variable = { Victory_Outcome = 4 }
									}
									remove_dynamic_modifier = {
										modifier = GGR_fall_vorbeck
									}
									GGR_clear_temporary_variables = yes
									clr_country_flag = GGR_operation_locked
								}
							}
							set_global_flag = GGR_south_africa_conquered
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Mexico plus Central American Nations
					limit = {
						ROOT = {
							OR = {
								is_central_american_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								country_exists = ENA
								ROOT = { owns_state = 2517 }
							}
							ENA = { transfer_state = 2517 add_core_effect = yes }
						}
						RKL = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Oceania nations
					limit = {
						ROOT = {
							OR = {
								is_oceanian_nation = yes
							}
						}
					}
					FROM = {
						white_peace = ROOT
						GAS = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
						if = {
							limit = {
								tag = AST
							}
							AAS = { GGR_annex_antarctic_territory = yes }
							AAZ = { GGR_annex_antarctic_territory = yes }
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Central African States
					limit = {
						ROOT = {
							OR = {
								is_central_african_nation = yes
								original_tag = GRO
							}
						}
					}
					ROOT = {
						every_owned_state = {
							remove_claim_by = GER
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								GRO = { is_in_faction_with = GER exists = yes }
							}
							GRO = { save_global_event_target_as = zentralafrika }
						}
						else = {
							RCA = { save_global_event_target_as = zentralafrika }
						}
						event_target:zentralafrika = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
						if = {
							limit = {
								all_country = {
									if = {
										limit = {
											OR = {
												is_central_african_nation = yes
											}
										}
										OR = {
											has_capitulated = yes
											exists = no
											is_in_faction_with = GER
										}
									}
								}
							}
							every_country = {
								limit = {
									OR = {
										is_central_african_nation = yes
										AND = {
											tag = GRO
											is_in_faction = no
										}
									}
								}
								event_target:zentralafrika = {
									annex_country = {
										target = PREV
										transfer_troops = no
									}
									add_core_effect = yes
								}
							}
							USA = {
								TNO_fopo_remove_congo_civil_war_tab = yes
							}
							JAP = {
								TNO_fopo_remove_congo_civil_war_tab = yes
							}
							GER = {
								country_event = goering_peace_events.39
								set_temp_variable = { Victory_ID = 105 }
								set_temp_variable = { Victory_Points = TNO_Cold_War_GUI_Victory_Points^105 }
								add_to_temp_variable = { Victory_Points = 40 }
								if = {
									limit = {
										GGR_africa_conquered = yes
									}
									set_temp_variable = { Victory_Outcome = 5 }
									if = {
										limit = {
											any_country = {
												is_african_nation = yes
												is_in_faction_with = USA
												is_in_faction_with = JAP
												NOT = {
													is_subject_of = ITA
												}
											}
										}
										set_temp_variable = { Victory_Outcome = 4 }
									}
									clr_country_flag = GGR_operation_locked
									remove_dynamic_modifier = {
										modifier = GGR_fall_vorbeck
									}
									GGR_clear_temporary_variables = yes
								}
								if = {
									limit = {
										country_exists = GRO
									}
									GRO = {
										GGR_install_RK_with_no_changes = yes
										remove_ideas = {
											GRO_REICHSSTAAT_collapsed_oberkommando
										}
										set_cosmetic_tag = RCA
									}
								}
								Cold_War_GUI_AddVictory = yes
								TNO_fopo_remove_congo_civil_war_tab = yes
							}
							set_global_flag = GGR_central_africa_conquered
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats East African States
					limit = {
						ROOT = {
							OR = {
								is_east_african_nation = yes
							}
						}
					}
					ROOT = {
						every_owned_state = {
							remove_claim_by = GER
						}
					}
					FROM = {
						white_peace = ROOT
						ROA = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
						if = {
							limit = {
								all_country = {
									if = {
										limit = {
											is_east_african_nation = yes
										}
										OR = {
											has_capitulated = yes
											exists = no
										}
									}
								}
							}
							ROA = {
								transfer_state = 544
							}
							every_country = {
								limit = {
									is_east_african_nation = yes
								}
								ROA = {
									annex_country = {
										target = PREV
										transfer_troops = no
									}
									add_core_effect = yes
								}
							}
							set_global_flag = GGR_east_africa_conquered
							BOR = {
								if = {
									limit = {
										is_in_faction_with = GER
									}
									transfer_state = 1076
									transfer_state = 1058
									transfer_state = 880
									transfer_state = 1050
									transfer_state = 1046
									transfer_state = 1044
									add_core_effect = yes
								}
							}
							GER = {
								country_event = goering_peace_events.38
								set_temp_variable = { Victory_ID = 105 }
								set_temp_variable = { Victory_Points = TNO_Cold_War_GUI_Victory_Points^105 }
								add_to_temp_variable = { Victory_Points = 40 }
								if = {
									limit = {
										GGR_africa_conquered = yes
									}
									set_temp_variable = { Victory_Outcome = 5 }
									if = {
										limit = {
											any_country = {
												is_african_nation = yes
												is_in_faction_with = USA
												is_in_faction_with = JAP
												NOT = {
													is_subject_of = ITA
												}
											}
										}
										set_temp_variable = { Victory_Outcome = 4 }
									}
									remove_dynamic_modifier = {
										modifier = GGR_fall_vorbeck
									}
									GGR_clear_temporary_variables = yes
									clr_country_flag = GGR_operation_locked
								}
								Cold_War_GUI_AddVictory = yes
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats Antarctic nations
							# I'm not quite sure if this is even possible, but better to be safe than sorry
					limit = {
						ROOT = {
							is_not_german_antarctic_nation = yes
						}
					}
					FROM = {
						white_peace = ROOT
						AAG = {
							annex_country = {
								target = ROOT
								transfer_troops = no
							}
							add_core_effect = yes
						}
					}
					set_global_flag = skip_default_capitulation
				}
				else_if = { # Goering defeats THE BEST COUNTRY EVER THANKS YANO <3 <3 <3 <3 <3 <3 <3
					limit = {
						ROOT = {
							tag = FIJ
						}
					}
					FROM = {
						white_peace = ROOT
						if = {
							limit = {
								country_exists = ENA
							}
							ENA = {
								annex_country = {
									target = FIJ
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
						}
						else = {
							GAS = {
								annex_country = {
									target = FIJ
									transfer_troops = no
								}
								GGR_set_up_RK_ROOT = yes
							}
						}
					}
					set_global_flag = skip_default_capitulation
				}
			}
		}
	}
}