
###########################
#Sud-Kasai Clique Events
###########################
#By IratePirate
###########################

add_namespace = kasai
add_namespace = kasainew

#NEW KASAI
country_event = {#kasai Start. Ready? Go!
	id = kasainew.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event kasainew.1" }
	title = kasainew.1.t
	desc = kasainew.1.d
	picture = GFX_report_event_askari

	is_triggered_only = yes

	option = {
		name = kasainew.1.a
		ai_chance = {
			factor = 100
		}
	trigger = {
			NOT = {
				tag = KAS
				tag = ORT
				tag = UMN
			}
		}
		if = {
			limit = {
				tag = MAF
				}
			add_stability = -0.01
		}
	}
	option = {
		name = kasainew.1.b
		ai_chance = {
			factor = 100
		}
	trigger = {
		OR = {
			tag = KAS
			tag = ORT
			tag = UMN
			}
		}
		if = {
			limit = {
				tag = KAS
			}
		add_ideas = AUTH_political_instability_idea
		}
		}
	}
	
country_event = {#Chaos in Wissmanburg
	id = kasainew.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event kasainew.2" }
	title = kasainew.2.t
	desc = kasainew.2.d
	picture = GFX_report_event_sena

	is_triggered_only = yes

	option = {#republicans win
		name = kasainew.2.a
		ai_chance = {
			factor = 100
		}
	trigger = {
			tag = KAS
		}	
		complete_national_focus = KAS_thecliqueendures
		remove_ideas = AUTH_political_instability_idea
		}
		
	option = {#royalists win
		name = kasainew.2.b
		ai_chance = {
			factor = 100
		}
	trigger = {
			tag = KAS
		}
		complete_national_focus = KAS_thethinveneer
		hidden_effect = {
			set_cosmetic_tag = KAS_LUB
		}
		remove_ideas = AUTH_political_instability_idea	
	}
		
	option = {#other responses
		name = kasainew.2.c
		ai_chance = {
			factor = 100
		}
	trigger = {
			NOT = {
				tag = KAS
				tag = PAF
				tag = POR
			}
		}
		add_political_power = 5

		}
	option = {#other responses - PAF
		name = kasainew.2.e
		ai_chance = {
			factor = 100
		}
	trigger = {
			OR = {
				tag = PAF
				tag = POR
			}
		}
		add_war_support = 0.01

		}
	}
	
country_event = {#Election
	id = kasainew.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event kasainew.3" }
	title = kasainew.3.t
	desc = kasainew.3.d
	picture = GFX_report_event_street

	is_triggered_only = yes

	option = {#Kalonji wins
		name = kasainew.3.a
		ai_chance = {
			factor = 100
		}
		complete_national_focus = KAS_Kalonji_Victory
		if = {
			limit = {
				has_completed_focus = KAS_thediamonddogs
				}
			set_politics = {
				ruling_party = social_democrat
				elections_allowed = no
			}
			add_popularity = {
				ideology = social_democrat
				popularity = 0.25
			}
			create_country_leader = {
				name = "Edmond Mukanya Mulenda Kalonji"
				desc = "POLITICS_KALONJI_DESC"
				picture = "gfx/leaders/KIV/Portrait_KIV_Isaac_Kalonji.png"
				expire = "1.1.1"
				ideology = syndie_social_democrat_subtype
			}
		}
		if = {
			limit = {
				has_completed_focus = KAS_preparelubarestoration
				}
			set_politics = {
				ruling_party = radical_socialist
				elections_allowed = no
			}
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.25
			}
			create_country_leader = {
				name = "Edmond Mukanya Mulenda Kalonji"
				desc = "POLITICS_KALONJI_DESC"
				picture = "gfx/leaders/KIV/Portrait_KIV_Isaac_Kalonji.png"
				expire = "1.1.1"
				ideology = monsoc_subtype
			}
		}
	}
	option = {#Sendwe wins
		name = kasainew.3.b
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				has_completed_focus = KAS_thediamonddogs
				}
			set_politics = {
				ruling_party = social_conservative
				elections_allowed = no
			}
			add_popularity = {
				ideology = social_conservative
				popularity = 0.1
			}
			create_country_leader = {
				name = "Jason Sendwe"
				desc = "POLITICS_JASON_SENDWE_DESC"
				picture = "gfx/leaders/KAS/Portrait_KAS_Jason_Sendwe.png"
				expire = "1.1.1"
				ideology = soccon_regionalism_subtype
			}
		}
		if = {
			limit = {
				has_completed_focus = KAS_preparelubarestoration
				}
			set_politics = {
				ruling_party = authoritarian_democrat
				elections_allowed = no
			}
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = 0.25
			}
			create_country_leader = {
				name = "Jason I"
				desc = "POLITICS_JASON_SENDWE_DESC"
				picture = "gfx/leaders/KAS/Portrait_KAS_Jason_Sendwe.png"
				expire = "1.1.1"
				ideology = authoritarian_liberalism_subtype
			}
			create_country_leader = {
				name = "Jason I"
				desc = "POLITICS_JASON_SENDWE_DESC"
				picture = "gfx/leaders/KAS/Portrait_KAS_Jason_Sendwe.png"
				expire = "1.1.1"
				ideology = elective_monarchy_subtype
			}
		}
		complete_national_focus = KAS_Sendwe_Victory
		}
	}

###########
country_event = {#kalonji ideology picker at end of tree
	id = kasai.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event kasai.8" }
	title = kasai.8.t
	desc = kasai.8.d
	picture = GFX_report_event_texaf

	is_triggered_only = yes
	
	option = {
		name = kasai.8.a #no change
		ai_chance = {
			factor = 100
		}
	}
	option = {
		name = kasai.8.b #go left and join syndies?
		ai_chance = {
			factor = 100
		}
	trigger = {
			country_exists = INT
		}
			set_politics = {
				ruling_party = syndicalist
				elections_allowed = no
			}
			add_popularity = {
				ideology = syndicalist
				popularity = 0.25
			}
			create_country_leader = {
				name = "Edmond Mukanya Mulenda Kalonji"
				desc = "POLITICS_KALONJI_DESC"
				picture = "gfx/leaders/KIV/Portrait_KIV_Isaac_Kalonji.png"
				expire = "1.1.1"
				ideology = african_syndicalism_subtype
			}
		if = {
			limit = {
				country_exists = INT
				}
				country_event = sharedafrika.10
			}
		}
	option = {
		name = kasai.8.c
		ai_chance = {
			factor = 100
		}
			set_politics = {
				ruling_party = paternal_autocrat
				elections_allowed = no
			}
			add_popularity = {
				ideology = paternal_autocrat
				popularity = 0.25
			}
			create_country_leader = {
				name = "Edmond Mukanya Mulenda Kalonji"
				desc = "POLITICS_KALONJI_DESC"
				picture = "gfx/leaders/KIV/Portrait_KIV_Isaac_Kalonji.png"
				expire = "1.1.1"
				ideology = pataut_right_syndicalism_subtype
			}
		}
	}
country_event = {#sendwe ideology picker at end of tree
	id = kasai.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event kasai.9" }
	title = kasai.9.t
	desc = kasai.9.d
	picture = GFX_report_event_texaf

	is_triggered_only = yes
	
	option = {
		name = kasai.9.a #no change
		ai_chance = {
			factor = 100
		}
	}
	option = {
		name = kasai.9.b #
		ai_chance = {
			factor = 100
		}
			set_politics = {
				ruling_party = social_liberal
				elections_allowed = no
			}
			add_popularity = {
				ideology = social_liberal
				popularity = 0.1
			}
			create_country_leader = {
				name = "Jason Sendwe"
				desc = "POLITICS_JASON_SENDWE_DESC"
				picture = "gfx/leaders/KAS/Portrait_KAS_Jason_Sendwe.png"
				expire = "1.1.1"
				ideology = regionalism_subtype
			}
		}
	option = {
		name = kasai.9.c
		ai_chance = {
			factor = 100
		}
			set_politics = {
				ruling_party = authoritarian_democrat
				elections_allowed = no
			}
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = 0.1
			}
			create_country_leader = {
				name = "Jason Sendwe"
				desc = "POLITICS_JASON_SENDWE_DESC"
				picture = "gfx/leaders/KAS/Portrait_KAS_Jason_Sendwe.png"
				expire = "1.1.1"
				ideology = progressive_conservatism_subtype
			}
		}
	}