﻿
###########################
# Rwanda Events
###########################
# By IratePirate
###########################

add_namespace = ruanda

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

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

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

country_event = {
	id = ruanda.2 # History of the kingdom
	title = ruanda.2.t
	desc = ruanda.2.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.2" }
	picture = GFX_report_event_map_rwanda
	
	is_triggered_only = yes

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

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

country_event = {
	id = ruanda.3 # Completion of the Kigalibahn Railway
	title = ruanda.3.t
	desc = ruanda.3.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.3" }
	picture = GFX_report_event_map_rwanda
	
	is_triggered_only = yes

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

	option = {
		name = ruanda.3.a
		ai_chance = {
			factor = 100
		}
	}
}

country_event = {
	id = ruanda.4 # Later history of the kingdom
	title = ruanda.4.t
	desc = ruanda.4.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.4" }
	picture = GFX_report_event_ruanda
	
	is_triggered_only = yes

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

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

country_event = {
	id = ruanda.5 # Weltkrieg in Ruanda
	title = ruanda.5.t
	desc = ruanda.5.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.5" }
	picture = GFX_report_event_terraces
	
	is_triggered_only = yes

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

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

country_event = {
	id = ruanda.6 # Post-War Ruanda
	title = ruanda.6.t
	desc = ruanda.6.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.6" }
	picture = GFX_report_event_map_rwanda
	
	is_triggered_only = yes

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

	option = {
		name = ruanda.6.a
		ai_chance = {
			factor = 0
		}
		add_political_power = 20
	}
}

country_event = {
	id = ruanda.7 # The Spread of Swahili in Ruanda
	title = ruanda.7.t
	desc = ruanda.7.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.7" }
	picture = GFX_report_event_terraces
	
	is_triggered_only = yes

trigger = { is_ai = no 869 = { is_controlled_by_ROOT_or_ally = yes } } #minor_flavor = yes

	option = {
		name = ruanda.7.a
		ai_chance = {
			factor = 0
		}
		if = {
			limit = {
				owns_state = 869 # Ruanda
			}
			add_stability = -0.02
			add_war_support = 0.02
			add_political_power = 20
		}
	}
}

country_event = {
	id = ruanda.8 # The Dar Government Proposes a New Settlement
	title = ruanda.8.t
	desc = ruanda.8.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.8" }
	picture = GFX_report_event_terraces
	
	is_triggered_only = yes

	option = {
		name = ruanda.8.a # refuse this offer
		ai_chance = {
			factor = 80
		}
		add_political_power = 30
		add_war_support = -0.02
		BRD = {
			country_event = {
				id = ruanda.9
				days = 2
			}
		}
	}
	option = {
		name = ruanda.8.b
		ai_chance = {
			factor = 20
		}
		RWA = { 
			get_current_government_type = yes
		}
		MAF = {
			set_autonomy = {
				target = RWA
				autonomous_state = kx_colored_puppet
			}
		}
		RWA = { 
			restore_previous_government_type = yes
		}
		RWA = {
			load_focus_tree = {
				tree = ruanda_urundi_focus
				keep_completed = yes
				copy_completed_from = BRD
			}
		}
		918 = {
			transfer_state_to = MAF # Kagera
		}
		BRD = {
			set_politics = {
				ruling_party = authoritarian_democrat
			}
			drop_cosmetic_tag = yes
			create_country_leader = {
				name = "Mwambutsa IV"
				picture = "gfx/leaders/BRD/Portrait_Burundi_Mwambutsa_Fourth.png"
				expire = "1.1.1"
				ideology = prussian_constitutionalism_subtype
			}
		}
		BRD = { 
			get_current_government_type = yes
		}
		MAF = {
			set_autonomy = {
				target = BRD
				autonomous_state = kx_colored_puppet
			}
		}
		BRD = { 
			restore_previous_government_type = yes
		}
	}
}

country_event = {
	id = ruanda.9 # Ruanda refuses...
	title = ruanda.9.t
	desc = ruanda.9.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.9" }
	picture = GFX_report_event_terraces
	
	is_triggered_only = yes

	option = {
		name = ruanda.9.a # The fools.
		ai_chance = {
			factor = 100
		}
		BRD = {
			declare_war_on = {
				target = RWA
				type = annex_everything
			}
		}
		add_war_support = 0.01
		hidden_effect = {
			RWA = {
				country_event = {
					id = kongocrisis.69
					days = 240
				}
			}
		}
	}
	option = {
		name = ruanda.9.b
		ai_chance = {
			factor = 0
		}
	}
}

country_event = {
	id = ruanda.10 # Publication of 'The Victorious Kalinga'
	title = ruanda.10.t
	desc = ruanda.10.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.10" }
	picture = GFX_report_event_terraces
	
	is_triggered_only = yes
	
trigger = { is_ai = no 869 = { is_controlled_by_ROOT_or_ally = yes } } #minor_flavor = yes

	option = {
		name = ruanda.10.a #
		ai_chance = {
			factor = 100
		}
	}
}

country_event = {
	id = ruanda.11 #  Disputes with Kabgayi Mission
	title = ruanda.11.t
	desc = ruanda.11.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.11" }
	picture = GFX_report_event_terraces
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = ruanda.11.a #
		ai_chance = {
			factor = 100
		}
		add_political_power = -10
	}
}

country_event = {
	id = ruanda.12 # Central-Afrikanische Seengesellschaft
	title = ruanda.12.t
	desc = ruanda.12.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.12" }
	picture = GFX_report_event_boat
	
	is_triggered_only = yes
	
trigger = { is_ai = no 869 = { is_controlled_by_ROOT_or_ally = yes } } #minor_flavor = yes

	option = {
		name = ruanda.12.a #
		ai_chance = {
			factor = 100
		}
		add_political_power = -5
	}
}

country_event = {
	id = ruanda.13 # Deutsche-Nyanza Schiffahrtsgesellschaft
	title = ruanda.13.t
	desc = ruanda.13.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.13" }
	picture = GFX_report_event_chauncy
	
	is_triggered_only = yes
	
trigger = { is_ai = no 869 = { is_controlled_by_ROOT_or_ally = yes } } #minor_flavor = yes

	option = {
		name = ruanda.13.a #
		ai_chance = {
			factor = 100
		}
	}
}

country_event = {
	id = ruanda.14 # The Usumbura Government
	title = ruanda.14.t
	desc = ruanda.14.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.14" }
	picture = GFX_report_event_terraces
	
	is_triggered_only = yes

	option = {
		name = ruanda.14.a #
		ai_chance = {
			factor = 100
		}
	}
}

country_event = {
	id = ruanda.15 # Yuhi V Musinga, the Mwami of Ruanda
	title = ruanda.15.t
	desc = ruanda.15.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.15" }
	picture = GFX_report_event_ruanda
	
	is_triggered_only = yes
	
trigger = { is_ai = no 869 = { is_controlled_by_ROOT_or_ally = yes } } #minor_flavor = yes

	option = {
		name = ruanda.15.a #
		ai_chance = {
			factor = 100
		}
		add_political_power = 5
	}
}

country_event = {
	id = ruanda.16 # Settle the Gizaka Dispute
	title = ruanda.16.t
	desc = ruanda.16.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.16" }
	picture = GFX_report_event_ruanda
	
	is_triggered_only = yes
	
trigger = { is_ai = no 869 = { is_controlled_by_ROOT_or_ally = yes } } #minor_flavor = yes

	option = {
		name = ruanda.16.a #
		ai_chance = {
			factor = 100
		}
		add_political_power = 10
	}
}

country_event = {
	id = ruanda.17 # Clemens Kiiza
	title = ruanda.17.t
	desc = ruanda.17.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.17" }
	picture = GFX_report_event_sena
	
	is_triggered_only = yes
	
trigger = { is_ai = no 869 = { is_controlled_by_ROOT_or_ally = yes } } #minor_flavor = yes

	option = {
		name = ruanda.17.a #
		ai_chance = {
			factor = 100
		}
		add_political_power = 5
	}
}

country_event = {
	id = ruanda.18 # If MAF takes over Ruanda
	title = ruanda.18.t
	desc = ruanda.18.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.18" }
	picture = GFX_report_event_map_rwanda
	
	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
	trigger = {
		tag = MAF
		owns_state = 869
		country_exists = BRD
		AND = {
			BRD = {
				has_cosmetic_tag = BRD_GERMAN
			}
		}
	}

	option = {
		name = ruanda.18.a # hand back to BRD
		ai_chance = {
			factor = 100
		}
		BRD = { transfer_state = 869 }
		add_stability = 0.01
		add_political_power = 20
	}
	
	option = {
		name = ruanda.18.b # abolish BRD entirely
		ai_chance = {
			factor = 50
		}
		trigger = {
			BRD = {
				is_ai = yes
			}
		}
		add_stability = -0.02
		add_political_power = -20
		hidden_effect = {
			BRD = {
				set_politics = {
					ruling_party = authoritarian_democrat
				}
				drop_cosmetic_tag = yes
				create_country_leader = {
					name = "Mwambutsa IV"
					picture = "gfx/leaders/BRD/Portrait_Burundi_Mwambutsa_Fourth.png"
					expire = "1.1.1"
					ideology = prussian_constitutionalism_subtype
				}
			}
		}
		annex_country = {
			target = BRD
			transfer_troops = yes
		}
	}
}

country_event = {
	id = ruanda.19 # The Ruandan Muganura
	title = ruanda.19.t
	desc = ruanda.19.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.19" }
	picture = GFX_report_event_ruanda
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
		has_war = no
		has_socialist_government = no
	}
	#minor_flavor = yes

	option = {
		name = ruanda.19.a #
		ai_chance = {
			factor = 100
		}
		add_political_power = 10
		if = {
			limit = {
				tag = BRD
				}
			country_event = {
				id = ruanda.19
				days = 365
			}
		}
		if = {
			limit = {
				tag = RWA
				}
			country_event = {
				id = ruanda.19
				days = 365
			}
		}
	}
}

country_event = {
	id = ruanda.20 # The Tutsi-Hutu Divide
	title = ruanda.20.t
	desc = ruanda.20.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.20" }
	picture = GFX_report_event_hillstation
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

	option = {
		name = ruanda.20.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_stability = -0.01
		}
	}
}

country_event = {
	id = ruanda.21 # Establishment of Nyakibanda Seminary
	title = ruanda.21.t
	desc = ruanda.21.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.21" }
	picture = GFX_report_event_seminary
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

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

country_event = {
	id = ruanda.22 # The Rwidegembya Affair
	title = ruanda.22.t
	desc = ruanda.22.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.22" }
	picture = GFX_report_event_ruanda
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

	option = {
		name = ruanda.22.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_stability = -0.01
		}
	}
}

country_event = {
	id = ruanda.23 # The Nyabarongo Scandal
	title = ruanda.23.t
	desc = ruanda.23.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.23" }
	picture = GFX_report_event_rural
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

	option = {
		name = ruanda.23.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_stability = -0.01
		}
	}
}

country_event = {
	id = ruanda.24 # The Inshongore Split
	title = ruanda.24.t
	desc = ruanda.24.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.24" }
	picture = GFX_report_event_lake
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

	option = {
		name = ruanda.24.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_political_power = -30
		}
	}
}

country_event = {
	id = ruanda.25 # The Nyanza Debates
	title = ruanda.25.t
	desc = ruanda.25.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.25" }
	picture = GFX_report_event_seminary
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

	option = {
		name = ruanda.25.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_political_power = -10
		}
	}
}

country_event = {
	id = ruanda.26 #The Kayitakibwa Affair
	title = ruanda.26.t
	desc = ruanda.26.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.26" }
	picture = GFX_report_event_urundi_mountain
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

	option = {
		name = ruanda.26.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_political_power = -10
		}
	}
}

country_event = {
	id = ruanda.27 #The Rise of Ruandan Honey
	title = ruanda.27.t
	desc = ruanda.27.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.27" }
	picture = GFX_report_event_hives
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

	option = {
		name = ruanda.27.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_political_power = -10
		}
	}
}

country_event = {
	id = ruanda.28 #MAF intervene?
	title = ruanda.28.t
	desc = ruanda.28.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.28" }
	picture = GFX_report_event_askari
	
	is_triggered_only = yes
	
	trigger = {
		RWA = {
			owns_state = 869
			is_subject = no
		}
	}
	option = {
		name = ruanda.28.a #
		ai_chance = {
			factor = 100
		}
		declare_war_on = {
			target = RWA
			type = annex_everything
		}
	}
	option = {
		name = ruanda.28.b #
		ai_chance = {
			factor = 0
		}
	}
}

country_event = {
	id = ruanda.29 #Rise of the East African Revival
	title = ruanda.29.t
	desc = ruanda.29.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event ruanda.29" }
	picture = GFX_report_event_hives
	
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		869 = { is_controlled_by_ROOT_or_ally = yes } # Ruanda
	}
	#minor_flavor = yes

	option = {
		name = ruanda.29.a #
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				tag = BRD
				}
			add_political_power = -10
		}
	}
}