###########################
# Zambia Events
###########################

add_namespace = nrho

### Big ol collapse event

country_event = { # Yeet on DSA
		id = nrho.1
		immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.1"}
		title = nrho.1.t
		desc = nrho.1.d
		picture = GFX_report_event_march

	fire_only_once = yes
	
	is_triggered_only = yes

	trigger = {
		tag = ZAM
		ZAM = {
			OR = {
				has_government = authoritarian_democrat
				has_government = paternal_autocrat
			}
		}
		country_exists = TZN
	}

	option = {
		name = nrho.1.a
		ai_chance = {
			factor = 100
		}
		add_war_support = 0.05
	}
 }


country_event = { # Trouble on the Border
	id = nrho.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.2"}
	title = nrho.2.t
	desc = nrho.2.d
	picture = GFX_report_event_march
	
	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
		MAF = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		GER = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		ZIM = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		PAF = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		POR = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		SAF = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		NMB = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		BSC = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		MLW = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		KTG = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		MAG = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		KEN = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		UGA = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		GHA = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		ZZB = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		NGR = {
			country_event = {
				id = sharedafrika.113
				days = 1 
				}
			}
		}
	}
	option = {
		name = nrho.2.a
		ai_chance = {
			factor = 100
		}
		
		start_border_war = {
			change_state_after_war = no
			attacker = {
				state = 545
				num_provinces = 4
				on_win = nrho.25
				on_lose = nrho.26
				on_cancel = nrho.27
			}
						
			defender = {
				state = 813
				num_provinces = 4
				on_win = nrho.25
				on_lose = nrho.26
				on_cancel = nrho.27
			}
		}
		set_country_flag = ZAM_border_shitshow
	}
}

country_event = { # Federal Council
	id = nrho.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.3"}
	title = nrho.3.t
	desc = nrho.3.d
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
	is_triggered_only = yes
 
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = nrho.3.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -50
		add_stability = 0.05
	}
	option = {
		name = nrho.3.b
		ai_chance = {
			factor = 100
		}
		add_political_power = 50
		add_stability = -0.05
	}
}

country_event = { # Union Ties
	id = nrho.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.4"}
	title = nrho.4.t
	desc = nrho.4.d
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
	is_triggered_only = yes
 
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = nrho.4.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -50
		add_stability = 0.05
	}
	option = {
		name = nrho.4.b
		ai_chance = {
			factor = 100
		}
		add_political_power = 50
		add_stability = -0.05
	}
}

country_event = { # Goodbye Huttig?
	id = nrho.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.5"}
	title = nrho.5.t
	desc = nrho.5.d
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
is_triggered_only = yes

	option = { #Bank on NKR support for Huttig
		name = nrho.5.a
		ai_chance = {
			factor = 70
		}
		add_popularity = {
			ideology = paternal_autocrat
			popularity = 0.05
		}
		MAF = {
			country_event = {
				id = nrho.6
				days = 2
			}
		}
	}
	option = { #Bribe NKR to support for Huttig
		name = nrho.5.c
		ai_chance = {
			factor = 70
		}
		add_popularity = {
			ideology = paternal_autocrat
			popularity = 0.05
		}
		MAF = {
			country_event = {
				id = nrho.6
				days = 2
			}
		}
		hidden_effect = { 
			if = {
				limit = { is_ai = no }
			}
		    set_country_flag = MAF_will_support_huttig 
	    }
	}
	option = { #Step aside, let Junger take charge
		name = nrho.5.b
		ai_chance = {
			factor = 100
		}
		country_event = {
			id = nrho.14
			days = 5
		}
	}
}


country_event = { # Support Huttig?
	id = nrho.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.6"}
	title = nrho.6.t
	desc = nrho.6.d
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
is_triggered_only = yes

	option = { # Order him to step aside
		name = nrho.6.a
		ai_chance = {
			factor = 70
			modifier = { 
				factor = 100
				ZAM = { NOT = { has_country_flag = MAF_will_support_huttig } }
			}
		}
		ZAM = {
			country_event = {
				id = nrho.7
				days = 2
			}
		}
	}
	option = { #Grant him an Extension
		name = nrho.6.b
		ai_chance = {
			factor = 30
			modifier = { 
				factor = 100
				ZAM = { has_country_flag = MAF_will_support_huttig }
			}
		}
		ZAM = {
			country_event = {
				id = nrho.11
				days = 2
			}
		}
	}
}

country_event = { # MAF Orders Huttig Gone
	id = nrho.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.7"}
	title = nrho.7.t
	desc = nrho.7.d
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
is_triggered_only = yes

	option = { # Declare a State of Emergency
		name = nrho.7.a
		ai_chance = {
			factor = 70
		}
		country_event = {
			id = nrho.8
			days = 2
		}
	}
	option = { # Step Aside
		name = nrho.7.b
		ai_chance = {
			factor = 30
		}
		ZAM = {
			country_event = {
				id = nrho.14
				days = 2
			}
		}
	}
}

country_event = { # Arrest Warrant for Huttig
	id = nrho.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.8"}
	title = nrho.8.t
	desc = nrho.8.d
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
is_triggered_only = yes

	option = { # Schutztruppe Yeets Huttig
		name = nrho.8.a
		ai_chance = {
			factor = 70
		}
		ZAM = {
			country_event = {
				id = nrho.14
				days = 2
			}
		}
	}
	
	option = { # Baring Does Stuff
		name = nrho.8.b
		ai_chance = {
			factor = 30
		}
		ZAM = {
			country_event = {
				id = nrho.9
				days = 2
			}
		}
	}
}

country_event = { # Baring Invades
	id = nrho.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.9"}
	title = nrho.9.t
	desc = nrho.9.d
	picture = GFX_report_event_ZAM_baring
	
	fire_only_once = yes
is_triggered_only = yes

	option = { # South Africa Invades along side him
		name = nrho.9.a
		ai_chance = {
			factor = 70
		}
		start_border_war = {
			change_state_after_war = no
			attacker = {
				state = 545
				num_provinces = 4
				on_win = nrho.41
				on_lose = nrho.42
				on_cancel = nrho.43
			}
						
			defender = {
				state = 813
				num_provinces = 4
				on_win = nrho.41
				on_lose = nrho.42
				on_cancel = nrho.43
			}
		}
	}
	option = { # Baring overthrows the government without help from SAF
		name = nrho.9.b
		ai_chance = {
			factor = 30
		}
		ZAM = {
			country_event = {
				id = nrho.10
				days = 2
			}
		}
	}
	option = { # Huttig Restores Control
		name = nrho.9.c
		ai_chance = {
			factor = 30
		}
		ZIM = {
			set_country_flag = ZIM_baring_exiled 
		}
		ZAM = {
			country_event = {
				id = nrho.12
				days = 2
			}
		}
	}
}

country_event = { # Baring Takes Charge
	id = nrho.10
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event nrho.10"
	}
	title = nrho.10.t
	desc = nrho.10.d
	picture = GFX_report_event_ZAM_baring
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { # Damn
		name = nrho.10.a
		ai_chance = {
			factor = 70
		}
		set_country_flag = ZAM_COLONIAL_RULE
		set_politics = {
			ruling_party = national_populist
			elections_allowed = no
		}
		add_popularity = {
			ideology = national_populist
			popularity = 0.1
		}
		hidden_effect = {
			add_ideas = ZAM_Weak_British_Hold_1
			set_cosmetic_tag = ZAM_ANGLO
		remove_all_ministers = yes
		add_ideas = {
			ZAM_Sir_Evelyn_Baring_hog_npo
			ZAM_Evelyn_Dennison_Hone_for_npo
			ZAM_John_Waddington_eco_npo
			ZAM_Ronald_Storrs_sec_npo
		}
		813 = { set_state_name = "North-Western Rhodesia" }
		871 = { set_state_name = "Nyasaland" }
		955 = { set_state_name = "Chewaland" }
		956 = { set_state_name = "North-Eastern Rhodesia" }
		957 = { set_state_name = "Western Barotseland" }
		958 = { set_state_name = "Eastern Barotseland" }
		}
	}
}

country_event = { # Huttig Takes Charge
	id = nrho.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.11"}
	title = nrho.11.t
	desc = nrho.11.d
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { # ok
		name = nrho.11.a
		ai_chance = {
			factor = 70
		}
		ZIM = {
			set_country_flag = ZIM_baring_exiled 
		}
		set_country_flag = ZAM_COLONIAL_RULE
		create_country_leader = {
			name = "Hans Huttig"
			desc = "POLITICS_HUTTIG_DESC"
			picture = "gfx/leaders/MAF/Portrait_Mittelafrika_Hans_Huttig.png"
			expire = "1.1.1"
			ideology = autocratic_colonial_govt_subtype

		}
		set_politics = {
			ruling_party = paternal_autocrat
			elections_allowed = no
		}
		add_popularity = {
			ideology = paternal_autocrat
			popularity = 0.2
		}
		set_party_name = {
			ideology = paternal_autocrat
			name = ZAM_authoritarian_democrat_party
			long_name = ZAM_authoritarian_democrat_party_long
		}
	}
}

country_event = { # Huttig Takes Charge
	id = nrho.12
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.11"}
	title = nrho.12.t
	desc = nrho.12.d
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = nrho.12.a
		ai_chance = {
			factor = 70
		}
		country_event = {
			id = nrho.11
			days = 5
		}
	}
}

country_event = { # Junger Takes Charge
	id = nrho.14
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.14"}
	title = nrho.14.t
	desc = nrho.14.d
	picture = GFX_report_event_MAF_ernstjunger
	
	fire_only_once = yes

	is_triggered_only = yes

	option = { # 
		name = nrho.14.a
		ai_chance = {
			factor = 70
		}
		set_country_flag = ZAM_COLONIAL_RULE
		create_country_leader = {
			name = "Ernst Jünger"
			desc = "POLITICS_JUNGER_DESC"
			picture = "gfx/leaders/MAF/Portrait_Mittelafrika_Ernst_Junger.png"
			expire = "1.1.1"
			ideology = colonial_govt_subtype

		}
		hidden_effect = {
			country_event = {
				id = nrho.20
				days = 15
			}
		}
		remove_all_ministers = yes
		add_ideas = {
			ZAM_Ernst_Junger_hog_ade
			ZAM_Hans_Frank_for_ade
			ZAM_Ernst_Junger_eco_ade
			ZAM_Edgar_Jung_sec_ade
		}
	}
}

country_event = { # Promises of Democracy?
	id = nrho.15
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.14"}
	title = nrho.15.t
	desc = nrho.15.d
	picture = GFX_report_event_MAF_ernstjunger
	
	fire_only_once = yes
is_triggered_only = yes

	option = { # Not yet
		name = nrho.15.a
		ai_chance = {
			factor = 70
		}
		set_party_name = {
			ideology = authoritarian_democrat
			name = ZAM_authoritarian_democrat_party2
			long_name = ZAM_authoritarian_democrat_party2_long
		}
	}
	
	option = { # Allow it
		name = nrho.15.b
		ai_chance = {
			factor = 70
		}
		country_event = {
			id = nrho.16
			days = 20
		}
	}
}

country_event = { # Elections!
	id = nrho.16
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.16"}
	title = nrho.16.t
	desc = nrho.16.d
	picture = GFX_report_event_AST_election
	
	fire_only_once = yes
is_triggered_only = yes

	option = { # Junger Gang
		name = nrho.16.a
		ai_chance = {
			factor = 30
		}
		hidden_effect = {
			if = {
				limit = {
					has_country_leader = {
						name = "Ernst Jünger"
					}
				}
				set_country_leader_portrait = {
					portrait = "gfx/leaders/ZAM/ZAM_Junger_Civilian.png"
				}
				set_country_leader_ideology = authoritarian_democrat_subtype
			}
		}
	}
	
	option = { # Dominion Gang
		name = nrho.16.b
		ai_chance = {
			factor = 70
		}
		set_politics = {
			ruling_party = social_conservative
			elections_allowed = no
		}
		add_popularity = {
			ideology = social_conservative
			popularity = 0.2
		}
		remove_all_ministers = yes
		add_ideas = {
			ZAM_Stewart_Gore_Browne_hog_ade
			ZAM_Arthur_Evelyn_St_John_Waugh_for_ade
			ZAM_Alfred_Sharpe_eco_ade
			ZAM_Diedrich_Hermann_Westermann_sec_ade
		}
		if = {
			limit = {
				BSC = {
					is_ai = yes
					}
				}
			annex_country = {
				target = BSC
				transfer_troops = yes
			}
		}
		if = {
			limit = {
					MLW = {
						is_ai = yes
						is_subject_of = MAF
					}
				}
			annex_country = {
				target = MLW
				transfer_troops = yes
			}
		}
	}
}

country_event = { # Zambia is reclaiming Africa, should we join them
	id = nrho.17
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.17"}
	title = nrho.17.t
	desc = nrho.17.d
	picture = GFX_report_event_march
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { # For the King
		name = nrho.17.a
		ai_chance = {
			factor = 70
		}
		overlord = {
			set_autonomy = {
				target = ROOT
				autonomous_state = autonomy_free
			}
		}
		leave_faction = yes
		CAN = {
			add_to_faction = ROOT
		}
		set_country_flag = REBELLED_AGAINST_MAF
		if = {
			limit = {
				has_idea = CIV_Colonial_Nation
			}
			remove_ideas = CIV_Colonial_Nation
			add_ideas = GBR_Colonial_Government
			set_cosmetic_tag = CIV_GBR
		}
		if = {
			limit = {
				tag = NGR
			}
			NGR = {
				set_cosmetic_tag = NGR_ZAM
			}
		}
		if = {
			limit = {
				tag = GHA
			}
			GHA = {
				set_cosmetic_tag = GHA_ZAM
			}
		}
		if = {
			limit = {
				tag = MLW
			}
			MLW = {
				set_cosmetic_tag = MLW_ZAM
			}
		}
		if = {
			limit = {
				tag = UGA
			}
			UGA = {
				set_cosmetic_tag = UGA_ZAM
			}
		}
		if = {
			limit = {
				tag = KEN
			}
			KEN = {
				set_cosmetic_tag = KEN_ZAM
			}
		}
		declare_war_on = { target = MAF type = annex_everything } 
	}
	
	option = { # nah
		name = nrho.17.b
		ai_chance = {
			factor = 50
		}
		add_political_power = -10
	}
}

country_event = { # Huttig is on Safari
	id = nrho.18
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.18"}
	title = nrho.18.t
	desc = nrho.18.d
	
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
is_triggered_only = yes
 
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = { #
		name = nrho.18.a
		ai_chance = {
			factor = 70
		}
	}
}

country_event = { # Growing Pains
	id = nrho.19
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.19"}
	title = nrho.19.t
	desc = nrho.19.d
	
	picture = GFX_report_event_generic_diplomacy1
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	fire_only_once = yes
is_triggered_only = yes

	option = { #
		name = nrho.19.a
		ai_chance = {
			factor = 70
		}
	}
}

country_event = { # Junger Flavour
	id = nrho.20
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.20"}
	title = nrho.20.t
	desc = nrho.20.d
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	picture = GFX_report_event_MAF_ernstjunger
	
	fire_only_once = yes
is_triggered_only = yes

	option = { #
		name = nrho.20.a
		ai_chance = {
			factor = 70
		}
	}
}

country_event = { # Junger Flavour
	id = nrho.21
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.21"}
	title = nrho.21.t
	desc = nrho.21.d
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	picture = GFX_report_event_MAF_ernstjunger
	
	fire_only_once = yes
is_triggered_only = yes

	option = { #
		name = nrho.21.a
		ai_chance = {
			factor = 70
		}
	}
}

country_event = { # Baring has a gamer moment
	id = nrho.22
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.22"}
	title = nrho.22.t
	desc = nrho.22.d
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	picture = GFX_report_event_ZAM_baring
	
	fire_only_once = yes
is_triggered_only = yes

	option = { #
		name = nrho.22.a
		ai_chance = {
			factor = 70
		}
	}
}

country_event = { # Huttig and the camps
	id = nrho.23
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.23"}
	title = nrho.23.t
	desc = nrho.23.d
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	picture = GFX_report_event_ZAM_huttig_event_pic
	
	fire_only_once = yes
is_triggered_only = yes

	option = { #
		name = nrho.23.a
		ai_chance = {
			factor = 70
		}
	}
}

country_event = { #Baring's Obsession
	id = nrho.24
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.24"}
	title = nrho.24.t
	desc = nrho.24.d
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	picture = GFX_report_event_ZAM_baring
	
	fire_only_once = yes
is_triggered_only = yes

	option = { #
		name = nrho.24.a
		ai_chance = {
			factor = 70
		}
	}
}

country_event = { #Victory
	id = nrho.25
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.25"}
	title = nrho.25.t
	desc = nrho.25.d
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	picture = GFX_report_event_march
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { #
		name = nrho.25.a
		add_political_power = 100
	}
}

country_event = { #Defeat
	id = nrho.26
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.26"}
	title = nrho.26.t
	desc = nrho.26.d
	
	picture = GFX_report_event_march
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { #
		name = nrho.26.a
		add_political_power = -100
	}
}

country_event = { #Stalemate
	id = nrho.27
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.27"}
	title = nrho.27.t
	desc = nrho.27.d
	
	picture = GFX_report_event_march
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { #
		name = nrho.27.a
		add_political_power = -50
	}
}

country_event = { # 
	id = nrho.28
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.28"}
	title = nrho.28.t
	desc = nrho.28.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
trigger = {
		has_war = no 
		tag = ZAM
		has_completed_focus = ZAM_final_order_to_MAF
		NOT = {
			country_exists = COG
			country_exists = CMR
			country_exists = MSF
			country_exists = UMN
			country_exists = MAF
			country_exists = NMB
		}
		owns_state = 965
	}
		
	mean_time_to_happen = {
		days = 180
	}	

	option = {
		name = nrho.28.a
		ai_chance = {
			factor = 100
		}
		complete_national_focus = ZAM_baring_victory
		add_ideas = ZAM_postwar_instability
		if = {
			limit = {
				is_subject_of = SAF
			}
		
			SAF = {
				end_puppet = ZAM
			}
		}
		if = {
			limit = {
				KEN = {
					has_country_flag = REBELLED_AGAINST_MAF
				}
			}
			release = KEN
			KEN = {	
				set_party_name = {
							  ideology = national_populist
							  long_name = "United Empire League (Kenyan Loyalists)"
							  name = "UEL"
						}
				create_country_leader = {
					   name = "Jack Churchill"
					   desc = ""
					   picture = "gfx/leaders/KEN/KEN_Jack_Churchill.png"
					   expire = "1.1.1"
					   ideology = natpop_colonial_govt_subtype
					   traits = {}
						}		  
				get_current_government_type = yes
				ZAM = {
					puppet = KEN
				}
				restore_previous_government_type = yes
				set_cosmetic_tag = KEN_ZAM
			}
		}
		if = {
			limit = {
				UGA = {
					has_country_flag = REBELLED_AGAINST_MAF
				}
			}
			release = UGA
				get_current_government_type = yes
				ZAM = {
					puppet = UGA
				}
			restore_previous_government_type = yes
		}
		if = {
			limit = {
				MLW = {
					has_country_flag = REBELLED_AGAINST_MAF
				}
			}
			release = MLW
				get_current_government_type = yes
				ZAM = {
					puppet = MLW
				}
			restore_previous_government_type = yes
		}
		if = {
			limit = {
				BSC = {
					has_country_flag = REBELLED_AGAINST_MAF
				}
			}
			release = BSC
				get_current_government_type = yes
				ZAM = {
					puppet = BSC
				}
			restore_previous_government_type = yes
		}
		if = {
			limit = {
				GHA = {
					has_country_flag = REBELLED_AGAINST_MAF
				}
			}
			release = GHA
				get_current_government_type = yes
				ZAM = {
					puppet = GHA
				}
			restore_previous_government_type = yes
		}
		if = {
			limit = {
				NGR = {
					has_country_flag = REBELLED_AGAINST_MAF
				}
			}
			release = NGR
			NGR = {	
				set_party_name = {
							  ideology = national_populist
							  long_name = "United Empire League (Nigerian Loyalists)"
							  name = "UEL"
						}
				create_country_leader = {
					   name = "Bernhard H. Bourdillon"
					   desc = "POLITICS_BOURDILLON_DESC"
					   picture = "gfx/leaders/NGR/NGR_Bernard_Henry_Bourdillon.png"
					   expire = "1.1.1"
					   ideology = natpop_colonial_govt_subtype
					   traits = {}
						}
				get_current_government_type = yes
				ZAM = {
					puppet = NGR
				}
				restore_previous_government_type = yes
				set_cosmetic_tag = NGR_ZAM
			}
		}
		if = {
			limit = {
				CIV = {
					has_country_flag = REBELLED_AGAINST_MAF
				}
			}
			release = CIV
			CIV = {
				set_party_name = {
							  ideology = national_populist
							  long_name = "United Empire League (West African Loyalists)"
							  name = "UEL"
						}
				create_country_leader = {
					   name = "Arnold Hodson"
							   desc = ""
							   picture = "gfx/leaders/CIV/CIV_Arnold_Hodson.png"
					   expire = "1.1.1"
					   ideology = natpop_colonial_govt_subtype
					   traits = {}
						}
				set_politics = {
					ruling_party = national_populist
					elections_allowed = no
				}
				get_current_government_type = yes
				ZAM = {
					puppet = CIV
				}
				restore_previous_government_type = yes
				set_cosmetic_tag = CIV_ZAM
			}
		}
		every_owned_state = {
			limit = {
				is_on_continent = africa
			}
			FROM.OWNER = { 
				add_state_core = PREV 
			}
		}
		news_event = {
			id = worldnews.2558
			days = 1
		}
		set_cosmetic_tag = ZAM_AFRICA
	}
}

country_event = { # 
	id = nrho.29
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.29"}
	title = nrho.29.t
	desc = nrho.29.d
	picture = GFX_report_event_MAF_ernstjunger

	fire_only_once = yes
	
trigger = {
		has_war = no 
		tag = ZAM
		has_completed_focus = ZAM_final_order_to_MAF
		NOT = {
			has_government = national_populist
		}
		is_subject_of = MAF
	}
		
	mean_time_to_happen = {
		days = 180
	}	

	option = {
		name = nrho.29.a
		ai_chance = {
			factor = 100
		}
		
		news_event = {
			id = worldnews.2559
			days = 1
		}
		drop_cosmetic_tag = yes
		create_country_leader = {
			name = "Ernst Jünger"
			desc = "POLITICS_JUNGER_DESC"
			picture = "gfx/leaders/MAF/Portrait_Mittelafrika_Ernst_Junger.png"
			expire = "1.1.1"
			ideology = colonial_govt_subtype

		}
		set_politics = {
			ruling_party = authoritarian_democrat
			elections_allowed = no
		}
		hidden_effect = {
			country_event = {
				id = nrho.20
				days = 15
			}
		}
		remove_all_ministers = yes
		add_ideas = {
			ZAM_Ernst_Junger_hog_ade
			ZAM_Hans_Frank_for_ade
			ZAM_Ernst_Junger_eco_ade
			ZAM_Edgar_Jung_sec_ade
		}
	}
}

country_event = { #Baring restores old african borders
	id = nrho.30
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.30"}
	title = nrho.30.t
	desc = nrho.30.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes

	option = {
		name = nrho.30.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 30
		add_popularity = {
			ideology = national_populist
			popularity = 0.02
		}
		hidden_effect = {
			807 = {
				remove_core_of = ZAM
			}
			963 = {
				remove_core_of = ZAM
			}
			876 = {
				remove_core_of = ZAM
			}
			952 = {
				remove_core_of = ZAM
			}
			927 = {
				remove_core_of = ZAM
			}
			971 = {
				remove_core_of = ZAM
			}
			975 = {
				remove_core_of = ZAM
			}
			962 = {
				remove_core_of = ZAM
			}
			660 = {
				remove_core_of = ZAM
			}
			539 = {
				remove_core_of = ZAM
			}
			953 = {
				remove_core_of = ZAM
			}
			928 = {
				remove_core_of = ZAM
			}
			974 = {
				remove_core_of = ZAM
			}
			268 = {
				remove_core_of = ZAM
			}
		}
		NFA = {
			set_state_owner = 807
			set_state_owner = 963
			set_state_owner = 876
			set_state_owner = 952
			set_state_owner = 927	
			set_state_owner = 971
			set_state_owner = 975
			set_state_owner = 962
			set_state_owner = 660
			set_state_owner = 539
			set_state_owner = 953
			set_state_owner = 928
			set_state_owner = 974
			set_state_owner = 268
			country_event = nrho.31
		}
		if = {
			limit = {
				BEL = {
					is_in_faction_with = ENT
				}
			}
			hidden_effect = {
			879 = {
				remove_core_of = ZAM
			}
			1183 = {
				remove_core_of = ZAM
			}
			1182 = {
				remove_core_of = ZAM
			}
			1184 = {
				remove_core_of = ZAM
			}
			949 = {
				remove_core_of = ZAM
			}
			977 = {
				remove_core_of = ZAM
			}
			1181 = {
				remove_core_of = ZAM
			}
			718 = {
				remove_core_of = ZAM
			}
			1026 = {
				remove_core_of = ZAM
			}
			976 = {
				remove_core_of = ZAM
			}
			295 = {
				remove_core_of = ZAM
			}
			881 = {
				remove_core_of = ZAM
			}
			538 = {
				remove_core_of = ZAM
			}
			1185 = {
				remove_core_of = ZAM
			}
			1025 = {
				remove_core_of = ZAM
			}
			1180 = {
				remove_core_of = ZAM
			}
			}
			BEL = {
				set_state_owner = 879
				set_state_owner = 1183
				set_state_owner = 1182
				set_state_owner = 1184
				set_state_owner = 949
				set_state_owner = 977
				set_state_owner = 1181
				set_state_owner = 718
				set_state_owner = 1026
				set_state_owner = 976
				set_state_owner = 295
				set_state_owner = 881
				set_state_owner = 538
				set_state_owner = 1185
				set_state_owner = 1025
				set_state_owner = 1180
				country_event = nrho.32
			}
		}
	}
}

country_event = { #Baring restores old african borders NFA POV
	id = nrho.31
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.31"}
	title = nrho.31.t
	desc = nrho.31.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = nrho.31.a
		ai_chance = {
			factor = 100
		}
		add_stability = 0.03
		add_political_power = 20
	}
}

country_event = { #Baring restores old african borders BEL POV
	id = nrho.32
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.32"}
	title = nrho.32.t
	desc = nrho.32.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = nrho.32.a
		ai_chance = {
			factor = 100
		}
		add_stability = 0.03
		add_political_power = 20
	}
}

country_event = { #Baring rsends aid to ENT
	id = nrho.33
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.33"}
	title = nrho.33.t
	desc = nrho.33.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes

	option = {
		name = nrho.33.a
		ai_chance = {
			factor = 100
		}
		add_manpower = 15000
		add_command_power = 30
		random_owned_state = {
			limit = {
				is_core_of = ENT
				is_controlled_by = ENT
			}
			add_extra_state_shared_building_slots = 1
		}
		random_owned_state = {
			limit = {
				is_core_of = ENT
				is_controlled_by = ENT
			}
			add_extra_state_shared_building_slots = 1
		}
	}
}

country_event = { #royal tour of africa
	id = nrho.34
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.34"}
	title = nrho.34.t
	desc = nrho.34.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = nrho.34.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 10
		add_popularity = {
			ideology = national_populist
			popularity = 0.02
		}
	}
}

country_event = { #fate of german collaborators
	id = nrho.35
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.35"}
	title = nrho.35.t
	desc = nrho.35.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = { #let them off
		name = nrho.35.a
		ai_chance = {
			factor = 50
		}
		add_political_power = 45
		add_manpower = 3500
		add_stability = -0.04
	}

	option = { #purge
		name = nrho.35.b
		ai_chance = {
			factor = 50
		}
		add_political_power = -50
		add_manpower = -4000
		add_stability = 0.05
	}
}

country_event = { #african westminster system
	id = nrho.36
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.36"}
	title = nrho.36.t
	desc = nrho.36.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = { #hurrah
		name = nrho.36.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 50
		add_popularity = {
			ideology = national_populist
			popularity = 0.03
		}
	}
}

country_event = { #protests against crushing native leaders
	id = nrho.37
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.37"}
	title = nrho.37.t
	desc = nrho.37.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = { #let them tire themselves out
		name = nrho.37.a
		ai_chance = {
			factor = 50
		}
		add_political_power = 35
		add_popularity = {
			ideology = national_populist
			popularity = -0.04
		}
	}

	option = { #shoot them
		name = nrho.37.b
		ai_chance = {
			factor = 50
		}
		add_political_power = -10
		add_stability = -0.03
		add_popularity = {
			ideology = national_populist
			popularity = 0.03
		}
		add_command_power = 35
	}
}

country_event = { #how to make people want to come to africa
	id = nrho.38
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.38"}
	title = nrho.38.t
	desc = nrho.38.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	is_triggered_only = yes

	option = { #free plots of land
		name = nrho.38.a
		ai_chance = {
			factor = 30
		}
		add_manpower = 5000
		add_political_power = 20
		random_owned_state = {
			limit = {
				is_controlled_by = ZAM
			}
			add_extra_state_shared_building_slots = 1
		}
		random_owned_state = {
			limit = {
				is_controlled_by = ZAM
			}
			add_extra_state_shared_building_slots = 1
		}
		random_owned_state = {
			limit = {
				is_controlled_by = ZAM
			}
			add_extra_state_shared_building_slots = 1
		}
	}

	option = { #high pay for officials
		name = nrho.38.b
		ai_chance = {
			factor = 40
		}
		add_political_power = -40
		add_manpower = 7000
		add_stability = 0.03
	}

	option = { #blind eye to corruption
		name = nrho.38.c
		ai_chance = {
			factor = 30
		}
		add_stability = -0.05
		add_manpower = 10000
		add_political_power = 50
		add_command_power = 20
	}
}

country_event = { #baring's speech
	id = nrho.39
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.39"}
	title = nrho.39.t
	desc = nrho.39.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = { #we stand ready
		name = nrho.39.a
		ai_chance = {
			factor = 100
		}
		add_war_support = 0.06
		add_popularity = {
			ideology = national_populist
			popularity = 0.05
		}
	}
}

country_event = { #baring wins uprising after MAF goes boom
	id = nrho.40
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.40"}
	title = nrho.40.t
	desc = nrho.40.d
	picture = GFX_report_event_ZAM_baring_africa

	fire_only_once = yes
	
trigger = {
		tag = MLW
		is_ai = no
		has_global_flag = MAF_collapse
		ZAM = {
			exists = no
			is_ai = no
		}
		BSC = {
			exists = no
			is_ai = no
		}
	}

	option = { #ebin
		name = nrho.40.a
		ai_chance = {
			factor = 100
		}
		hidden_effect = {
			if = {
				limit = { is_faction_leader = yes }
				dismantle_faction = yes
			}
			if = {
				limit = { is_in_faction = yes }
				leave_faction = yes
			}
			random_owned_controlled_state = {
				ZAM = { transfer_state = PREV }
			}
			transfer_navy = { target = ZAM }
			MLW = {
				ZAM = { transfer_technology = yes }
				clear_all_volunteers = yes
			}
			BSC = {
				ZAM = { transfer_technology = yes }
				clear_all_volunteers = yes
			}
			ZAM = {
				annex_country = { target = MLW transfer_troops = yes }
				change_tag_from = MLW
			}
			ZAM = {
				annex_country = { target = BSC transfer_troops = yes }
				change_tag_from = BSC
			}
			ENT = {
				add_to_faction = ZAM
			}
			ZAM = {
				set_country_flag = ZAM_COLONIAL_RULE
				set_politics = {
					ruling_party = national_populist
					elections_allowed = no
				} 
				add_popularity = {
					ideology = national_populist
					popularity = 0.1
				}
				add_ideas = ZAM_Weak_British_Hold_1
				set_cosmetic_tag = ZAM_ANGLO
				813 = { set_state_name = "North-Western Rhodesia" }
				871 = { set_state_name = "Nyasaland" }
				955 = { set_state_name = "Chewaland" }
				956 = { set_state_name = "North-Eastern Rhodesia" }
				957 = { set_state_name = "Western Barotseland" }
				958 = { set_state_name = "Eastern Barotseland" }
				remove_all_ministers = yes
				add_ideas = {
					ZAM_Sir_Evelyn_Baring_hog_npo
					ZAM_Evelyn_Dennison_Hone_for_npo
					ZAM_John_Waddington_eco_npo
				 	ZAM_Ronald_Storrs_sec_npo
				}
			}
		}
	}
option = { #fails
		name = nrho.40.b
		ai_chance = {
			factor = 100
		}
	}
}

country_event = { #Victory
	id = nrho.41
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.41"}
	title = nrho.41.t
	desc = nrho.41.d
	
	picture = GFX_report_event_march
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { #
		name = nrho.41.a
		add_political_power = 100
		if = {
			limit = {
				tag = ZIM
			}
			ZAM = {
				country_event = {
					id = nrho.10
					days = 2
				}
			}
		}
		if = {
			limit = {
				tag = ZAM
			}
			ZAM = {
				country_event = {
					id = nrho.11
					days = 2
				}
			}
		}
	}
}

country_event = { #Defeat
	id = nrho.42
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.42"}
	title = nrho.42.t
	desc = nrho.42.d
	
	picture = GFX_report_event_march
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { #
		name = nrho.42.a
		add_political_power = -100
		if = {
			limit = {
				tag = ZAM
			}
			ZAM = {
				country_event = {
					id = nrho.10
					days = 2
				}
			}
		}
		if = {
			limit = {
				tag = ZIM
			}
			ZAM = {
				country_event = {
					id = nrho.11
					days = 2
				}
			}
		}
	}
}

country_event = { #Stalemate
	id = nrho.43
	immediate = {log = "[GetDateText]: [Root.GetName]: event nrho.43"}
	title = nrho.43.t
	desc = nrho.43.d
	
	picture = GFX_report_event_march
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = { #
		name = nrho.43.a
		add_political_power = -50
		if = {
			limit = {
				tag = ZIM
			}
			ZAM = {
				country_event = {
					id = nrho.10
					days = 2
				}
			}
		}
		if = {
			limit = {
				tag = ZAM
			}
			ZAM = {
				country_event = {
					id = nrho.11
					days = 2
				}
			}
		}
	}
}
