###########################
# Mittelafrikan Flavour Events
###########################


add_namespace = mittelfla

country_event = {
	id = mittelfla.1 # Askaris Promoted in Tanga
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.1"}
	title = mittelfla.1.t
	desc = mittelfla.1.d
	picture = GFX_report_event_MAF_mahiwa
	
	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		MAF = {
			is_in_faction_with = GER
		}
	}

	option = {
		name = mittelfla.1.a
		add_war_support = 0.02
		army_experience = 5
		add_political_power = 20
	}
}

country_event = {
	id = mittelfla.2 # New Plantation Opened in Wilhelmstal
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.2"}
	title = mittelfla.2.t
	desc = mittelfla.2.d
	picture = GFX_report_event_picking

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		MAF = {
			is_in_faction_with = GER
		}
	}
	
	option = {
		name = mittelfla.2.a
		if = {
			limit = {
				tag = MAF
				}
		add_one_random_civilian_factory = yes
		}
		add_political_power = 10
	}
}

# Mercenaries Arrive in Dar
country_event = {
	id = mittelfla.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.3"}
	title = mittelfla.3.t
	desc = mittelfla.3.d
	picture = GFX_report_event_simson
	
	is_triggered_only = yes
	
	#minor_flavor = yes

trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		MAF = {
			is_in_faction_with = GER
		}
	}

	option = {
		name = mittelfla.3.a
		if = {
			limit = {
				tag = MAF
				}
		army_experience = 10
		add_war_support = 0.04
		add_stability = -0.01
		}
	}
}

country_event = {
	id = mittelfla.4 #Christmas
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.4"}
	title = mittelfla.4.t
	desc = mittelfla.4.d
	picture = GFX_report_event_square

	is_triggered_only = yes 
	
	#minor_flavor = yes
trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		OR = {
			tag = MAF
			is_subject_of = MAF
		}
	}

	option = {
		name = mittelfla.4.a
		add_political_power = 5
		hidden_effect = {
			country_event = {
				days = 365
				id = mittelfla.400
			}
		}
	}
}

country_event = {
	id = mittelfla.400 #Christmas
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event mittelfla.4"
		hidden_effect = {
			country_event = {
				days = 365
				id = mittelfla.400
			}
		}
	}
	#minor_flavor = yes
trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		OR = {
			tag = MAF
			is_subject_of = MAF
		}
	}
	title = mittelfla.4.t
	desc = mittelfla.4.d
	picture = GFX_report_event_square

	is_triggered_only = yes

	option = {
		name = mittelfla.4.a
		add_political_power = 5
	}
}

country_event = {
	id = mittelfla.5 # Politzeitruppen Exercises in Ostafrika
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.5"}
	title = mittelfla.5.t
	desc = mittelfla.5.d
	picture = GFX_report_event_troops
	
	is_triggered_only = yes
	
	#minor_flavor = yes

trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		MAF = {
			is_in_faction_with = GER
		}
	}

	option = {
		name = mittelfla.5.a
		if = {
			limit = {
				tag = MAF
				}
		add_stability = 0.01
		add_war_support = 0.01
		}
		army_experience = 5
	}
}

country_event = {
	id = mittelfla.6 # Farmers Cooperate with our Policy
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.6"}
	title = mittelfla.6.t
	desc = mittelfla.6.d
	picture = GFX_report_event_hillstation

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		MAF = {
			is_in_faction_with = GER
		}
	}

	option = {
		name = mittelfla.6.a
		if = {
			limit = {
				tag = MAF
				}
		add_stability = 0.01
		}
		add_political_power = 10
	}
}

country_event = {
	id = mittelfla.7 # Finnish Missionaries Arrive in Kagera
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.7"}
	title = mittelfla.7.t
	desc = mittelfla.7.d
	picture = GFX_report_event_missions

	is_triggered_only = yes
	
	#minor_flavor = yes

trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		MAF = {
			is_in_faction_with = GER
		}
	}

	option = {
		name = mittelfla.7.a
		if = {
			limit = {
				tag = MAF
				}
			add_stability = 0.01
		}
		add_political_power = 10
	}
}

country_event = {
	id = mittelfla.8 # Anti-Syndicalist Propaganda Campaign Successful
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.8"}
	title = mittelfla.8.t
	desc = mittelfla.8.d
	picture = GFX_report_event_footie

	is_triggered_only = yes
	
	#minor_flavor = yes

trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		MAF = {
			is_in_faction_with = GER
		}
	}

	option = {
		name = mittelfla.8.a
		if = {
			limit = {
				tag = MAF
				}
		add_war_support = 0.02
		}
	}
}

country_event = {
	id = mittelfla.9 #Mittelafrikanischer Zeitung Hits Sales Record
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.9"}
	title = mittelfla.9.t
	desc = mittelfla.9.d
	picture = GFX_report_event_street

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		MAF = {
			is_in_faction_with = GER
		}
	}

	option = {
		name = mittelfla.9.a
		if = {
			limit = {
				tag = MAF
				}
			add_stability = 0.01
		}
	}
}

country_event = {
	id = mittelfla.10 #Schutztruppen on Patrol near Kilimandscharo
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.10"}
	title = mittelfla.10.t
	desc = mittelfla.10.d
	picture = GFX_report_event_troops

	is_triggered_only = yes
	
	#minor_flavor = yes
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
		is_in_faction_with = MAF
		MAF = {
			is_in_faction_with = GER
		}
	}

	option = {
		name = mittelfla.10.a
		add_political_power = 5
	}
}

country_event = { #Cape to Cairo completed!
	id = mittelfla.1002
	immediate = {log = "[GetDateText]: [Root.GetName]: event mittelfla.10"}
	title = mittelfla.1002.t
	desc = mittelfla.1002.d
	picture = GFX_report_event_MAF_cape_to_cairo

	is_triggered_only = yes

	option = {
		name = mittelfla.1002.a
		if = {
			limit = {
				tag = MAF
				}
		build_railway = {
			level = 3
			start_province = 12589
			target_province = 7011
		}
		add_stability = 0.03
		add_war_support = 0.03
		add_political_power = 30
		hidden_effect = {
			news_event = {
				id = mittelfla.1003
			}
		}
		}
	}
}

news_event = { #Cape to Cairo
	id = mittelfla.1003
	title = mittelfla.1003.t
	desc = mittelfla.1003.d
	picture = GFX_news_event_MAF_cape_to_cairo_victoria_falls

	major = yes
	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}


	option = { 
		name = mittelfla.1003.a

	}
}

country_event = { #Ideology Picker (Kenyatta)
	id = mittelfla.1004
	immediate = { log = "[GetDateText]: [Root.GetName]: event som.mittelfla.1004" }
	title = mittelfla.1004.t
	desc = mittelfla.1004.d
	picture = GFX_report_event_MAF_kenyatta

	is_triggered_only = yes
	
	option = {
		name = mittelfla.1004.a
		set_country_leader_ideology = socdem_colonial_govt_subtype
	}
	option = {
		name = mittelfla.1004.b
		set_country_leader_ideology = socdem_left_panafricanism_subtype
	}
	option = {
		name = mittelfla.1004.c
		set_country_leader_ideology = socdem_kleptocracy_subtype
	}
	option = {
		name = mittelfla.1004.e
		set_country_leader_ideology = popular_patriotism_subtype
	}
	option = {
		name = mittelfla.1004.f
		set_country_leader_ideology = socdem_clientelism_subtype
	}
	option = {
		name = mittelfla.1004.g
		set_country_leader_ideology = socdem_left_nationalism_subtype
	}
	option = {
		name = mittelfla.1004.n
		country_event = {
			id = mittelfla.1006
		}
	}
}

country_event = { #Ideology Picker (Bell)
	id = mittelfla.1005
	immediate = { log = "[GetDateText]: [Root.GetName]: event som.mittelfla.1005" }
	title = mittelfla.1005.t
	desc = mittelfla.1005.d
	picture = GFX_report_event_MAF_african_kaiser

	is_triggered_only = yes
	
	option = {
		name = mittelfla.1005.a
		set_country_leader_ideology = soccon_colonial_govt_subtype
	}
	option = {
		name = mittelfla.1005.b
		set_country_leader_ideology = soccon_republican_panafricanism_subtype
	}
	option = {
		name = mittelfla.1005.c
		set_country_leader_ideology = soccon_kimbanguism_subtype
	}
	option = {
		name = mittelfla.1005.e
		set_country_leader_ideology = conservative_populism_subtype
	}
	option = {
		name = mittelfla.1005.f
		set_country_leader_ideology = national_conservative_subtype
	}
	option = {
		name = mittelfla.1005.g
		set_country_leader_ideology = paternal_socialism_subtype
	}
	option = {
		name = mittelfla.1005.k
		country_event = {
			id = mittelfla.1007
		}
	}
}

country_event = { #Ideology Picker part 2 (Kenyatta)
	id = mittelfla.1006
	immediate = { log = "[GetDateText]: [Root.GetName]: event som.mittelfla.1006" }
	title = mittelfla.1004.t
	desc = mittelfla.1004.d
	picture = GFX_report_event_MAF_kenyatta

	is_triggered_only = yes
	
	option = {
		name = mittelfla.1004.h
		set_country_leader_ideology = socdem_democratic_socialism_subtype
	}
	option = {
		name = mittelfla.1004.i
		set_country_leader_ideology = socdem_tribal_councilism_subtype
	}
	option = {
		name = mittelfla.1004.j
		set_country_leader_ideology = indigenous_communitarianism_subtype
	}
	option = {
		name = mittelfla.1004.k
		set_politics = {
			ruling_party = radical_socialist
		}
		set_country_leader_ideology = radsoc_left_panafricanism_subtype
		add_popularity = { 
			ideology = radical_socialist
			popularity = 0.15
		}
	}
	option = {
		name = mittelfla.1004.l
		set_politics = {
			ruling_party = radical_socialist
		}
		set_country_leader_ideology = radsoc_revisionist_marxism_subtype
		add_popularity = { 
			ideology = radical_socialist
			popularity = 0.15
		}
	}
	option = {
		name = mittelfla.1004.m
		set_politics = {
			ruling_party = radical_socialist
		}
		set_country_leader_ideology = radsoc_colonial_govt_subtype
		add_popularity = { 
			ideology = radical_socialist
			popularity = 0.15
		}
	}
	option = {
		name = mittelfla.1004.n
		country_event = {
			id = mittelfla.1004
		}
	}
}

country_event = { #Ideology Picker part 2 (Bell)
	id = mittelfla.1007
	immediate = { log = "[GetDateText]: [Root.GetName]: event som.mittelfla.1005" }
	title = mittelfla.1005.t
	desc = mittelfla.1005.d
	picture = GFX_report_event_MAF_african_kaiser

	is_triggered_only = yes
	
	option = {
		name = mittelfla.1005.h
		set_country_leader_ideology = soccon_oligarchy_subtype
	}
	option = {
		name = mittelfla.1005.i
		set_country_leader_ideology = soccon_tribal_councilism_subtype
	}
	option = {
		name = mittelfla.1005.j
		set_country_leader_ideology = soccon_tribal_chiefdom_subtype
	}
	option = {
		name = mittelfla.1005.k
		country_event = {
			id = mittelfla.1005
		}
	}
}