###########################
# Mittelafrikan Events
###########################

add_namespace = mafdebt
add_namespace = mafNKR
add_namespace = mafreform
add_namespace = mafsettlers

country_event = { #No money for you
	id = mafdebt.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafdebt.1"}
	title = mafdebt.1.t
	desc = mafdebt.1.d
	picture = GFX_report_event_ostafrika

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = mafdebt.1.a
		add_ideas = MAF_Debt
		if = {
			limit = {
				is_ai = yes
			}
		add_political_power = -50
		}
		if = {
			limit = {
				is_ai = no
			}
		add_political_power = -75
		}
		custom_effect_tooltip = debttooltip
			hidden_effect = {
				country_event = {
					id = mafNKR.2
					days = 3
				}
			}
		}
	}

country_event = { #we have money again yay
	id = mafdebt.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafdebt.2"}
	title = mafdebt.2.t
	desc = mafdebt.2.d
	picture = GFX_report_event_disconto

	fire_only_once = yes
	
trigger = {
		tag = MAF
		has_political_power > 0
		has_idea = MAF_debt
	}
	mean_time_to_happen = {
		days = 45
	}

	option = {
		name = mafdebt.2.a
		remove_ideas = MAF_Debt
		add_stability = 0.02
		add_war_support = 0.03
		}
	}
		
country_event = { #time to begin spending
	id = mafNKR.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafNKR.1"}
	title = mafNKR.1.t
	desc = mafNKR.1.d
	picture = GFX_report_event_housing

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = mafNKR.1.a
		add_stability = 0.10
		random_owned_state = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}
		
	option = {
		name = mafNKR.1.b
		add_stability = 0.10
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	}
	
	option = {
		name = mafNKR.1.c
		add_stability = 0.10
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
}
		
country_event = { #Thyssen Consolidates power
	id = mafNKR.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafNKR.2"}
	title = mafNKR.2.t
	desc = mafNKR.2.d
	picture = GFX_report_event_MAF_fritzthyssen

	fire_only_once = yes
	
	is_triggered_only = yes
	
trigger = {
	tag = MAF
	has_government = paternal_autocrat
	has_idea = MAF_Debt
	
	}

	option = {
		name = mafNKR.2.a
		remove_ideas = MAF_MEFO
		add_political_power = 100
		
			}
		}
		
country_event = { #Dealing with the Europeans - French
	id = mafsettlers.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.1"}
	title = mafsettlers.1.t
	desc = mafsettlers.1.d
	picture = GFX_report_event_MAF_mahiwa

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name =  mafsettlers.1.a
		remove_ideas = MAF_French_Settlers
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.1.b
		remove_ideas = MAF_French_Settlers
		add_political_power = -100
		
			}
	
		}
		
country_event = { #Dealing with the Europeans - Belgians
	id = mafsettlers.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.2"}
	title = mafsettlers.2.t
	desc = mafsettlers.2.d
	picture = GFX_report_event_MAF_askari2

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name =  mafsettlers.2.a
		MAF = {
				country_event = mafsettlers.4
			}
		
			}
	option = {
		name =  mafsettlers.2.b
		remove_ideas = MAF_Belgian_Investors
		add_political_power = -100
		
			}
	
		}

country_event = { #Dealing with the Europeans - British
	id = mafsettlers.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.3"}
	title = mafsettlers.3.t
	desc = mafsettlers.3.d
	picture = GFX_report_event_MAF_mahiwa

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name =  mafsettlers.3.a
		remove_ideas = MAF_British_Protectorates
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.3.b
		remove_ideas = MAF_British_Protectorates
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.3.c
		remove_ideas = MAF_British_Protectorates
		add_political_power = -100
		
			}
		}
		
country_event = { #Negotiating annexation with the Congo
	id = mafsettlers.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.4"}
	title = mafsettlers.4.t
	desc = mafsettlers.4.d
	picture = GFX_report_event_MAF_officers

	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name =  mafsettlers.4.a
		remove_ideas = MAF_Belgian_Investors
		add_political_power = -100
		
			}
	option = {
	name =  mafsettlers.4.b
		COG = {
				country_event = mafsettlers.5
			}
		
			}
	}
	
country_event = { #Congo gets word of MAF's plans
	id = mafsettlers.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.5"}
	title = mafsettlers.5.t
	desc = mafsettlers.5.d
	picture = GFX_report_event_MAF_delegation
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name =  mafsettlers.5.a
		MAF = {
		country_event = mafsettlers.6
		}
			}
	
	option = {
		name =  mafsettlers.5.b
		add_political_power = -100
		MAF = {
		country_event = mafsettlers.7
		}
		}
		
	}
	
country_event = { #Congo says yes
	id = mafsettlers.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.6"}
	title = mafsettlers.6.t
	desc = mafsettlers.6.d
	picture = GFX_report_event_BEL_Belgium_Liberated
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name =  mafsettlers.6.a
		remove_ideas = MAF_Belgian_Investors
		annex_country = {
				target = COG
				transfer_troops = yes
			}
			MAF = {
			change_tag_from = COG
		}
		
			}
	}

country_event = { #Congo says no and pays us off instead
	id = mafsettlers.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.7"}
	title = mafsettlers.7.t
	desc = mafsettlers.7.d
	picture = GFX_report_event_MAF_return
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name =  mafsettlers.7.a
		remove_ideas = MAF_Belgian_Investors
		add_political_power = 100
			}
}

country_event = { #Dealing with the Europeans - French (NKR)
	id = mafsettlers.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.8"}
	title = mafsettlers.8.t
	desc = mafsettlers.8.d
	picture = GFX_report_event_MAF_mahiwa

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name =  mafsettlers.8.a
		remove_ideas = MAF_French_Settlers
		add_political_power = -100
		
			}
		}
		
country_event = { #Dealing with the Europeans - Belgians (NKR)
	id = mafsettlers.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.9"}
	title = mafsettlers.9.t
	desc = mafsettlers.9.d
	picture = GFX_report_event_MAF_askari2

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name =  mafsettlers.9.a
		remove_ideas = MAF_Belgian_Investors
		add_political_power = -100
			}
		
	option = {
		name =  mafsettlers.9.b
		MAF = {
			country_event = mafsettlers.4
		}
	}
}

country_event = { #Dealing with the Europeans - British (NKR)
	id = mafsettlers.10
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.10"}
	title = mafsettlers.10.t
	desc = mafsettlers.10.d
	picture = GFX_report_event_MAF_mahiwa

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name =  mafsettlers.10.a
		remove_ideas = MAF_British_Protectorates
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.10.b
		remove_ideas = MAF_British_Protectorates
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.10.c
		remove_ideas = MAF_British_Protectorates
		add_political_power = -100
		
			}
		}
		
country_event = { #Dealing with the Europeans - Mercs (NKR)
	id = mafsettlers.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.11"}
	title = mafsettlers.11.t
	desc = mafsettlers.11.d
	picture = GFX_report_event_MAF_mahiwa

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name =  mafsettlers.11.a
		remove_ideas = MAF_Mercenary_Pilots
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.11.b
		remove_ideas = MAF_Mercenary_Pilots
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.11.c
		remove_ideas = MAF_Mercenary_Pilots
		add_political_power = -100
		
			}
		}

country_event = { #Dealing with the Europeans - Mercs (DKG)
	id = mafsettlers.12
	immediate = {log = "[GetDateText]: [Root.GetName]: event mafsettlers.12"}
	title = mafsettlers.12.t
	desc = mafsettlers.12.d
	picture = GFX_report_event_MAF_mahiwa

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name =  mafsettlers.12.a
		remove_ideas = MAF_Mercenary_Pilots
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.12.b
		remove_ideas = MAF_Mercenary_Pilots
		add_political_power = -100
		
			}
	option = {
		name =  mafsettlers.12.c
		remove_ideas = MAF_Mercenary_Pilots
		add_political_power = -100
		
			}
		}
