﻿
###########################
#Uganda Events
###########################
#By IratePirate
###########################

add_namespace = uga

country_event = { #Intro
	id = uga.1
	title = uga.1.t
	desc = uga.1.d
	picture = GFX_report_event_EGY_uganda_map
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = uga.1.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 5
	}
}
#Black Monday
country_event = {
	id = uga.2
	title = uga.2.t
	desc = uga.2.d
	picture = GFX_report_event_kampala
	is_triggered_only = yes
	option = {
		name = uga.2.a
		ai_chance = {
			factor = 100
		}
		hidden_effect = {
			country_event = { id = uga.5 days = 18 }
		}
		if = {
			limit = {
				tag = UGA
			}
			add_ideas = UGA_blackmondaybad
			add_stability = -0.2
			add_war_support = -0.05
			add_political_power = -80
		}
	}
}
#see below for UGA3-4

#Cotton Plunge
country_event = {
	id = uga.5
	title = uga.5.t
	desc = uga.5.d
	picture = GFX_report_event_port_goods
	is_triggered_only = yes
	option = {
		name = uga.5.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			add_stability = -0.1
		}
		hidden_effect = {
			country_event = { id = uga.6 days = 13 }
			}
		}
	}
#Price Ordinance
country_event = {
	id = uga.6
	title = uga.6.t
	desc = uga.6.d
	picture = GFX_report_event_picking
	is_triggered_only = yes

	option = {
		name = uga.6.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
					tag = UGA
				}
			add_stability = 0.04
			add_political_power = -50
		}
		if = {
			limit = {
					tag = MAF
				}
			add_stability = 0.02
			add_political_power = -10
		}
		hidden_effect = {
			country_event = { id = uga.7 days = 12 }
		}
	}
option = {
		name = uga.6.b
		ai_chance = {
			factor = 100
		}
		hidden_effect = {
			country_event = { id = uga.7 days = 12 }
		}
	}
}
#investment dries up
country_event = {
	id = uga.7
	title = uga.7.t
	desc = uga.7.d
	is_triggered_only = yes
	picture = GFX_report_event_kampala

	option = {
		name = uga.7.a
		ai_chance = {
			factor = 100
		}
			if = {
				limit = {
					tag = UGA
				}
				add_stability = -0.04
			}
			if = {
				limit = {
					tag = MAF
				}
				add_stability = -0.01
		}
	}
}
country_event = {
	id = uga.8 #tsetse
	title = uga.8.t
	desc = uga.8.d
	is_triggered_only = yes
	picture = GFX_report_event_rural

	option = {
		name = uga.8.a
		ai_chance = {
			factor = 100
		}
		add_stability = 0.02
		add_political_power = -30
		}
	option = {
		name = uga.8.b
		ai_chance = {
			factor = 100
		}
		add_stability = -0.01
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
			add_extra_state_shared_building_slots = -1
		}
	}
}
country_event = { #Wage Raiders
	id = uga.3
	title = uga.3.t
	desc = uga.3.d
	is_triggered_only = yes
	picture = GFX_report_event_KIK_maumau_4

	option = {
		name = uga.3.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
			}
		add_timed_idea = {
				idea = UGA_wageraiders
				days = 870
			}
		add_political_power = -20
		}
		if = {
			limit = {
				tag = MAF
			}
		add_political_power = -5
		}
	}
}
country_event = { #Protectorate Policy
	id = uga.4
	title = uga.4.t
	desc = uga.4.d
	picture = GFX_report_event_announcement
	is_triggered_only = yes

	option = {
		name = uga.4.a #let's do it
		ai_chance = {
			factor = 100
		}
		increase_ruling_party_popularity_by_2 = yes
	}
}

country_event = { #Muslim Question
	id = uga.2000
	title = uga.2000.t
	desc = uga.2000.d
	is_triggered_only = yes
	picture = GFX_report_event_chad
	option = {
		name = uga.2000.a #crack down
		ai_chance = {
			factor = 100
		}
			trigger = {
			tag = UGA
			}
		add_political_power = -20
		add_stability = 0.05
		}
	option = {
		name = uga.2000.b #leave as it is
		ai_chance = {
			factor = 100
		}
			trigger = {
				tag = UGA
			}
		add_political_power = 20
		}
	option = {
		name = uga.2000.c #MAF response
		ai_chance = {
		factor = 100
	}
		trigger = {
			NOT = {
				tag = UGA
			}
		}
		add_political_power = 5
	}
}
country_event = { #Indians
	id = uga.2001
	title = uga.2001.t
	desc = uga.2001.d
	is_triggered_only = yes
	picture = GFX_report_event_street

	option = {
		name = uga.2001.a #distance ourselves from the Indians
		ai_chance = {
			factor = 100
		}
		hidden_effect = {
			country_event = { id = uga.20011 days = 26 }
		}
		add_political_power = 100
		}
	option = {
		name = uga.2001.b #back them
		ai_chance = {
			factor = 100
		}
		remove_ideas = UGA_angryindiancommunity
		add_stability = -0.05
		add_popularity = {
			popularity = 0.03
		}
		}
	option = {
		name = uga.2001.c #status quo
		ai_chance = {
			factor = 100
		}
		hidden_effect = {
			country_event = { id = uga.20012 days = 94 }
		}
	}
}

country_event = { #Weakened Indians
	id = uga.20011
	title = uga.20011.t
	desc = uga.20011.d
	picture = GFX_report_event_kampala
	is_triggered_only = yes

	option = {
		name = uga.20011.a
		ai_chance = {
			factor = 100
		}
		remove_ideas = UGA_angryindiancommunity
		add_stability = 0.1
		548 = {
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		add_popularity = {
			popularity = -0.05
		}
		hidden_effect = {
			country_event = { id = uga.20013 days = 33 }
		}
	}
}

country_event = { #Attacked Indians
	id = uga.20012
	title = uga.20012.t
	desc = uga.20012.d
	picture = GFX_report_event_street
	is_triggered_only = yes
	option = {
		name = uga.20012.a
		ai_chance = {
			factor = 100
		}
		remove_ideas = UGA_angryindiancommunity
		add_stability = 0.04
		548 = {
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		add_popularity = {
			popularity = -0.02
			}
		hidden_effect = {
			country_event = { id = uga.20013 days = 33 }
		}
	}
}

country_event = { #Indians unite behind opposition
	id = uga.20013
	title = uga.20013.t
	desc = uga.20013.d
	is_triggered_only = yes
	picture = GFX_report_event_RAJ_protest1

	option = {
		name = uga.20013.a
		ai_chance = {
			factor = 100
		}
		add_popularity = {
			popularity = 0.02
		}
		add_popularity = {
			popularity = 0.02
		}
		add_popularity = {
			popularity = 0.02
		}
		hidden_effect = {
			set_country_flag = UGA_angeredindians
		}
	}
}

country_event = { #Indian boycotts
	id = uga.20014
	title = uga.20014.t
	desc = uga.20014.d
	is_triggered_only = yes
	picture = GFX_report_event_pondicherry

	option = {
		name = uga.20014.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
			}
			add_timed_idea = {
				idea = UGA_angryindiancommunity
				days = 900
			}
			add_stability = -0.02
			add_popularity = {
				popularity = 0.02
				}
				hidden_effect = {
					country_event = { id = uga.20015 days = 22 }
				}
			add_political_power = 10
		}
		if = {
			limit = {
				tag = MAF
			}
			add_war_support = -0.01
		}
	}
}

country_event = { #Anti-Indian letter
	id = uga.20015
	title = uga.20015.t
	desc = uga.20015.d
	picture = GFX_report_event_BHC_leaders
	is_triggered_only = yes

	option = {
		name = uga.20015.a
		ai_chance = {
			factor = 100
		}
		add_stability = -0.01
		hidden_effect = {
			country_event = { id = uga.20016 days = 14 }
		}
	}
}

country_event = { #Mehta complains
	id = uga.20016
	title = uga.20016.t
	desc = uga.20016.d
	is_triggered_only = yes
	picture = GFX_report_event_street3

	option = {
		name = uga.20016.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -5
	}
}

country_event = { #New Language
	id = uga.2002
	title = uga.2002.t
	desc = uga.2002.d
	picture = GFX_report_event_KIK_maumau
	is_triggered_only = yes

	option = {
		name = uga.2002.a
		ai_chance = {
			factor = 100
		}
		add_stability = 0.02
		}
	option = {
		name = uga.2002.b
		ai_chance = {
			factor = 100
		}
		army_experience = 5
		add_popularity = {
			popularity = -0.02
		}
		}
	option = {
		name = uga.2002.c
		ai_chance = {
			factor = 100
		}
		add_political_power = 20
	}
}

country_event = { #Native Ordinance change
	id = uga.2003
	title = uga.2003.t
	desc = uga.2003.d
	is_triggered_only = yes
	picture = GFX_report_event_GAB_expedition
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes
	option = {
		name = uga.2003.a
		ai_chance = {
			factor = 100
		}
		decrease_ruling_party_popularity_by_2 = yes
	}
}

country_event = { #The Unions
	id = uga.2004
	title = uga.2004.t
	desc = {
		text = uga.2004.d.uga
		trigger = {
		tag = UGA
		}
	}
	desc = {
		text = uga.2004.d.maf
			trigger = {
			tag = MAF
		}
	}
	is_triggered_only = yes
	picture = GFX_report_event_factory

	option = {
		name = uga.2004.a #Ban unions and lefties
		ai_chance = {
			factor = 100
		}
			trigger = {
			tag = UGA
		}
		hidden_effect = {
			set_country_flag = UGA_crackeddownonunions
		}
		add_popularity = {
		add_war_support = 0.03
		}
		}
	option = {
		name = uga.2004.b #Tolerate their presence
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_SOCIALIST_COUP
				}
			}
		}
		trigger = {
			tag = UGA
		}
		hidden_effect = {
			set_country_flag = UGA_toleratedunions
		}
		add_stability = 0.02
		}
	option = {
		name = uga.2004.c #MAF response
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = MAF
		}
		add_political_power = 10
	}
}

country_event = { #Freedom of Association
	id = uga.20041
	title = uga.20041.t
	desc = uga.20041.d
	is_triggered_only = yes
	picture = GFX_report_event_KIV_democracy

	option = {
		name = uga.20041.a #Allow political parties
		ai_chance = {
			factor = 100
		}
		hidden_effect = {
			set_country_flag = UGA_willholdelections
			}
			set_party_name = { 
				ideology = paternal_autocrat 
				long_name = UGA_paternal_autocrat_party_long_democracy
				name = UGA_paternal_autocrat_party_democracy
			}
			set_party_name = { 
				ideology = authoritarian_democrat 
				long_name = UGA_authoritarian_democrat_party_long_democracy
				name = UGA_authoritarian_democrat_party_democracy
			}
			set_party_name = { 
				ideology = social_conservative 
				long_name = UGA_social_conservative_party_long_democracy
				name = UGA_social_conservative_party_democracy
			}
			set_party_name = { 
				ideology = market_liberal 
				long_name = UGA_market_liberal_party_long_democracy
				name = UGA_market_liberal_party_democracy
			}
			set_party_name = { 
				ideology = social_liberal 
				long_name = UGA_social_liberal_party_long_democracy
				name = UGA_social_liberal_party_democracy
			}
			set_party_name = { 
				ideology = social_democrat 
				long_name = UGA_social_democrat_party_long_democracy
				name = UGA_social_democrat_party_democracy
			}
		add_war_support = 0.02
		country_event = { id = uga.20042 days = 23 } #stirring of democracy
		hidden_effect = {
			MAF = { country_event = { id = uga.20042 days = 23 } }
		}
		}
	option = {
		name = uga.20041.b #No way, fag!
		ai_chance = {
			factor = 50
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_SOCIALIST_COUP
				}
			}
		}
		decrease_ruling_party_popularity_by_2 = yes
		hidden_effect = {
			set_country_flag = UGA_blockedelections
		}
	}
}

country_event = { #Formation of parties
	id = uga.20042
	title = uga.20042.t
	desc = uga.20042.d
	is_triggered_only = yes
	picture = GFX_report_event_hospital

	option = {
		name = uga.20042.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
			}
			add_political_power = 50
			add_stability = 0.02
		}
		hidden_effect = {
			country_event = { id = uga.20043 days = 4 random_days = 2 } #Uganda Congress Party
			country_event = { id = uga.20044 days = 10 random_days = 2 } #king alone
			country_event = { id = uga.20045 days = 14 random_days = 2 } #democratic party
			country_event = { id = uga.20046 days = 17 random_days = 2 } #farmers party
			country_event = { id = uga.20047 days = 21 random_days = 2 } #indians party
			country_event = { id = uga.20048 days = 25 random_days = 2 } #socialist radicals
		}
	}	
}

country_event = { #Rise of the Uganda Congress Party
	id = uga.20043
	title = uga.20043.t
	desc = uga.20043.d
	is_triggered_only = yes
	picture = GFX_report_event_street2

	option = {
		name = uga.20043.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = 0.05
			}
		}
	}
}

country_event = { #Rise of the King Alone
	id = uga.20044
	title = uga.20044.t
	desc = uga.20044.d
	is_triggered_only = yes
	picture = GFX_report_event_oba
	option = {
		name = uga.20044.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			add_popularity = {
				ideology = paternal_autocrat
				popularity = 0.03
			}
			add_popularity = {
				ideology = social_conservative
				popularity = 0.02
			}
		}
	}
}

country_event = { #Democratic Party
	id = uga.20045
	title = uga.20045.t
	desc = uga.20045.d
	is_triggered_only = yes
	picture = GFX_report_event_road
	
	trigger = {
		UGA = { has_country_flag = UGA_catholics_organise }
	}
	option = {
		name = uga.20045.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				add_popularity = {
					ideology = market_liberal
					popularity = 0.03
			}
		}
	}
}

country_event = { #Farmers Party
	id = uga.20046
	title = uga.20046.t
	desc = uga.20046.d
	is_triggered_only = yes
	picture = GFX_report_event_portlouis
	
	trigger = {
		UGA = { has_country_flag = UGA_toleratedunions }
	}
	option = {
		name = uga.20046.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			add_popularity = {
				ideology = social_democrat
				popularity = 0.05
			}
		}
	}
}

country_event = { #Social liberal Indians
	id = uga.20047
	title = uga.20047.t
	desc = uga.20047.d
	is_triggered_only = yes
	picture = GFX_report_event_mombasa

	trigger = {
		UGA = { has_country_flag = UGA_angeredindians }
	}
	option = {
		name = uga.20047.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				add_popularity = {
					ideology = social_liberal
					popularity = 0.03
			}
		}
	}
}

country_event = { #Radicalisation
	id = uga.20048
	title = uga.20048.t
	desc = uga.20048.d
	is_triggered_only = yes
	picture = GFX_report_event_portlouis
	
	trigger = {
		UGA = { has_country_flag = UGA_crackeddownonunions }
	}
	option = {
		name = uga.20048.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				add_popularity = {
					ideology = radical_socialist
					popularity = 0.03
				}
				add_popularity = {
					ideology = syndicalist
					popularity = 0.03
				}
				add_popularity = {
					ideology = totalist
					popularity = 0.01
			}
		}
	}
}
#End parties

country_event = { #Kill Kagwa?
	id = uga.2005
	title = uga.2005.t
	desc = uga.2005.d

	is_triggered_only = yes
	picture = GFX_report_event_MAF_skull

	option = {
		name = uga.2005.a
		ai_chance = {
			factor = 100
		}
		hidden_effect = {
			country_event = {
				id = uga.2042 
				days = 14
			}
			MAF = {
				country_event = {
					id = uga.2042 
					days = 14
				}
			}
			GER = {
				country_event = {
					id = uga.2042 
					days = 14
				}
			}
			KEN = {
				country_event = {
					id = uga.2042 
					days = 14
				}
			}
			SUD = {
				country_event = {
					id = uga.2042 
					days = 14
				}
			}
			ETH = {
				country_event = {
					id = uga.2042 
					days = 14
				}
			}
		}
		}
	option = {
		name = uga.2005.b
		ai_chance = {
			factor = 0
		}
		add_political_power = -30
	}
}
country_event = { #Second Buganda Agreement
	id = uga.2006
	title = uga.2006.t
	desc = uga.2006.d
	is_triggered_only = yes
	picture = GFX_report_event_afrikahaus

	option = {
		name = uga.2006.a
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_REPUBLIC_COUP
				}
			}
		}
		trigger = {
			has_completed_focus = UGA_strengthenthelukiiko
		}
		set_politics = {
			ruling_party = social_conservative
			elections_allowed = no
		}
		retire_country_leader = yes
		remove_all_ministers = yes
		add_ideas = {
			UGA_Daudi_Cwa_II_hog_pau
			UGA_Yusuf_Lule_for_sco
			UGA_Yusuf_Lule_eco_sco
			UGA_Mustafa_Adrisi_sec_pau
		}
		create_country_leader = {
			name = "The Lukiiko"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
			expire = "1.1.1"
			ideology = pataut_christian_democracy_subtype
		}
		create_country_leader = {
			name = "The Lukiiko"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
			expire = "1.1.1"
			ideology = prussian_constitutionalism_subtype
		}
		create_country_leader = {
			name = "The Lukiiko"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
			expire = "1.1.1"
			ideology = christian_democracy_subtype
		}
		create_country_leader = {
			name = "The Lukiiko"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
			expire = "1.1.1"
			ideology = liberal_conservative_subtype
		}
		create_country_leader = {
			name = "The Lukiiko"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
			expire = "1.1.1"
			ideology = centrist_subtype
		}
		create_country_leader = {
			name = "The Lukiiko"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
			expire = "1.1.1"
			ideology = socdem_progressive_conservatism_subtype
		}
		add_stability = -0.1
		add_political_power = 50
	}
	option = {
		name = uga.2006.b
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_REPUBLIC_COUP
				}
			}
		}
		trigger = {
			has_completed_focus = UGA_thekabakasourally
		}
		set_politics = {
			ruling_party = paternal_autocrat
			elections_allowed = no
			}
		retire_country_leader = yes
		remove_all_ministers = yes
		add_ideas = {
			UGA_Daudi_Cwa_II_hog_pau
			UGA_Yusuf_Lule_for_sco
			UGA_Yusuf_Lule_eco_sco
			UGA_Mustafa_Adrisi_sec_pau
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = pataut_christian_democracy_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = prussian_constitutionalism_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = soccon_prussian_constitutionalism_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = liberal_conservative_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = centrist_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = socdem_progressive_conservatism_subtype
		}
		add_stability = -0.1
		add_political_power = 50
	}
#Angry Ugandan rebels
	option = {
		name = uga.2006.c
			ai_chance = {
				factor = 50
			}
			complete_national_focus = UGA_thekampalacrisis
			retire_country_leader = yes
			set_party_name = { 
				ideology = paternal_autocrat 
				long_name = UGA_paternal_autocrat_party_long_democracy
				name = UGA_paternal_autocrat_party_democracy
			}
			set_party_name = { 
				ideology = authoritarian_democrat 
				long_name = UGA_authoritarian_democrat_party_long_democracy
				name = UGA_authoritarian_democrat_party_democracy
			}
			set_party_name = { 
				ideology = social_conservative 
				long_name = UGA_social_conservative_party_long_democracy
				name = UGA_social_conservative_party_democracy
			}
			set_party_name = { 
				ideology = market_liberal 
				long_name = UGA_market_liberal_party_long_democracy
				name = UGA_market_liberal_party_democracy
			}
			set_party_name = { 
				ideology = social_liberal 
				long_name = UGA_social_liberal_party_long_democracy
				name = UGA_social_liberal_party_democracy
			}
			set_party_name = { 
				ideology = social_democrat 
				long_name = UGA_social_democrat_party_long_democracy
				name = UGA_social_democrat_party_democracy
			}
		create_country_leader = {
			name = "Ignatius K. Musaazi"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Musaazi.png"
			expire = "1.1.1"
			ideology = junta_subtype
		}
		create_country_leader = {
			name = "Ignatius K. Musaazi"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Musaazi.png"
			expire = "1.1.1"
			ideology = authdem_republican_panafricanism_subtype
		}
		create_country_leader = {
			name = "Ignatius K. Musaazi"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Musaazi.png"
			expire = "1.1.1"
			ideology = soccon_republican_panafricanism_subtype
		}
		create_country_leader = {
			name = "Ignatius K. Musaazi"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Musaazi.png"
			expire = "1.1.1"
			ideology = marlib_republican_panafricanism_subtype
		}
		create_country_leader = {
			name = "Ignatius K. Musaazi"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Musaazi.png"
			expire = "1.1.1"
			ideology = soclib_republican_panafricanism_subtype
		}
		create_country_leader = {
			name = "Ignatius K. Musaazi"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Musaazi.png"
			expire = "1.1.1"
			ideology = socdem_republican_panafricanism_subtype
		}
		if = {
			limit = { is_subject = yes }
				overlord = {
					set_autonomy = { target = ROOT autonomous_state = autonomy_free }
				}
			}
			if = {
				limit = { is_in_faction = yes }
				leave_faction = yes
			}
		GER = { remove_from_faction = UGA }
		separate_peace_all_wars = yes
		MAF = {
			country_event = {
				id = uga.2027
				days = 1
			}
		}
		hidden_effect = {
			UGA = {
				drop_cosmetic_tag = yes
			}
			UGA = {
				set_cosmetic_tag = UGA_REP
			}
			set_country_flag = dictatorship
		}
		add_stability = -0.1
		add_political_power = 50
	}
}

country_event = { #The Uganda Policy
	id = uga.2007
	title = uga.2007.t
	desc = uga.2007.d

	is_triggered_only = yes
	picture = GFX_report_event_legco2

	option = {
		name = uga.2007.a #Confederation
		ai_chance = {
			factor = 100
		}
		add_stability = 0.02
		hidden_effect = {
			set_country_flag = UGA_confederationchosen
			}
		}
	option = {
		name = uga.2007.b #Unitary State
		ai_chance = {
			factor = 100
		}
		add_political_power = 30
		hidden_effect = {
			set_country_flag = UGA_unitarystatechosen
		}
	}
}
country_event = { #Bazungu in Uganda
	id = uga.2008
	title = uga.2008.t
	desc = uga.2008.d
	is_triggered_only = yes
	picture = GFX_report_event_NFA_event_NFA_Christian_Mission

	option = {
		name = uga.2008.a #nope
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		hidden_effect = {
			country_event = { id = uga.20081 days = 49 } #jewish settlement
			}
		}
	option = {
		name = uga.2008.b #sure
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_ideas = UGA_encouragewhitesettlement
		decrease_ruling_party_popularity_by_5 = yes
		add_stability = -0.01
		hidden_effect = {
			country_event = { id = uga.20081 days = 53 } #jewish settlement
			}
		hidden_effect = {
			country_event = { id = uga.20083 days = 553 } #white row
		}
	}
option = {
		name = uga.2008.c #sure
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
				}
			}
			add_political_power = 5
	}
}
country_event = { #Jewish proposal
	id = uga.20081
	title = uga.20081.t
	desc = uga.20081.d
	picture = GFX_report_event_NFA_event_NFA_Christian_Mission
	is_triggered_only = yes
	picture = GFX_report_event_EGY_uganda_map

	option = {
		name = uga.20081.a #sure
		ai_chance = {
			factor = 100
		}
		add_political_power = -30
		hidden_effect = {
			country_event = { id = uga.20082 days = 122 }
			}
		}
	option = {
		name = uga.20081.b #no
		ai_chance = {
			factor = 0
		}

	}
}
country_event = { #Jewish businesses
	id = uga.20082
	title = uga.20082.t
	desc = uga.20082.d
	is_triggered_only = yes
	picture = GFX_report_event_generic_food

	option = {
		name = uga.20082.a #ok
		ai_chance = {
			factor = 100
		}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		}
		add_stability = -0.01

		}
	
	}	

country_event = { #Greek settler murder
	id = uga.20083
	title = uga.20083.t
	desc = uga.20083.d
	is_triggered_only = yes
	picture = GFX_report_event_MAF_waruhiu

	option = {
		name = uga.20083.a #fug
		ai_chance = {
			factor = 100
		}
		add_stability = -0.01

		}
	
	}

country_event = { #Egyptian concerns encouraged
	id = uga.2009
	title = uga.2009.t
	desc = uga.2009.d
	picture = GFX_report_event_EGY_egyptian_palace
	is_triggered_only = yes

	option = {
		name = uga.2009.a
		ai_chance = {
			factor = 100
		}
		add_stability = 0.02
		hidden_effect = {
			country_event = { id = uga.20096 days = 84 }
		}
	}
}
country_event = { #Egypt (and Sudan) responds
	id = uga.20091
	title = uga.20091.t
	desc = uga.20091.d
	picture = GFX_report_event_EGY_uganda_map
	is_triggered_only = yes

	option = {
		name = uga.20091.a #complain to Berlin
		trigger = {
			tag = EGY
			UGA = { is_subject = yes }
		}
		ai_chance = {
			factor = 80
		}
		hidden_effect = {
			GER = {
				country_event = uga.20092
				}
			}
		add_political_power = -10
		}
	option = {
		name = uga.20091.b #there's no harm in it
		ai_chance = {
			factor = 0
		}
		trigger = {
			tag = EGY
		}
		add_stability = -0.01
		}
	option = {
		name = uga.20091.c #Sudan response
		ai_chance = {
			factor = 0
		}
		trigger = {
			tag = SUD
		}
		add_political_power = 10
	}
}
country_event = { #Germany responds
	id = uga.20092
	title = uga.20092.t
	desc = uga.20092.d
	is_triggered_only = yes
	picture = GFX_report_event_EGY_egyptian_palace

	option = {
		name = uga.20092.a #sod off
		ai_chance = {
			factor = 100
		}
		add_political_power = -15
		hidden_effect = {
			MAF = {
				country_event = { id = uga.20093 days = 2 }
				}
			UGA = {
				country_event = { id = uga.20094 days = 3 }
				}
			EGY = {
				country_event = { id = uga.20095 days = 4 }
				}
			SUD = {
				country_event = { id = uga.20095 days = 4 }
			}
		}
	}
}

country_event = { #MAF responds
	id = uga.20093
	title = uga.20093.t
	desc = uga.20093.d
	is_triggered_only = yes
	picture = GFX_report_event_EGY_egyptian_palace

	option = {
		name = uga.20093.a #sod off
		ai_chance = {
			factor = 100
		}
		add_political_power = -20
	}	
}

country_event = { #Uganda responds
	id = uga.20094
	title = uga.20094.t
	desc = uga.20094.d
	is_triggered_only = yes
	picture = GFX_report_event_EGY_egyptian_palace

	option = {
		name = uga.20094.a #sod off
		ai_chance = {
			factor = 100
		}
		add_political_power = -20
		add_stability = -0.01

	}	
}

country_event = { #Egyptian responds
	id = uga.20095
	title = uga.20095.t
	desc = uga.20095.d
	is_triggered_only = yes
	picture = GFX_report_event_EGY_egyptian_palace

	option = {
		name = uga.20095.a #nice
		ai_chance = {
			factor = 100
		}
		add_political_power = 30
		add_war_support = 0.02
	}	
}

country_event = { #Further investment
	id = uga.20096
	title = uga.20096.t
	desc = uga.20096.d
	is_triggered_only = yes
	picture = GFX_report_event_EGY_egyptian_palace

	option = {
		name = uga.20096.a #cheers
		ai_chance = {
			factor = 100
		}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		add_building_construction = {
			type = arms_factory
			level = 1
			instant_build = yes
			}	
		}

	}	
}

country_event = { #Ethiopia happy
	id = uga.20097
	title = uga.20097.t
	desc = uga.20097.d
	is_triggered_only = yes
	picture = GFX_report_event_railway

	option = {
		name = uga.20097.a #cheers
		ai_chance = {
			factor = 100
		}
	922 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
		type = infrastructure
		level = 1
		instant_build = yes
			}
		}
		UGA = {
			country_event = { id = uga.20098 days = 1 }
		}
		hidden_effect = {
				MAF = {
					country_event = { id = uga.20098 days = 1 }
				}
				GER = {
					country_event = { id = uga.20098 days = 1 }
				}
				DJI = {
					country_event = { id = uga.20098 days = 1 }
				}
				SUD = {
					country_event = { id = uga.20098 days = 1 }
				}
				SOM = {
					country_event = { id = uga.20098 days = 1 }
				}
				EGY = {
					country_event = { id = uga.20098 days = 1 }
				}
			}
		}
	option = {
		name = uga.20097.b #pfft
		ai_chance = {
			factor = 0
		}
		922 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
			type = infrastructure
			level = 1
			instant_build = yes
				}
		}
	}
}
country_event = { #uganda receives thanks from Ethiopia
	id = uga.20098
	title = uga.20098.t
	desc = {
		text = uga.20098.d
		trigger = {
			NOT = {
				OR = {
					tag = EGY
					tag = SUD
					tag = SOM
				}
			}
		}
	}
	desc = {
		text = uga.20098.dnon
		trigger = {
			OR = {
				tag = EGY
				tag = SUD
				tag = SOM
			}
		}
	}
	is_triggered_only = yes
	picture = GFX_report_event_ETH_selassie_desk
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = uga.20098.a
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_political_power = 20
	}
	option = {
		name = uga.20098.b
		ai_chance = {
			factor = 100
		}
		trigger = {
			OR = {
				tag = GER
				tag = MAF
				tag = DJI
			}
		}
		add_political_power = 20
	}
	option = {
		name = uga.20098.c
		ai_chance = {
			factor = 100
		}
		trigger = {
			OR = {
				tag = EGY
				tag = SUD
				tag = SOM
			}
		}
		add_political_power = -20
	}
}
country_event = { #Nile and Lake Commission
	id = uga.2010
	title = uga.2010.t
	desc = uga.2010.d
	is_triggered_only = yes
	picture = GFX_report_event_coast

	option = { #cool
		name = uga.2010.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
			KEN = {
				owns_state = 969
				has_full_control_of_state = 969
			}
		}
		KEN = { country_event = uga.20111 }
		}
		if = {
			limit = {
			MAF = {
				owns_state = 1093
				has_full_control_of_state = 1093
			}
		}
		MAF = { country_event = uga.20111 }
		}
		if = {
			limit = {
			TZN = {
				owns_state = 1093
				has_full_control_of_state = 1093
			}
		}
		TZN = { country_event = uga.20111 }
		}
		if = {
			limit = {
			COG = {
				OR = {
					AND = {
						owns_state = 977
						has_full_control_of_state = 977
					AND = {
						owns_state = 718
						has_full_control_of_state = 718
						}
					}
				}
			}
		}
		COG = { country_event = uga.20111 }
		}
		if = {
			limit = {
			EGY = {
				exists = yes
			}
		}
		EGY = { country_event = uga.20111 }
		}
		if = {
			limit = {
			SUD = {
				exists = yes
			}
		}
		SUD = { country_event = uga.20111 }
		}
		if = {
			limit = {
			ETH = {
				exists = yes
			}
		}
		ETH = { country_event = uga.20111 }
		}
	}
}
country_event = { #Response to invite
	id = uga.20111
	title = uga.20111.t
	desc = uga.20111.d
	desc = {
		text = uga.20111.d.egypt
		trigger = {
			tag = EGY
		}
	}
	desc = {
		text = uga.20111.d.maf
		trigger = {
			tag = MAF
		}
	}
	is_triggered_only = yes
	picture = GFX_report_event_lactchad

	option = {
		name = uga.20111.a
		trigger = {
			NOT = {
				OR = {
					tag = EGY
					tag = MAF
				}
			}
		}
		ai_chance = {
			factor = 100
		}
		add_stability = 0.02
		add_political_power = -20
		}
	option = {
		name = uga.20111.b
		trigger = {
			NOT = {
				OR = {
					tag = EGY
					tag = MAF
				}
			}
		}
		ai_chance = {
			factor = 100
		}

		}
	option = {
		name = uga.20111.c
		trigger = {
			tag = EGY
		}
		ai_chance = {
			factor = 100
		}
		add_political_power = -20
		add_war_support = 0.02
		MAF = { country_event = { id = uga.20112 days = 3 } }
		UGA = { country_event = { id = uga.20112 days = 3 } }
		GER = { country_event = { id = uga.20112 days = 3 } }
		}
	option = {
		name = uga.20111.e
		trigger = {
			tag = MAF
		}
		ai_chance = {
			factor = 100
		}
		add_stability = 0.02
	}
}
country_event = { #Egypt protests
	id = uga.20112
	title = uga.20112.t
	desc = {
		text = uga.20112.d.maf
		trigger = {
			OR = {
				tag = MAF
				tag = GER
			}
		}
	}
	desc = {
		text = uga.20112.d.uga
		trigger = {
			tag = UGA
		}
	}
	is_triggered_only = yes
	picture = GFX_report_event_coast

	option = {
		name = uga.20112.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -20
		add_war_support = 0.02
	}
}
country_event = { #Kabaka's rights
	id = uga.2011
	title = uga.2011.t
	desc = uga.2011.d
	is_triggered_only = yes
	picture = GFX_report_event_UGA_cohen_mutesa

	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes
	option = {
		name = uga.2011.a #This is to go further beyond
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_stability = -0.02
		}
	option = {
		name = uga.2011.b #Hold up
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_political_power = -10
		}
	option = {
		name = uga.2011.c #MAF/GER response
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
			}
		}
		add_political_power = 10
	}
}
country_event = { 
	id = uga.2012 #Buganda Policy
	title = uga.2012.t
	desc = uga.2012.d
	is_triggered_only = yes
	picture = GFX_report_event_UGA_cohen_mutesa

	option = {
		name = uga.2012.a
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_political_power = 20
		hidden_effect = {
			set_country_flag = UGA_alignedwiththekabaka
		}
		}
	option = {
		name = uga.2012.b
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_stability = 0.02
		hidden_effect = {
			set_country_flag = UGA_alignedwiththelukiiko
		}
		}
	option = {
		name = uga.2012.c
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
			}
		}
		add_political_power = 5
	}
}
country_event = { #The The Wa-Ingleza and Wa-Fransa Question
	id = uga.2013
	title = uga.2013.t
	desc = uga.2013.d
	is_triggered_only = yes
	picture = GFX_report_event_church

	option = {
		name = uga.2013.a #status quo
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		hidden_effect = {
			country_event = { id = uga.20131 days = 142 }
			MAF = { country_event = { id = uga.20131 days = 142 } }
			GER = { country_event = { id = uga.20131 days = 142 } }
		}
		}
	option = {
		name = uga.2013.b #assist catholics
		ai_chance = {
			factor = 20
		}
		trigger = {
			tag = UGA
			NOT = {
				has_country_flag = UGA_wentwithbuganda
			}
		}
		remove_ideas = UGA_pissedoffcatholics
		add_political_power = -100
		add_stability = -0.01
		}
	option = {
		name = uga.2013.c #weaken the Catholics further
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
			has_country_flag = UGA_wentwithbuganda
		}
		hidden_effect = {
			country_event = { id = uga.20132 days = 47 }
			MAF = { country_event = { id = uga.20132 days = 47 } }
			GER = { country_event = { id = uga.20132 days = 47 } }
		}
		}
	option = {
		name = uga.2013.e #non-UGA response
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
				}
			}
		add_political_power = 5
	}
}
country_event = { #Catholics marginalised
	id = uga.20131
	title = uga.20131.t
	desc = uga.20131.d

	is_triggered_only = yes
	picture = GFX_report_event_CEA_faith

	option = {
		name = uga.20131.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
			}
			remove_ideas = UGA_pissedoffcatholics
			add_stability = -0.05
			hidden_effect = {
				set_country_flag = UGA_catholics_organise
				}
			}
		add_political_power = -5
	}
}
country_event = { #Attacked the Catholics
	id = uga.20132
	title = uga.20132.t
	desc = uga.20132.d
	is_triggered_only = yes
	picture = GFX_report_event_CEA_faith

	option = {
		name = uga.20132.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
			}
			add_political_power = 30
			remove_ideas = UGA_pissedoffcatholics
			hidden_effect = {
				set_country_flag = UGA_catholics_organise
			}
		}
	}
}

country_event = { #Murder of Mother Kevin
	id = uga.20133
	title = uga.20133.t
	desc = {
		text = uga.20133.d
		trigger = {
			tag = UGA
		}
	}
	desc = {
		text = uga.20133.d.usa
		trigger = {
			tag = USA
		}
	}
	desc = {
		text = uga.20133.d.maf
		trigger = {
			tag = MAF
		}
	}
	desc = {
		text = uga.20133.d.ger
		trigger = {
			tag = GER
		}
	}
	desc = {
		text = uga.20133.d.ire
		trigger = {
			tag = IRE
		}
	}
	desc = {
		text = uga.20133.d.pap
		trigger = {
			tag = PAP
		}
	}
	is_triggered_only = yes
	picture = GFX_report_event_church

	option = {
		name = uga.20133.a #Catholics angry
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_timed_idea = {
			idea = UGA_pissedoffcatholics
			days = 720
		}
		add_stability = -0.01
		}
	option = {
		name = uga.20133.b #Overseas response
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
			}
		}
		if = {
			limit = {
				tag = MAF
				}
			add_political_power = -5
		}
	}
}

country_event = { #Purchase Aircraft
	id = uga.2014
	title = uga.2014.t
	desc = uga.2014.d

	is_triggered_only = yes

	option = {
		name = uga.2014.a
		ai_chance = {
			factor = 100
		}
		add_equipment_to_stockpile = {
			type = fighter_equipment_0
			amount = 28
			producer = MAF
		}
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = light_fighter
				category = cat_heavy_fighter
		}
	}
}
country_event = { #LegCo Elections
	id = uga.2015
	title = uga.2015.t
	desc = uga.2015.d

	is_triggered_only = yes
	picture = GFX_report_event_kampala

	immediate = {
		hidden_effect = {
			remove_all_ministers = yes
			country_event = {
				id = uga.2015
				days = 1460
			}
			if = {
				limit = {
					NOT = {
						has_completed_focus = UGA_legcoelections
					}
				}
			unlock_national_focus = UGA_legcoelections
			}
		}
	}
	option = {
		name = uga.2015.a #UCP
		ai_chance = {
			factor = 70
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_SOCIALIST_COUP
				}
			}
		}
		trigger = {
			NOT = {
				has_completed_focus = UGA_anewagreement
			}
		}
		set_politics = {
			ruling_party = authoritarian_democrat
			elections_allowed = no
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.1
		}
		hidden_effect = {
		}
		}
	option = {
		name = uga.2015.b #UFP
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_SOCIALIST_COUP
				}
			}
		}
		trigger = {
			has_country_flag = UGA_toleratedunions
			NOT = {
				has_country_flag = UGA_soclibscoalition
				has_country_flag = UGA_socdemcoalition
				has_country_flag = UGA_marlibcoalition
			}
		}
		set_politics = {
			ruling_party = social_democrat
			elections_allowed = no
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.1
		}
		}
	option = {
		name = uga.2015.c #DP
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_SOCIALIST_COUP
				}
			}
		}
		trigger = {
			NOT = {
				has_country_flag = UGA_soclibscoalition
				has_country_flag = UGA_socdemcoalition
				has_country_flag = UGA_marlibcoalition
			}
		}
			set_politics = {
				ruling_party = market_liberal
				elections_allowed = no
			}
		add_popularity = {
			ideology = market_liberal
			popularity = 0.1
		}
		}
	option = {
		name = uga.2015.e #UFP-DP Coalition
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_SOCIALIST_COUP
				}
			}
		}
		trigger = {
		has_country_flag = UGA_toleratedunions
		has_country_flag = UGA_catholics_organise
		has_country_flag = UGA_angeredindians
		has_country_flag = UGA_oppositionformedcoalition
		}
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = no
			}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.1
		}
	}
	option = {
		name = uga.2015.f #The King Alone
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_SOCIALIST_COUP
				}
			}
		}
		trigger = {
			NOT = {
				has_completed_focus = UGA_thekampalacrisis
			}
		}
		if = {
			limit = {
				has_country_flag = UGA_alignedwiththekabaka
				}
			set_politics = {
				ruling_party = paternal_autocrat
				elections_allowed = no
			}
			add_popularity = {
				ideology = paternal_autocrat
				popularity = 0.1
			}	
		}
		else_if = {
			limit = {
				has_country_flag = UGA_alignedwiththelukiiko
			}
			set_politics = {
				ruling_party = social_conservative
				elections_allowed = no
			}
		add_popularity = {
			ideology = social_conservative
			popularity = 0.1
			}	
		}
	}	option = { #socialist coup
		name = uga.2015.g
		ai_chance = {
			factor = 100
		}
		trigger = {
			has_country_flag = UGA_crackeddownonunions
		}
		set_politics = {
			ruling_party = radical_socialist
			elections_allowed = no
		}
		add_popularity = {
			ideology = radical_socialist
			popularity = 0.15
		}
		set_party_name = { 
			ideology = paternal_autocrat 
			long_name = UGA_paternal_autocrat_party_long_democracy
			name = UGA_paternal_autocrat_party_democracy
		}
		set_party_name = { 
			ideology = authoritarian_democrat 
			long_name = UGA_authoritarian_democrat_party_long_democracy
			name = UGA_authoritarian_democrat_party_democracy
		}
		set_party_name = { 
			ideology = social_conservative 
			long_name = UGA_social_conservative_party_long_democracy
			name = UGA_social_conservative_party_democracy
		}
		set_party_name = { 
			ideology = market_liberal 
			long_name = UGA_market_liberal_party_long_democracy
			name = UGA_market_liberal_party_democracy
		}
		set_party_name = { 
			ideology = social_liberal 
			long_name = UGA_social_liberal_party_long_democracy
			name = UGA_social_liberal_party_democracy
		}
		set_party_name = { 
			ideology = social_democrat 
			long_name = UGA_social_democrat_party_long_democracy
			name = UGA_social_democrat_party_democracy
		}
		drop_cosmetic_tag = yes
		set_cosmetic_tag = UGA_REP
		remove_all_ministers = yes
		if = {
			limit = { is_subject = yes }
			overlord = {
				set_autonomy = { target = ROOT autonomous_state = autonomy_free }
			}
		}
		if = {
			limit = { is_in_faction = yes }
			leave_faction = yes
		}
		separate_peace_all_wars = yes
		GER = { remove_from_faction = UGA }
		MAF = {
			country_event = {
				id = uga.2027
				days = 2
			}
		}
	}
}
##MAF/GER response
country_event = { #LegCo Elections
	id = uga.20151
	title = uga.20151.t
	desc = uga.20151.d
	is_triggered_only = yes
	picture = GFX_report_event_legco

	option = {
		name = uga.20151.a #
		ai_chance = {
			factor = 50
		}
		trigger = {
			NOT = {
				tag = GER
			}
		}
	}
	option = {
		name = uga.20151.b #Intervention
		trigger = {
			tag = MAF
		}
		add_political_power = -25
		ai_chance = {
			factor = 5
			modifier = {
				factor = 0.1
				has_war = yes
			}
		}
		UGA = {
			overlord = {
				set_autonomy = {
					target = ROOT
					autonomous_state = autonomy_free
				}
			}
		ROOT = {
			separate_peace_all_wars = yes
		}
		hidden_effect = {
			if = {
				limit = { is_in_faction = yes }
				leave_faction = yes
				}
			}
		}
		declare_war_on = {
			target = UGA
			type = annex_everything
		}
	}
	option = {
		name = uga.20151.c #GER
		trigger = {
			tag = GER
		}
	}
}

country_event = { #Lost Counties Referendum
	id = uga.2016
	title = uga.2016.t
	desc = uga.2016.d
	is_triggered_only = yes
	picture = GFX_report_event_chiefs

	option = {
		name = uga.2016.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -20
		hidden_effect = {
				country_event = {
					id = uga.2017
					days = 22
				}
				MAF = {
					country_event = {
						id = uga.2017
						days = 22
					}
				}
				GER = {
					country_event = {
						id = uga.2017
						days = 22
					}
				}
			}
		}
	option = {
		name = uga.2016.b
		ai_chance = {
			factor = 0
		}
	}
}
country_event = { #Defeat for Buganda
	id = uga.2017
	title = uga.2017.t
	desc = uga.2017.d
	is_triggered_only = yes
	picture = GFX_report_event_MAF_highlands

	option = {
		name = uga.2017.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			add_stability = 0.04
			}
		add_political_power = 5
	}
}
country_event = { #Port Bell segregation fails
	id = uga.2018
	title = uga.2018.t
	desc = uga.2018.d
	is_triggered_only = yes
	picture = GFX_report_event_SAF_apartheid_2

	option = {
		name = uga.2018.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
			}
			add_political_power = -10
			add_stability = 0.02
		}
	}
}
country_event = { #Rift Valley
	id = uga.2019
	title = uga.2019.t
	desc = uga.2019.d
	picture = GFX_report_event_campaigning
	is_triggered_only = yes

	option = {
		name = uga.2019.a
		ai_chance = {
			factor = 100
		}
		add_war_support = 0.02
	}
}
country_event = { #Kagera
	id = uga.2020
	title = uga.2020.t
	desc = uga.2020.d
	picture = GFX_report_event_campaigning
	is_triggered_only = yes

	option = {
		name = uga.2020.a
		ai_chance = {
			factor = 100
		}
		add_war_support = 0.02
	}
}
country_event = { #unify Rift
	id = uga.2021
	title = uga.2021.t
	desc = uga.2021.d
	picture = GFX_report_event_campaigning
	is_triggered_only = yes

	option = {
		name = uga.2021.a
		ai_chance = {
			factor = 100
		}
		add_war_support = 0.02
	}
}
country_event = { #War for Equatoria
	id = uga.2022
	title = uga.2022.t
	desc = uga.2022.d
	picture = GFX_report_event_campaigning
	is_triggered_only = yes

	option = {
		name = uga.2022.a
		ai_chance = {
			factor = 100
		}
		add_war_support = 0.02
	}
}
country_event = { #Fight Ethiopia
	id = uga.2023
	title = uga.2023.t
	desc = uga.2023.d
	picture = GFX_report_event_campaigning
	is_triggered_only = yes

	option = {
		name = uga.2023.a
		ai_chance = {
			factor = 100
		}
		add_war_support = 0.02
	}
}
country_event = { #Trade links
	id = uga.2024
	title = uga.2024.t
	desc = uga.2024.d
	is_triggered_only = yes
	picture = GFX_report_event_port_rail
	option = {
		name = uga.2024.a
		ai_chance = {
			factor = 100
		}
	}
}
country_event = { #Africanise
	id = uga.2025
	title = uga.2025.t
	desc = uga.2025.d
	is_triggered_only = yes
	picture = GFX_report_event_judges

	option = {
		name = uga.2025.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 50
		increase_ruling_party_popularity_by_15 = yes
		add_stability = -0.02
	}
	option = {
		name = uga.2025.b
		ai_chance = {
			factor = 0
		}
	}
}
country_event = { #The Kampala Crisis
	id = uga.2026
	title = uga.2026.t
	desc = uga.2026.d
	is_triggered_only = yes
	picture = GFX_report_event_boma

#Uprising fails
	option = {
		name = uga.2026.a
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = UGA_government
					option = UGA_GOVERNMENT_MONARCH_COUP
				}
			}
		}
		hidden_effect = {
			news_event = {
				id = sharedafrika.17
				days = 1
			}
		}
		hidden_effect = {
			set_country_flag = Daudi_Cwa_II_dead
			remove_ideas = UGA_Daudi_Cwa_II_hog_pau
		}
	add_stability = -0.1
	add_political_power = 50
}
#Uprising succeeds
	option = {
		name = uga.2026.b
		ai_chance = {
			factor = 50
		}
		hidden_effect = {
			news_event = {
				id = sharedafrika.17
				days = 1
			}
		}
		complete_national_focus = UGA_anewagreement
			set_politics = {
				ruling_party = paternal_autocrat
				elections_allowed = no
			}
		drop_cosmetic_tag = yes
		remove_all_ministers = yes
		add_ideas = {
			UGA_Daudi_Cwa_II_hog_pau
			UGA_Yusuf_Lule_for_sco
			UGA_Yusuf_Lule_eco_sco
			UGA_Mustafa_Adrisi_sec_pau
		}
			if = {
				limit = { is_subject = yes }
				overlord = {
					set_autonomy = { target = ROOT autonomous_state = autonomy_free }
				}
			}
			if = {
				limit = { is_in_faction = yes }
				leave_faction = yes
			}
		GER = { remove_from_faction = UGA }
		separate_peace_all_wars = yes
		MAF = {
			country_event = {
				id = uga.2027
				days = 2
			}
		}
		hidden_effect = {
			set_party_name = { 
				ideology = paternal_autocrat 
				long_name = UGA_paternal_autocrat_party_long_democracy
				name = UGA_paternal_autocrat_party_democracy
			}
			set_party_name = { 
				ideology = authoritarian_democrat 
				long_name = UGA_authoritarian_democrat_party_long_democracy
				name = UGA_authoritarian_democrat_party_democracy
			}
			set_party_name = { 
				ideology = social_conservative 
				long_name = UGA_social_conservative_party_long_democracy
				name = UGA_social_conservative_party_democracy
			}
			set_party_name = { 
				ideology = market_liberal 
				long_name = UGA_market_liberal_party_long_democracy
				name = UGA_market_liberal_party_democracy
			}
			set_party_name = { 
				ideology = social_liberal 
				long_name = UGA_social_liberal_party_long_democracy
				name = UGA_social_liberal_party_democracy
			}
			set_party_name = { 
				ideology = social_democrat 
				long_name = UGA_social_democrat_party_long_democracy
				name = UGA_social_democrat_party_democracy
			}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = pataut_christian_democracy_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = prussian_constitutionalism_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = soccon_prussian_constitutionalism_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = liberal_conservative_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = centrist_subtype
		}
		create_country_leader = {
			name = "Daudi Cwa II"
			picture = "gfx/leaders/UGA/Portrait_Uganda_Daudi_Cwa_II.png"
			expire = "1.1.1"
			ideology = socdem_progressive_conservatism_subtype
		}
			}
		add_stability = -0.1
		add_political_power = 50
	}
}
country_event = { #Mittelafrikan invasion
	id = uga.2027
	title = uga.2027.t
	desc = uga.2027.d

	is_triggered_only = yes
	picture = GFX_report_event_boma

	option = { #invade
		name = uga.2027.a
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				has_war_with = PAF
			}
		}
		declare_war_on = {
			target = UGA
			type = annex_everything
		}
		add_political_power = -20

	}
	option = {
		name = uga.2027.b
		ai_chance = {
			factor = 50
		}
	}
}
country_event = { #Constitution
	id = uga.2028
	title = uga.2028.t
	desc = uga.2028.d
	is_triggered_only = yes
	picture = GFX_report_event_hospital

	option = {
		name = uga.2028.a
		ai_chance = {
			factor = 100
		}
		add_stability = 0.1
	}
}
country_event = { #Establish a one party Bagandan state?
	id = uga.2029
	title = uga.2029.t
	desc = uga.2029.d
	is_triggered_only = yes
	picture = GFX_report_event_MAF_return

	option = {
		name = uga.2029.a #One party Baganda state
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			hidden_effect = {
				set_country_flag = UGA_absolutemonarchy
				}
				increase_ruling_party_popularity_by_3 = yes
			}
			add_political_power = 10
	}
}
country_event = { #One party UPC Ugandan state
	id = uga.2030
	title = uga.2030.t
	desc = uga.2030.d
	is_triggered_only = yes
	picture = GFX_report_event_MAF_onstage

	option = {
		name = uga.2030.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
			}
			hidden_effect = {
				set_country_flag = UGA_onepartyucp
			}
			increase_ruling_party_popularity_by_3 = yes
			create_country_leader = {
				name = "Ignatius K. Musaazi"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Musaazi.png"
				expire = "1.1.1"
				ideology = authdem_republican_panafricanism_subtype
			}
		}
		add_political_power = 10
	}
}
country_event = { #Death of the King
	id = uga.2031
	immediate = {log = "[GetDateText]: [Root.GetName]: event uga.2031"}
	title = uga.2031.t
	desc = uga.2031.d
	picture = GFX_report_event_legco2

	is_triggered_only = yes
	
	option = {
		name = uga.2031.a
		country_event = {
			id = uga.2032
			days = 30
		}
		if = {
			limit = {
				tag = UGA
				}
				hidden_effect = {
					set_country_flag = Daudi_Cwa_II_dead
				}
			}
		if = {
			limit = {
				tag = UGA
					has_country_leader = {
						name = "Daudi Cwa II"
						ruling_only = yes
					}	
				}
			kill_country_leader = yes
			hidden_effect = {
				remove_ideas = UGA_Daudi_Cwa_II_hog_pau
				add_ideas = UGA_The_Lukiiko_hog_pau
			}
			create_country_leader = {
				name = "The Lukiiko"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
				expire = "1.1.1"
				ideology = pataut_christian_democracy_subtype
			}
			create_country_leader = {
				name = "The Lukiiko"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
				expire = "1.1.1"
				ideology = prussian_constitutionalism_subtype
			}
			create_country_leader = {
				name = "The Lukiiko"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
				expire = "1.1.1"
				ideology = christian_democracy_subtype
			}
			create_country_leader = {
				name = "The Lukiiko"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
				expire = "1.1.1"
				ideology = liberal_conservative_subtype
			}
			create_country_leader = {
				name = "The Lukiiko"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
				expire = "1.1.1"
				ideology = centrist_subtype
			}
			create_country_leader = {
				name = "The Lukiiko"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Regency_Council.png"
				expire = "1.1.1"
				ideology = socdem_progressive_conservatism_subtype
			}
		}
	}
}

country_event = { #Coronation of Mutesa II
	id = uga.2032
	immediate = {log = "[GetDateText]: [Root.GetName]: event uga20324"}
	title = uga.2032.t
	desc = uga.2032.d
	picture = GFX_report_event_legco2
	
	is_triggered_only = yes
	 
	option = {
		name = uga.2032.a
		add_political_power = 5
		if = {
			limit = {
				tag = UGA
					has_country_leader = {
						name = "Daudi Cwa II"
						ruling_only = yes
					}	
				}
			create_country_leader = {
				name = "Mutesa II"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Mutesa.png"
				expire = "1.1.1"
				ideology = pataut_christian_democracy_subtype
			}
			create_country_leader = {
				name = "Mutesa II"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Mutesa.png"
				expire = "1.1.1"
				ideology = prussian_constitutionalism_subtype
			}
			create_country_leader = {
				name = "Mutesa II"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Mutesa.png"
				expire = "1.1.1"
				ideology = soccon_prussian_constitutionalism_subtype
			}
			create_country_leader = {
				name = "Mutesa II"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Mutesa.png"
				expire = "1.1.1"
				ideology = liberal_conservative_subtype
			}
			create_country_leader = {
				name = "Mutesa II"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Mutesa.png"
				expire = "1.1.1"
				ideology = centrist_subtype
			}
			create_country_leader = {
				name = "Mutesa II"
				picture = "gfx/leaders/UGA/Portrait_Uganda_Mutesa.png"
				expire = "1.1.1"
				ideology = socdem_progressive_conservatism_subtype
			}
			remove_ideas = UGA_The_Lukiiko_hog_pau
			add_ideas = UGA_Mutesa_II_hog_pau
		}
	}
	
}

country_event = { #Elgonyi
	id = uga.2033
	title = uga.2033.t
	desc = uga.2033.d
	picture = GFX_report_event_lake
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2033.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -1
	}
}
country_event = { #The Masaka Conversions
	id = uga.2034
	title = uga.2034.t
	desc = uga.2034.d
	picture = GFX_report_event_missions
	is_triggered_only = yes
	
		trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	option = {
		name = uga.2034.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				add_stability = 0.02
			}
		add_political_power = 3
	}
}
country_event = { #Episcopal Consecration of Joseph Kiwanuka
	id = uga.2035
	title = uga.2035.t
	desc = uga.2035.d
	is_triggered_only = yes
	picture = GFX_report_event_church_lagos	

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

	option = {
		name = uga.2035.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				add_stability = 0.02
			}
			add_political_power = 3
	}
}
country_event = { #Visit to Entebbe
	id = uga.2036
	title = uga.2036.t
	desc = uga.2036.d
	picture = GFX_report_event_UGA_cohen_mutesa	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2036.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
		add_stability = 0.02
		}
		add_political_power = 5
	}
}
country_event = { #Kings College Budo
	id = uga.2037
	title = uga.2037.t
	desc = uga.2037.d
	picture = GFX_report_event_praia
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2037.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				add_political_power = -10
		}
	}
}
country_event = { #Canonisation demands
	id = uga.2038
	title = uga.2038.t
	desc = uga.2038.d
	picture = GFX_report_event_elites	
	is_triggered_only = yes
	
		trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = uga.2038.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				add_political_power = 10
		}
	}
}
country_event = { #Copper mines in Bakonjo and Baamba land
	id = uga.2039
	title = uga.2039.t
	desc = uga.2039.d
	picture = GFX_report_event_lake	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2039.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				add_stability = 0.02
		}
	}
}
country_event = { #Mountain of the Moon
	id = uga.2040
	title = uga.2040.t
	desc = uga.2040.d
	picture = GFX_report_event_africamountain
	is_triggered_only = yes
	
		trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = uga.2040.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
				increase_ruling_party_popularity_by_2 = yes
			}
			add_political_power = 10
	}
}
country_event = { #Jewish Cabal
	id = uga.2041
	title = uga.2041.t
	desc = uga.2041.d
	picture = GFX_OTT_Rabbi_Baghdad
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2041.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			add_stability = 0.02
			}
			if = {
				limit = {
					tag = MAF
				}
			add_political_power = 10
		}
	}
}
country_event = { #Assassination of Kagwa
	id = uga.2042
	title = uga.2042.t
	desc = uga.2042.d
	picture = GFX_report_event_kagwa
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2042.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			add_political_power = 20
			add_stability = -0.02
			}
			if = {
				limit = {
				NOT = {
					tag = UGA
					}
				}
			add_political_power = 5
			}
		}

	}

country_event = { #Sir Apolo Kagwa Vetoes German Measures
	id = uga.2043
	title = uga.2043.t
	desc = uga.2043.d
	picture = GFX_report_event_kagwa
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2043.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = UGA
				}
			add_political_power = -10
			}
			if = {
				limit = {
				NOT = {
					tag = UGA
					}
				}
			add_political_power = 5
	}
}
}

country_event = { #The Maruzi Affair
	id = uga.2044
	title = uga.2044.t
	desc = uga.2044.d
	picture = GFX_report_event_boat
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2044.a
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_stability = -0.01
		add_political_power = -10
		}
	option = {
		name = uga.2044.b
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
				}
		}
	}
}
country_event = { #The Return of Iburahim Awich
	id = uga.2045
	title = uga.2045.t
	desc = uga.2045.d
	picture = GFX_report_event_urundi_mountain
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2045.a
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_war_support = -0.01
	}
	option = {
		name = uga.2045.b
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
				}
		}
	}
}
country_event = { #The Bwamba Road Saga
	id = uga.2046
	title = uga.2046.t
	desc = uga.2046.d
	picture = GFX_report_event_terraces
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2046.a
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_political_power = -20
	}
	option = {
		name = uga.2046.b
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
				}
		}
	}
}
country_event = { #Suppression of the Balamaki Movement
	id = uga.2047
	title = uga.2047.t
	desc = uga.2047.d
	picture = GFX_report_event_usumbura
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2047.a
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_stability = 0.02
	}
	option = {
		name = uga.2047.b
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = {
				tag = UGA
				}
		}
	}
}
country_event = { #The Rise of Buganda
	id = uga.2048
	title = uga.2048.t
	desc = uga.2048.d
	picture = GFX_report_event_kivu
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		548 = { is_controlled_by_ROOT_or_ally = yes } #Uganda
	}
	#minor_flavor = yes

	option = {
		name = uga.2048.a
		ai_chance = {
			factor = 100
		}
		trigger = {
			tag = UGA
		}
		add_political_power = 10
	}
	option = {
		name = uga.2048.b
		ai_chance = {
			factor = 100
		}
			trigger = {
			NOT = {
				tag = UGA
				}
			}
		}
	}
country_event = { #Intervene against the Mau Mau
	id = uga.2049
	title = uga.2049.t
	desc = uga.2049.d
	picture = GFX_report_event_urundi_mountain
	is_triggered_only = yes

	option = {
		name = uga.2049.a
		ai_chance = {
			factor = 15
			modifier = {
				factor = 0
				tag = MAF
			}
			modifier = {
				factor = 1000
				KIK = {
					is_ai = no
				}
			}
		}
		ROOT = {
			declare_war_on = {
				target = KIK
				type = annex_everything
			}
		}
		add_political_power = -25
	}
	option = {
		name = uga.2049.b
		ai_chance = {
			factor = 85
			modifier = {
				factor = 1000
				KEN = {
					is_ai = no
				}
			}
		}
	}
}