
###########################
#Burundi Events
###########################
#By IratePirate
###########################

add_namespace = burundi

country_event = {
	id = burundi.1 #Intro to burundi
	title = burundi.1.t
	desc = burundi.1.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.1" }
	picture = GFX_report_event_usumbura2
	
	is_triggered_only = yes

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

	option = {
		name = burundi.1.a
		ai_chance = {
			factor = 0
		}
		country_event = burundi.2
	}
	option = {
		name = burundi.1.b
		ai_chance = {
			factor = 100
		}
	}
}

country_event = {
	id = burundi.2 #The Early History of Burundi
	title = burundi.2.t
	desc = burundi.2.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.2" }
	picture = GFX_report_event_gitega
	
	is_triggered_only = yes

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

	option = {
		name = burundi.2.a
		ai_chance = {
			factor = 0
		}
		country_event = burundi.4
	}
	option = {
		name = burundi.2.b
		ai_chance = {
			factor = 100
		}
	}
}

country_event = {
	id = burundi.3 #Famine in Burundi
	title = burundi.3.t
	desc = burundi.3.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.3" }
	picture = GFX_report_event_nurse
	
	is_triggered_only = yes

trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Burundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.3.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				owns_state = 870 #Burundi
			}
			add_stability = -0.01
			add_war_support = -0.01
			add_political_power = -20
		}
	}
}

country_event = {
	id = burundi.4 #The German Colonisation
	title = burundi.4.t
	desc = burundi.4.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.4" }
	picture = GFX_report_event_mwami
	
	is_triggered_only = yes

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

	option = {
		name = burundi.4.a
		ai_chance = {
			factor = 0
		}
		country_event = burundi.5
	}
	option = {
		name = burundi.4.b
		ai_chance = {
			factor = 100
		}
	}
}

country_event = {
	id = burundi.5 #The Weltkrieg in Burundi
	title = burundi.5.t
	desc = burundi.5.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.5" }
	picture = GFX_report_event_tabora
	
	is_triggered_only = yes

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

	option = {
		name = burundi.5.a
		ai_chance = {
			factor = 0
		}
		country_event = burundi.6
	}
	option = {
		name = burundi.5.b
		ai_chance = {
			factor = 100
		}
	}
}

country_event = {
	id = burundi.6 #Post-Weltkrieg Burundi
	title = burundi.6.t
	desc = burundi.6.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.6" }
	picture = GFX_report_event_kivu
	
	is_triggered_only = yes

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

	option = {
		name = burundi.6.a
		ai_chance = {
			factor = 0
		}
		add_political_power = 5
	}
}

country_event = {
	id = burundi.7 #Mwambutsa IV Bangiricenge, Mwami of Urundi
	title = burundi.7.t
	desc = burundi.7.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.7" }
	picture = GFX_report_event_mwambutsa
	
	is_triggered_only = yes

trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.7.a
		ai_chance = {
			factor = 0
		}
		add_political_power = 5
	}
}

country_event = {
	id = burundi.8 #Carl Schmitt
	title = burundi.8.t
	desc = burundi.8.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.8" }
	picture = GFX_report_event_schmitt
	
	is_triggered_only = yes

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

	option = {
		name = burundi.8.a
		ai_chance = {
			factor = 0
		}
		add_political_power = 5
	}
}

country_event = {
	id = burundi.9 #Compulsory Coffee Schemes
	title = burundi.9.t
	desc = burundi.9.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.9" }
	picture = GFX_report_event_urundi_mountain
	
	is_triggered_only = yes

trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.9.a
		ai_chance = {
			factor = 0
		}
		if = {
			limit = {
				owns_state = 870
			}
			add_stability = -0.02
		}
		add_political_power = -10
	}
}

country_event = {
	id = burundi.10 #Negotiations Over Kagera
	title = burundi.10.t
	desc = burundi.10.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.10" }
	picture = GFX_report_event_kivu
	
	is_triggered_only = yes

trigger = {
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}

	option = {
		name = burundi.10.a
		ai_chance = {
			factor = 0
		}
		if = {
			limit = {
					country_exists = MAF
				}
			MAF = {
				country_event = {
					id = burundi.11
					days = 4
				}
			}
		}
	}
}

country_event = {
	id = burundi.11 #Negotiations Over Kagera - MAF
	title = burundi.11.t
	desc = burundi.11.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.11" }
	picture = GFX_report_event_kivu
	
	is_triggered_only = yes

trigger = {
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}

	option = {
		name = burundi.11.a #yes
		trigger = {
			BRD = {
				owns_state = 869
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 10000
				BRD = {
					is_ai = no
				}
			}
		}
		add_stability = 0.03
		add_political_power = 30
		if = {
			limit = {
				country_exists = BRD
				}
			BRD = {
				country_event = {
					id = burundi.12
					days = 4
				}
			}
		}
	}
	option = {
		name = burundi.11.b #no
		ai_chance = {
			factor = 0
		}
		if = {
			limit = {
				country_exists = BRD
				}
			BRD = {
				country_event = {
					id = burundi.13
					days = 4
				}
			}
		}
	}
}

country_event = {
	id = burundi.12 #MAF agreed
	title = burundi.12.t
	desc = burundi.12.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.12" }
	picture = GFX_report_event_urundi_mountain
	
	is_triggered_only = yes

trigger = {
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}

	option = {
		name = burundi.12.a #yes
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				MAF = {
					owns_state = 918
					}
				}
			transfer_state = 918
		}
	}
}

country_event = {
	id = burundi.13 #MAF refused
	title = burundi.13.t
	desc = burundi.13.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.13" }
	picture = GFX_report_event_urundi_mountain
	
	is_triggered_only = yes

trigger = {
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}

	option = {
		name = burundi.13.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -10
	}
}

country_event = {
	id = burundi.14 #Baptising Mwambutsa
	title = burundi.14.t
	desc = burundi.14.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.14" }
	picture = GFX_report_event_mwambutsa
	
	is_triggered_only = yes

trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.14.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 10
	}
}

country_event = {
	id = burundi.15 #Fury Over Lutheran Conversions in Urundi
	title = burundi.15.t
	desc = burundi.15.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.15" }
	picture = GFX_report_event_lake
	
	is_triggered_only = yes

trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.15.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
				add_stability = -0.03
			}
		add_political_power = -10
	}
}

country_event = {
	id = burundi.16 #F.X Lwamgira and the German-Kiziba Alliance
	title = burundi.16.t
	desc = burundi.16.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.16" }
	picture = GFX_report_event_KIV_tribalwarrior
	
	is_triggered_only = yes

trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.16.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
				add_stability = 0.01
			}
		add_political_power = 5
	}
}

country_event = {
	id = burundi.17 #Legacy of the Bukara Massacre
	title = burundi.17.t
	desc = burundi.17.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.17" }
	picture = GFX_report_event_KIK_storm
	
	is_triggered_only = yes

	trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.17.a
		ai_chance = {
			factor = 100
		}
		add_political_power = -5
	}
}

country_event = {
	id = burundi.18 #Rumours of Slavery in Ruanda and Urundi
	title = burundi.18.t
	desc = burundi.18.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.18" }
	picture = GFX_report_event_slaves
	
	is_triggered_only = yes

trigger = {
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
		country_exists = MAF
	}

	option = {
		name = burundi.18.a
		ai_chance = {
			factor = 100
		}
		add_stability = -0.01
		if = {
			limit = {
				OR = {
					tag = BRD
					tag = RWA
				}
			}
			add_ideas = BRD_slavery_rumours
		}
	}
}

country_event = {
	id = burundi.19 #Reform Ostafrika?
	title = burundi.19.t
	desc = burundi.19.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.19" }
	picture = GFX_report_event_march
	
	is_triggered_only = yes

	trigger = {
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}

	option = {
		name = burundi.19.a
		ai_chance = {
			factor = 100
		}
		add_state_core = 1032
		add_state_core = 918
		add_state_core = 965
		add_state_core = 546
		add_state_core = 899
		hidden_effect = {
			set_cosmetic_tag = TZN_GER_BUT_NOT_GOERING
		}
		if = {
			limit = {
				country_exists = TZN
				}
				BRD = { 
				    declare_war_on = { 
					    target = TZN 
						type = annex_everything 
					} 
				}
			}
		if = {
			limit = {
				country_exists = MAF
				}
				BRD = { 
				    declare_war_on = { 
					    target = MAF 
						type = annex_everything 
					} 
				}
			}
		}
	option = {
		name = burundi.19.b
		ai_chance = {
			factor = 0
		}
	}
}

country_event = {
	id = burundi.20 #Muganuro - Burundi
	title = burundi.20.t
	desc = burundi.20.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.20" }
	picture = GFX_report_event_mwami
	
	is_triggered_only = yes

	trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
		has_war = no
		has_socialist_government = no
	}
	#minor_flavor = yes

	option = {
		name = burundi.20.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 10
		if = {
			limit = {
				tag = BRD
				}
			country_event = {
				id = burundi.20
				days = 365
			}
		}
	}
}

country_event = {
	id = burundi.21 #The Rutovu Pyramid
	title = burundi.21.t
	desc = burundi.21.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.21" }
	picture = GFX_report_event_pyramid
	
	is_triggered_only = yes

	trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.21.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 5
	}
}

country_event = {
	id = burundi.22 #End of the Inamujandi Revolt
	title = burundi.22.t
	desc = burundi.22.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.22" }
	picture = GFX_report_event_troops
	
	is_triggered_only = yes

	trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.22.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_stability = 0.02
			add_war_support = 0.02
			}
		}
	}

country_event = {
	id = burundi.23 #Anti-Greek Boycotts in Usumbura
	title = burundi.23.t
	desc = burundi.23.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.23" }
	picture = GFX_report_event_greeks
	
	is_triggered_only = yes

	trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.23.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_stability = -0.01
			add_political_power = -20
		}
	}
}

country_event = {
	id = burundi.24 #Factional Strife in the Gitega Court
	title = burundi.24.t
	desc = burundi.24.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.24" }
	picture = GFX_report_event_usumbura
	
	is_triggered_only = yes

	trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.24.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_stability = -0.01
		}
	}
}

country_event = {
	id = burundi.25 #Black Monday in Ruanda and Urundi
	title = burundi.25.t
	desc = burundi.25.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event burundi.25" }
	picture = GFX_report_event_usumbura2
	
	is_triggered_only = yes

	trigger = {
		is_ai = no
		870 = { is_controlled_by_ROOT_or_ally = yes } #Urundi
	}
	#minor_flavor = yes

	option = {
		name = burundi.25.a
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_stability = -0.07
			add_political_power = -150
			add_war_support = -0.05
		}
	}
}