﻿################################
### Hungarian Country Events ###
################################

add_namespace = ww_congo
add_namespace = congo_independence_struggle

# Our overlord Belgium allocates additional resources to nvestment into us - event for Congo
country_event = {
	id = ww_congo.1
	title = ww_congo.1.t
	desc = ww_congo.1.desc
	picture = GFX_report_event_generic_construction_site
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# A boon to our industrial capacity
	option = { 
		name = ww_congo.1.a
		ai_chance = {
			base = 100
		}

		add_opinion_modifier = {
			target = FROM
			modifier = small_increase
		}		

	}
}

# HIDDEN Societe Belgique effects - event for Congo
country_event = {
	id = ww_congo.2
	title = ww_congo.2.t
	desc = ww_congo.2.desc
	picture = GFX_report_event_generic_construction_site

	hidden = yes
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# ok
	option = { 
		name = ww_congo.2.a
		ai_chance = {
			base = 100
		}

		IF = {
			limit = {
				
				NOT = {
					has_dynamic_modifier = {
						modifier = COG_belgian_congo_colonial_dynamic_modifier
					}	
				}
				
			}
			
			add_dynamic_modifier = { 
				modifier = COG_belgian_congo_colonial_dynamic_modifier
			}
			
		}

		custom_effect_tooltip = modify_COG_belgian_congo_colonial_dynamic_modifier_tt
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_consumer_goods_factor = -0.100 tooltip = consumer_goods_factor_tt }
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_production_speed_buildings_factor = 0.500 tooltip = production_speed_buildings_factor_tt }		

	}
}

# HIDDEN Cheap Labour effects - event for Congo
country_event = {
	id = ww_congo.3
	title = ww_congo.3.t
	desc = ww_congo.3.desc
	picture = GFX_report_event_generic_construction_site

	hidden = yes
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# ok
	option = { 
		name = ww_congo.3.a
		ai_chance = {
			base = 100
		}

		custom_effect_tooltip = modify_COG_belgian_congo_colonial_dynamic_modifier_tt
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_local_resources_factor = 1.000 tooltip = local_resources_factor_tt }
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_stability_factor = -0.05 tooltip = stability_factor_tt }	

	}
}

# Raoul van Overstraeten returns to Belgium - event for Congo upon gaining independence
country_event = {
	id = ww_congo.4
	title = ww_congo.4.t
	desc = ww_congo.4.desc
	picture = GFX_report_event_bul_military_parade_vidin
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Begone Imperialist!
	option = { 
		name = ww_congo.4.a
		ai_chance = {
			base = 100
		}

		every_possible_country = {
			limit = {
				has_character = BEL_raoul_van_overstraeten
			}
			set_nationality = {
			    target_country = BEL
			    character = BEL_raoul_van_overstraeten
			}	
		}		

	}
}

# Pierre Ryckmans wants to increase Food Production in the Congo - event for BEL
country_event = {
	id = ww_congo.5
	title = ww_congo.5.t
	desc = ww_congo.5.desc
	picture = GFX_report_event_bul_making_bricks_for_school
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# That would decrease profits!
	option = { 
		name = ww_congo.5.a
		ai_chance = {
			base = 60
		}

		COG = {
			country_event = {
				id = ww_congo.6
				hours = 2
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {
			COG = {
				add_stability = -0.1

				add_autonomy_score = { 
					value = 100
					localization = CONGO_refused_increased_food_production
				}
			}
		}

	}

	# If he thinks it's for the best...
	option = { 
		name = ww_congo.5.b
		ai_chance = {
			base = 40
		}

		COG = {
			country_event = {
				id = ww_congo.7
				hours = 2
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {
			COG = {
				add_timed_idea = {
					idea = COG_redirected_resources_to_food_production
					days = 360
				}	

				add_autonomy_score = { 
					value = -100
					localization = CONGO_accepted_increased_food_production
				}
			}
		}

	}
}

# The [BEL.GetAdjective]s Reject our Food Production Scheme - event for COG
country_event = {
	id = ww_congo.6
	title = ww_congo.6.t
	desc = ww_congo.6.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# It was to be expected
	option = { 
		name = ww_congo.6.a
		ai_chance = {
			base = 100
		}

		add_stability = -0.1

		add_autonomy_score = { 
			value = 100
			localization = CONGO_refused_increased_food_production
		}

	}
}

# The [BEL.GetAdjective]s Approve our Food Production Scheme - event for COG
country_event = {
	id = ww_congo.7
	title = ww_congo.7.t
	desc = ww_congo.7.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Great!
	option = { 
		name = ww_congo.7.a
		ai_chance = {
			base = 100
		}

		add_timed_idea = {
			idea = COG_redirected_resources_to_food_production
			days = 360
		}	

		add_autonomy_score = { 
			value = -100
			localization = CONGO_accepted_increased_food_production
		}

	}
}

# A New Middle Class Emerging - event for Congo a while after having done Chefs Coutumiers
country_event = {
	id = ww_congo.8
	title = ww_congo.8.t
	desc = ww_congo.8.desc
	picture = GFX_report_event_hungary_parliament
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# We will have to see how it develops
	option = { 
		name = ww_congo.8.a
		ai_chance = {
			base = 100
		}

		custom_effect_tooltip = modify_COG_belgian_congo_colonial_dynamic_modifier_tt
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_political_power_factor = 0.500 tooltip = political_power_factor_tt }
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_autonomy_gain_global_factor = -0.1 tooltip = autonomy_gain_global_factor_tt }

		custom_effect_tooltip = generic_skip_one_line_tt

		custom_effect_tooltip = evolue_will_start_attempting_to_enter_politics_tt
		hidden_effect = {
			country_event = {
				id = ww_congo.9
				days = 35
				random_days = 70
			}
		}

	}
}

# Évolué Begin to Enter Congolese Politics - event for Congo a while after having done Chefs Coutumiers and also having gotten the first Évolué event
country_event = {
	id = ww_congo.9
	title = ww_congo.9.t
	desc = ww_congo.9.desc
	picture = GFX_report_event_hungary_parliament
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# These men will surely lead our nation to independence
	option = { 
		name = ww_congo.9.a
		ai_chance = {
			base = 100
		}

		custom_effect_tooltip = modify_COG_belgian_congo_colonial_dynamic_modifier_tt
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_political_power_factor = -0.05 tooltip = political_power_factor_tt }
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_democratic_drift = 0.05 tooltip = democratic_drift_tt }
		add_to_variable = { BEL.COG_belgian_congo_colonial_dynamic_modifier_autonomy_gain_global_factor = 2.000 tooltip = autonomy_gain_global_factor_tt }

		custom_effect_tooltip = generic_skip_one_line_tt
		
		custom_effect_tooltip = evolue_have_entered_politics
		hidden_effect = {
			set_global_flag = COG_evolue_in_politics
		}

	}
}

# Congo demands Middle Congo
country_event = {
	id = ww_congo.10
	title = ww_congo.10.t
	desc = ww_congo.10.d
	picture = GFX_report_event_COG_force_publique_marching_to_war
	
	is_triggered_only = yes
	
	option = { # Accept demands
		name = ww_congo.10.a
		ai_chance = {
			base = 30 
			modifier = {
				factor = 50
				has_war = yes
				any_enemy_country = {
					strength_ratio = { 
						tag = ROOT 
						ratio < 0.4
					}
				}
			}
			modifier = {
				factor = 50
				16 = { NOT = { is_controlled_by = FRA } } #Paris	
			}
		} 
		COG = {
			country_event = { days = 5 id = ww_congo.11 }
		}
	}
	option = { # Refuse
		name = ww_congo.10.b
		ai_chance = { 
			base = 15 
		}
		COG = {
			country_event = { days = 5 id = ww_congo.12 }
		}
	}
}

# French Accept Demands
country_event = {
	id = ww_congo.11
	title = ww_congo.11.t
	desc = ww_congo.11.d
	picture = GFX_report_event_COG_force_publique_capturing_area
	
	is_triggered_only = yes
	
	option = {
		name = ww_congo.11.a
		ai_chance = {
			base = 100
		}

		772 = {
			add_core_of = ROOT
		}

		custom_effect_tooltip = generic_skip_one_line_tt
		
		COG = {
			IF = {
				limit = {
					772 = {
						CONTROLLER = {
							OR = {
								original_tag = FRA
								is_subject_of = FRA
								is_subject_of = VIC
							}
						}
					}
				}
				transfer_state = 772
			}
		}

	}
}

# French Reject Demands
country_event = {
	id = ww_congo.12
	title = ww_congo.12.t
	desc = ww_congo.12.d
	picture = GFX_report_event_COG_force_publique_marching_to_war
	
	is_triggered_only = yes
	
	option = {
		name = ww_congo.12.a
		ai_chance = {
			base = 100
		}

		772 = {
			add_core_of = ROOT
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		every_country = {
			limit = {
				OR = {
					AND = {
						original_tag = BEL
						has_subject = COG
					}
					AND = {
						original_tag = COG
						is_subject_of = BEL
					}
				}
			}
			create_wargoal = {
				type = take_state
				target = FROM
				generator = {
					772
				}
			}
		}

	}
}

# Congo demands Integration
country_event = {
	id = ww_congo.13
	title = ww_congo.13.t
	desc = ww_congo.13.d
	picture = GFX_report_event_COG_force_publique_marching_to_war
	
	is_triggered_only = yes
	
	option = { # Accept demands
		name = ww_congo.13.a
		ai_chance = {
			base = 75
		} 
		COG = {
			country_event = { days = 5 id = ww_congo.14 }
		}
	}
	option = { # Refuse
		name = ww_congo.13.b
		ai_chance = { 
			base = 25 
		}
		COG = {
			country_event = { days = 5 id = ww_congo.15 }
		}
	}
}

# Congo Brazzaville Accept Demands
country_event = {
	id = ww_congo.14
	title = ww_congo.14.t
	desc = ww_congo.14.d
	picture = GFX_report_event_COG_force_publique_marching_to_war
	
	is_triggered_only = yes
	
	option = {
		name = ww_congo.14.a
		ai_chance = {
			base = 100
		}
		
		772 = {
			add_core_of = ROOT
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		annex_country = {
			target = FROM
			transfer_troops = yes
		}	

	}
}

# Congo Brazzaville Reject Demands
country_event = {
	id = ww_congo.15
	title = ww_congo.15.t
	desc = ww_congo.15.d
	picture = GFX_report_event_COG_force_publique_marching_to_war
	
	is_triggered_only = yes
	
	option = {
		name = ww_congo.15.a
		ai_chance = {
			base = 100
		}

		772 = {
			add_core_of = ROOT
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		create_wargoal = {
			type = annex_everything
			target = FROM
			generator = {
				772
			}
		}

	}
}

# Unification of Latin Africa - news event for everybody
news_event = {
	id = ww_congo.16
	title = ww_congo.16.t
	desc = ww_congo.16.d
	picture = GFX_news_event_COG_force_publique_marching_to_war
	
	major = yes
	
	is_triggered_only = yes
	
	# They are building up for something... (for everyone except FROM)
	option = {
		name = ww_congo.16.a
		ai_chance = {
			base = 100
		}
		trigger = {
			NOT = {
				tag = FROM
			}
		}
	}

	# This will secure our future! (for FROM)
	option = {
		name = ww_congo.16.b
		ai_chance = {
			base = 100
		}
		trigger = { tag = FROM }
	}
} 

# Congolese Independence Granted - news event for everybody
news_event = {
	id = ww_congo.17
	title = ww_congo.17.t
	desc = ww_congo.17.d
	picture = GFX_news_event_journalists_speech
	
	major = yes
	
	is_triggered_only = yes
	
	# The Balance of Power in Africa has been shifted (for everyone except BEL or COG)
	option = {
		name = ww_congo.17.a
		ai_chance = {
			base = 100
		}
		trigger = {
			NOT = {
				OR = {
					original_tag = COG
					original_tag = BEL
				}
			}
		}
	}

	# It is time to prove that we are two equal and independent countries (for COG)
	option = {
		name = ww_congo.17.b
		ai_chance = {
			base = 100
		}
		trigger = { original_tag = COG }
	}

	# Perhaps it was for the best... (for BEL)
	option = {
		name = ww_congo.17.c
		ai_chance = {
			base = 100
		}
		trigger = { original_tag = BEL }
	}
} 

# Congolese Uprising Crushed - news event for everybody
news_event = {
	id = ww_congo.18
	title = ww_congo.18.t
	desc = ww_congo.18.d
	picture = GFX_news_event_journalists_speech
	
	major = yes
	
	is_triggered_only = yes
	
	# The Age of Imperialism is not yet at an end (for everyone except BEL or COG)
	option = {
		name = ww_congo.18.a
		ai_chance = {
			base = 100
		}
		trigger = {
			NOT = {
				OR = {
					original_tag = COG
					original_tag = BEL
				}
			}
		}
	}

	# The traitors got what they deserved (for COG)
	option = {
		name = ww_congo.18.b
		ai_chance = {
			base = 100
		}
		trigger = { original_tag = COG }
	}

	# Unity makes strength (for BEL)
	option = {
		name = ww_congo.18.c
		ai_chance = {
			base = 100
		}
		trigger = { original_tag = BEL }
	}
} 

# Congolese Uprising Successful - news event for everybody
news_event = {
	id = ww_congo.19
	title = ww_congo.19.t
	desc = ww_congo.19.d
	picture = GFX_news_event_COG_force_publique_capturing_area
	
	major = yes
	
	is_triggered_only = yes
	
	# The Age of Imperialism is at an end (for everyone except BEL or COG)
	option = {
		name = ww_congo.19.a
		ai_chance = {
			base = 100
		}
		trigger = {
			NOT = {
				OR = {
					original_tag = COG
					original_tag = BEL
				}
			}
		}
	}

	# We are victorious! (for COG)
	option = {
		name = ww_congo.19.b
		ai_chance = {
			base = 100
		}
		trigger = { original_tag = COG }
	}

	# A devastating blow... (for BEL)
	option = {
		name = ww_congo.19.c
		ai_chance = {
			base = 100
		}
		trigger = { original_tag = BEL }
	}
} 

# The Rwandan Revolution
country_event = {
	id = ww_congo.20
	title = ww_congo.20.t
	desc = ww_congo.20.d
	picture = GFX_report_event_gathering_protest
	
	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			set_global_flag = rwandan_revolution_happened_flag
			768 = {	
				transfer_state_to = RWA
			}
			RWA = {
				delete_unit_template_and_units = {
					division_template = "Mwami's Guard"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Mwami's Guard"		
					division_names_group = FREN_INFB_01		# Uses French-language generic division names
					template_counter = 67
					regiments = {
						irregular_infantry = { x = 0 y = 0 }
						irregular_infantry = { x = 0 y = 1 }
						irregular_infantry = { x = 0 y = 2 }
						irregular_infantry = { x = 1 y = 0 }
						irregular_infantry = { x = 1 y = 1 }
					}
					support = {
					}
				}

				random_state = { 
					limit = {
						is_owned_by = PREV
					}
					create_unit = {
					    division = "name = \"Mwami's First Guard\" division_template = \"Mwami's Guard\" start_experience_factor = 0.4 start_equipment_factor = 0.6"
					    owner = PREV
					}
					create_unit = {
					    division = "name = \"Mwami's Second Guard\" division_template = \"Mwami's Guard\" start_experience_factor = 0.2 start_equipment_factor = 0.5"
					    owner = PREV
					}
				}
			}
		}
	}
	
	# It is not our place to stop them
	option = {
		name = ww_congo.20.a
		ai_chance = {
			base = 80
		}
		
		add_political_power = 500.000
		add_stability = 0.200

		IF = {
			limit = {
				768 = {
					is_core_of = ROOT
				}
			}
			768 = {
				remove_core_of = ROOT 
			}
		}
		IF = {
			limit = {
				768 = {
					is_claimed_by = ROOT
				}
			}
			768 = {
				remove_claim_by = ROOT 
			}
		}

	}

	# Who said they could have independence?
	option = {
		name = ww_congo.20.b
		ai_chance = {
			base = 20
		}
		
		IF = {
			limit = {
				768 = {
					NOT = {
						is_claimed_by = ROOT
					}
				}
			}
			768 = {
				add_claim_by = ROOT 
			}
		}

		declare_war_on = {
			target = RWA
			type = annex_everything
		}	

	}
}

# Mwambutsa's Declaration
country_event = {
	id = ww_congo.21
	title = ww_congo.21.t
	desc = ww_congo.21.d
	picture = GFX_report_event_gre_venizelos_speech
	
	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			set_global_flag = burundian_revolution_happened_flag
			769 = {	
				transfer_state_to = BRD
			}
			BRD = {
				delete_unit_template_and_units = {
					division_template = "Mwami's Guard"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Mwami's Guard"		
					division_names_group = FREN_INFB_01		# Uses French-language generic division names
					template_counter = 67
					regiments = {
						irregular_infantry = { x = 0 y = 0 }
						irregular_infantry = { x = 0 y = 1 }
						irregular_infantry = { x = 0 y = 2 }
						irregular_infantry = { x = 1 y = 0 }
						irregular_infantry = { x = 1 y = 1 }
					}
					support = {
					}
				}

				random_state = { 
					limit = {
						is_owned_by = PREV
					}
					create_unit = {
					    division = "name = \"Mwami's First Guard\" division_template = \"Mwami's Guard\" start_experience_factor = 0.4 start_equipment_factor = 0.6"
					    owner = PREV
					}
					create_unit = {
					    division = "name = \"Mwami's Second Guard\" division_template = \"Mwami's Guard\" start_experience_factor = 0.2 start_equipment_factor = 0.5"
					    owner = PREV
					}
				}
			}
		}
	}
	
	# It is not our place to stop them
	option = {
		name = ww_congo.21.a
		ai_chance = {
			base = 80
		}
		
		add_political_power = 500.000
		add_stability = 0.200

		IF = {
			limit = {
				769 = {
					is_core_of = ROOT
				}
			}
			769 = {
				remove_core_of = ROOT 
			}
		}
		IF = {
			limit = {
				769 = {
					is_claimed_by = ROOT
				}
			}
			769 = {
				remove_claim_by = ROOT 
			}
		}

	}

	# Who said they could have independence?
	option = {
		name = ww_congo.21.b
		ai_chance = {
			base = 20
		}
		
		IF = {
			limit = {
				769 = {
					NOT = {
						is_claimed_by = ROOT
					}
				}
			}
			769 = {
				add_claim_by = ROOT 
			}
		}

		declare_war_on = {
			target = BRD
			type = annex_everything
		}	

	}
}

# Pierre Ryckmans requests increased emigration to the Congo - event for BEL
country_event = {
	id = ww_congo.22
	title = ww_congo.22.t
	desc = ww_congo.22.desc
	picture = GFX_report_event_gre_diplomacy
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# We will oblige
	option = { 
		name = ww_congo.22.a
		ai_chance = {
			base = 80
			modifier = {
				factor = 2
				FROM = {
					is_ai = no
				}
			}
		}

		FROM = {
			country_event = {
				id = ww_congo.23
				days = 2
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		add_timed_idea = {
			idea = COG_emigration_to_katanga_idea
			days = 365
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {

			FROM = {
				add_autonomy_score = { 
					value = -100
					localization = COG_lecho_du_katanga
				}	
			}
			
			889 = {
				add_dynamic_modifier = {
					modifier = COG_the_echo_of_katanga_modifier
				}
			}

		}

	}

	# Who does he think he is?
	option = { 
		name = ww_congo.22.b
		ai_chance = {
			base = 20
		}

		FROM = {
			country_event = {
				id = ww_congo.24
				days = 2
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {

			FROM = {
				add_autonomy_score = { 
					value = 50
					localization = COG_lecho_du_katanga
				}	
			}

		}

	}
}

# The [BEL.GetAdjective]s Approve our Immigration Scheme - event for COG
country_event = {
	id = ww_congo.23
	title = ww_congo.23.t
	desc = ww_congo.23.desc
	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Perfect
	option = { 
		name = ww_congo.23.a
		ai_chance = {
			base = 100
		}

		add_autonomy_score = { 
			value = -100
			localization = COG_lecho_du_katanga
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		889 = {
			add_dynamic_modifier = {
				modifier = COG_the_echo_of_katanga_modifier
			}
		}

	}
}

# The [BEL.GetAdjective]s Reject our Immigration Scheme - event for COG
country_event = {
	id = ww_congo.24
	title = ww_congo.24.t
	desc = ww_congo.24.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# I mean what did we expect?
	option = { 
		name = ww_congo.24.a
		ai_chance = {
			base = 100
		}

		add_autonomy_score = { 
			value = 50
			localization = COG_lecho_du_katanga
		}

	}
}

# Albert de Vleeshauwer goes to lobby for support - event for COG
country_event = {
	id = ww_congo.25
	title = ww_congo.25.t
	desc = ww_congo.25.desc
	picture = GFX_report_event_generic_handshake
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# This is where the war starts
	option = { 
		name = ww_congo.25.a
		ai_chance = {
			base = 100
		}

		IF = {
			limit = {
				has_idea = BEL_albert_de_vleeschauwer
			}
			remove_ideas = BEL_albert_de_vleeschauwer
		}

		hidden_effect = {
			add_political_power = 500.000
			set_country_flag = COG_albert_is_gone_flag
		}

		every_other_country = {
			limit = {
				is_in_faction_with = COG
			}
			add_opinion_modifier = {
				target = ROOT
				modifier = medium_increase
			}	
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			add_equipment_subsidy = {
				cic = 1000
				equipment_type = small_plane_airframe
				seller_trigger = is_allied_seller_trigger
			}
			add_equipment_subsidy = {
				cic = 1000
				equipment_type = infantry_equipment
				seller_trigger = is_allied_seller_trigger
			}
			add_equipment_subsidy = {
				cic = 1000
				equipment_type = artillery_equipment
				seller_trigger = is_allied_seller_trigger
			}
			add_equipment_subsidy = {
				cic = 1000
				equipment_type = motorized_equipment
				seller_trigger = is_allied_seller_trigger
			}
		}
		ELSE = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = 2500.000
				producer = USA
			}	
			add_equipment_to_stockpile = { 
				type = artillery_equipment
				amount = 500.000
				producer = USA
			}	
		}

	}
}

# Congo occupies Cabinda! - event for owner of (796) 
country_event = {
	id = ww_congo.26
	title = ww_congo.26.t
	desc = ww_congo.26.desc
	picture = GFX_report_event_spr_anarchist_uprising
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# They can have it
	option = { 
		name = ww_congo.26.a
		ai_chance = {
			factor = 50
			modifier = {
				strength_ratio = { tag = COG ratio < 0.8 }
				factor = 2
			}
			modifier = {
				is_in_faction = no
				COG = { is_in_faction = yes }
				factor = 2
			}
		}

		add_political_power = 500.000
		add_stability = -0.02

	}

	# Who do they think they are?
	option = { 
		name = ww_congo.26.b
		ai_chance = {
			factor = 25
			modifier = {
				strength_ratio = { tag = COG ratio > 1.5 }
				factor = 2
			}
		}

		declare_war_on = {
			target = FROM
			type = take_state_focus
			generator = 796
		}		

	}
}

# The Luluabourg Revolt at Elisabethville - event for COG
country_event = {
	id =  ww_congo.27
	title =  ww_congo.27.t
	desc =  ww_congo.27.desc
	picture = GFX_report_event_portugal_navy_mutiny_prisoners

	trigger = {
		original_tag = COG
		
		date > 1943.12.25

		date < 1945.1.1

		has_civil_war = no

		has_war = yes

		is_subject = yes

		NOT = {
			has_completed_focus = COG_establish_the_anc
		}

		has_dlc = "Gotterdammerung"
	}

	mean_time_to_happen = { days = 7 }

	hidden = no

	fire_only_once = yes

	# Capture them and make an example out of Mukalabushi
	option = {
		name =  ww_congo.27.a
		ai_chance = {
			base = 100
		}

		add_political_power = 500.000

		custom_effect_tooltip = generic_skip_one_line_tt

		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}	
		add_war_support = -0.05

		hidden_effect = {
			set_country_flag = COG_harsh_treatment_of_the_mutineers_flag
		}
		
	}

	# It is a sign that great change is needed
	option = {
		name =  ww_congo.27.b
		ai_chance = {
			base = 0
			
			modifier = {
				add = 50
				is_historical_focus_on = no
			}
			
		}

		add_political_power = -50

		custom_effect_tooltip = generic_skip_one_line_tt

		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}	
		add_popularity = {
			ideology = communism
			popularity = 0.05
		}	
		add_stability = -0.05

		custom_effect_tooltip = generic_skip_one_line_tt

		add_autonomy_score = { 
			value = 150
			localization = COG_pro_independence_reforms_in_the_force_publique_structure
		}	

		hidden_effect = {
			set_country_flag = COG_caved_to_mutineer_demands_flag
		}

	}
}

# Rising suspicion towards the National Committe - event for COG
country_event = {
	id = ww_congo.28
	title = ww_congo.28.t
	desc = ww_congo.28.desc
	picture = GFX_report_event_crowd_in_prague
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# We will simply need to liberate them by force
	option = { 
		name = ww_congo.28.a
		ai_chance = {
			factor = 100
		}

		add_war_support = 0.300

		custom_effect_tooltip = generic_skip_one_line_tt

		custom_effect_tooltip = COG_coquilatville_and_lusambo_will_join_the_belgian_loyalsits_tt
		hidden_effect = {
			IF = {
				limit = {
					538 = {
						has_dynamic_modifier = {
							modifier = COG_state_loyal_to_free_congo_modifier
						}	
					}	
				}
				538 = {
					remove_dynamic_modifier = {
						modifier = COG_state_loyal_to_free_congo_modifier
					}	
					
					add_dynamic_modifier = {
						modifier = COG_state_loyal_to_belgium_modifier
					}	
				}
			}

			IF = {
				limit = {
					888 = {
						has_dynamic_modifier = {
							modifier = COG_state_loyal_to_free_congo_modifier
						}	
					}	
				}
				888 = {
					remove_dynamic_modifier = {
						modifier = COG_state_loyal_to_free_congo_modifier
					}	
					
					add_dynamic_modifier = {
						modifier = COG_state_loyal_to_belgium_modifier
					}	
				}
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				889 = {
					has_dynamic_modifier = {
						modifier = COG_state_loyal_to_free_congo_modifier
					}	
				}	
			}
			889 = {
				hidden_effect = {
					remove_dynamic_modifier = {
						modifier = COG_state_loyal_to_free_congo_modifier
					}	
				}
				add_dynamic_modifier = {
					modifier = COG_katanga_separatism_modifier
				}	
			}
		}

	}
}

# Congolese Nationalists Approach us for aid - event for SOV or GER
country_event = {
	id = ww_congo.29
	title = ww_congo.29.t
	desc = ww_congo.29.desc
	picture = GFX_report_event_gre_allied_diplomacy
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# By all means
	option = { 
		name = ww_congo.29.a
		ai_chance = {
			factor = 95
		}

		FROM = {
			country_event = {
				id = ww_congo.30
				hours = 12
				random_hours = 24
			}	
		}

	}

	# There is no reason to intervene 
	option = { 
		name = ww_congo.29.b
		ai_chance = {
			factor = 5
		}

		FROM = {
			country_event = {
				id = ww_congo.31
				hours = 12
				random_hours = 24
			}	
		}

	}
}

# [FROM.GetNameDefCap] decides to aid us - event for COG
country_event = {
	id = ww_congo.30
	title = ww_congo.30.t
	desc = ww_congo.30.desc
	picture = GFX_report_event_gre_allied_diplomacy
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Perfect
	option = { 
		name = ww_congo.30.a
		ai_chance = {
			factor = 100
		}

		add_war_support = 0.500

		hidden_effect = {
			IF = {
				limit = {
					has_completed_focus = COG_secure_soviet_aid
				}
				set_country_flag = COG_will_get_soviet_aid_flag
			}
			ELSE_IF = {
				limit = {
					has_completed_focus = COG_secure_german_aid
				}
				set_country_flag = COG_will_get_german_aid_flag
			}
			FROM = {
				set_country_flag = supporter_of_congolese_independence_flag
			}
		}

	}
}

# FROM.GetName decides not to aid us - event for COG
country_event = {
	id = ww_congo.31
	title = ww_congo.31.t
	desc = ww_congo.31.desc
	picture = GFX_report_event_gre_allied_diplomacy
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# A real shame
	option = { 
		name = ww_congo.31.a
		ai_chance = {
			factor = 100
		}

		add_political_power = 750.000

	}
}

# The Simba Coup - event for COG
country_event = {
	id = ww_congo.32
	title = ww_congo.32.t
	desc = ww_congo.32.desc
	picture = GFX_report_event_ARG_coup_detat
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Cyrille Adoula is a good statesman
	option = { 
		name = ww_congo.32.a
		ai_chance = {
			factor = 50
		}

		set_politics = {
			ruling_party = communism
			elections_allowed = yes
			last_election = "1936.1.1"
			election_frequency = 48
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		add_political_power = 750.000
		add_stability = 0.500

	}

	# Christophe Gbenye should lead
	option = { 
		name = ww_congo.32.b
		ai_chance = {
			factor = 50
		}

		set_politics = {
			ruling_party = communism
			elections_allowed = yes
			last_election = "1936.1.1"
			election_frequency = 48
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		add_country_leader_role = {
			character = COG_cristophe_gbenye
			promote_leader = yes
			country_leader = {
				ideology = marxism
				expire = "1980.1.1.1"
				traits = { revolutionary_general } 
			}
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		add_war_support = 0.500

	}
}

# The Question of Leadership - event for COG
country_event = {
	id = ww_congo.33
	title = ww_congo.33.t
	desc = ww_congo.33.desc
	picture = GFX_report_event_generic_communist_congress
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Cyrille Adoula is a good statesman
	option = { 
		name = ww_congo.33.a
		ai_chance = {
			factor = 50
		}

		add_political_power = 1000.000
		add_stability = -0.05
		add_war_support = -0.05

	}

	# Christophe Gbenye should lead
	option = { 
		name = ww_congo.33.b
		ai_chance = {
			factor = 50
		}

		add_country_leader_role = {
			character = COG_cristophe_gbenye
			promote_leader = yes
			country_leader = {
				ideology = marxism
				expire = "1980.1.1.1"
				traits = { revolutionary_general } 
			}
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		add_war_support = 0.500

	}
}

# Kwame Nkrumah's State Visit - event for COG
country_event = {
	id = ww_congo.34
	title = ww_congo.34.t
	desc = ww_congo.34.desc
	picture = GFX_report_event_generic_communist_congress
	
	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			every_possible_country = {

				limit = {
					has_character = GHA_kwame_nkrumah
				}

				set_nationality = {
				    target_country = ROOT
				    character = GHA_kwame_nkrumah
				}	

			}
		}
	}
	
	# We believe great cooperation can be achieved
	option = { 
		name = ww_congo.34.a
		ai_chance = {
			factor = 75
		}

		add_popularity = {
			ideology = communism
			popularity = 0.1
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		add_political_power = 750.000
		add_war_support = 0.500

	}

	# He is the leader we need!
	option = { 
		name = ww_congo.34.b
		ai_chance = {
			factor = 25
		}

		add_country_leader_role = {
			character =  GHA_kwame_nkrumah
			promote_leader = yes
			country_leader = {
				ideology = stalinism
				expire = "1972.1.1.1"
				traits = { pan_africanist_socialist } 
			}
		}	

	}
}

# Congo Incites Colonial Resistance - news event for everyone who owns an African state
news_event = {
	id = ww_congo.35
	title = ww_congo.35.t
	desc = ww_congo.35.desc
	picture = GFX_news_event_journalists_speech
	
	major = no
	
	is_triggered_only = yes
	
	# We need to put an end to this at once! (for everyone except for COG)
	option = {
		name = ww_congo.35.a
		ai_chance = {
			base = 100
		}
		trigger = {
			NOT = {
				original_tag = COG
			}
		}
	}

	# The time for Africa has come (for COG)
	option = {
		name = ww_congo.35.b
		ai_chance = {
			base = 100
		}
		trigger = { original_tag = COG }
	}
} 

country_event = {
	id = ww_congo.36
	title = ww_congo.36.t
	desc = ww_congo.36.desc
	is_triggered_only = yes
	picture = GFX_report_event_british_inspect_troops
	option = {
		name = ww_congo.36.a
		ai_chance = {
			base = 5
		}	
	}
}

# [FROM.GetNameDefCap] Offers Peace for [?COG.COG_disputed_colony.GetAdjective] Independence
country_event = {
	id = ww_congo.37
	title = ww_congo.37.t
	desc = ww_congo.37.desc
	is_triggered_only = yes
	picture = GFX_report_event_ETH_ethiopian_warriors
	option = {
		# Reject
		name = ww_congo.37.a
		ai_chance = {
			base = 10
			modifier = {
				factor = 5
				AND = {
					is_in_faction = yes
					has_war_with_major = yes
					COG = {
						is_in_faction = yes
					}
				}
			}
		}
		FROM = {	
			country_event = {
				id = ww_congo.36
				hours = 12
			}
		}
	}
	option = {
		# Accept
		name = ww_congo.37.b
		ai_chance = {
			base = 1
			modifier = {
				add = 30
				any_owned_state = {
					is_on_continent = africa
					is_controlled_by = COG
				}
			}
			modifier = {
				add = -15
				any_controlled_state = {
					is_core_of = FROM
				}
			}
			modifier = {
				factor = 2
				surrender_progress > 0.3
			}
		}
		
		for_each_scope_loop = {
			array = COG.COG_has_liberation_goal_array
			every_core_state = {
				IF = {
					limit = {
						is_controlled_by = FROM
					}
				}
			}
			#FROM is COG				
			FROM = {
				every_owned_state = {
					limit = {
						#PREV.PREV is target country for release
						is_core_of = PREV.PREV
					}
					set_state_flag = COG_prio_state_flag
				}
				#PREV is target country for release
				release_puppet_on_controlled = PREV
				PREV = {
					every_owned_state = {
						limit = {
							has_state_flag = COG_prio_state_flag
						}
						#PREV.PREV is COG
						COG = {
							transfer_state = PREV
						}
						
					}
				}
				country_event = {
					id = ww_congo.38
					hours = 1
				}
			}
			remove_from_array = {
				array = COG.COG_has_liberation_goal_array
				value = THIS
			}	
		}
		IF = {
			limit = {
				FROM = {
					is_in_faction = yes
				}
			}
			FROM = {
				leave_faction = yes
			}
		}
		white_peace = COG
		# Allies also make peace
		every_other_country = {
			limit = { 
				is_in_faction_with = ROOT 
				has_war_with = COG
			}
			white_peace = COG
		}
		every_other_country = {
			limit = {
				is_in_faction_with = COG
				has_war_with = ROOT
			}
			white_peace = ROOT
		}
	}
}

# [FROM.GetName] Agrees to Peace Offer
country_event = {
	id = ww_congo.38
	title = ww_congo.38.t
	desc = ww_congo.38.desc
	is_triggered_only = yes
	picture = GFX_report_event_generic_sign_treaty2
	option = {
		name = ww_congo.38.a
		ai_chance = {
			base = 5
		}
		add_war_support = 0.200
		hidden_effect = {
			clear_variable = COG.COG_disputed_colony
			clr_country_flag = COG_has_active_liberation_goal
		}	
	}
}

# [FROM.GetNameDefCap] Offers Peace for [?COG.COG_disputed_colony.GetAdjective] Independence
country_event = {
	id = ww_congo.73
	title = ww_congo.73.t
	desc = ww_congo.73.desc
	is_triggered_only = yes
	picture = GFX_report_event_ETH_ethiopian_warriors
	option = {
		# Reject
		name = ww_congo.73.a
		ai_chance = {
			base = 10
			modifier = {
				factor = 5
				AND = {
					is_in_faction = yes
					has_war_with_major = yes
					COG = {
						is_in_faction = yes
						is_faction_leader = no
					}
				}
			}
		}
		
		add_political_power = -25

	}
	option = {
		# Accept
		name = ww_congo.73.b
		ai_chance = {
			base = 3
			modifier = {
				add = 30
				any_owned_state = {
					is_on_continent = africa
					is_controlled_by = COG
				}
			}
			modifier = {
				add = -15
				any_controlled_state = {
					is_core_of = FROM
				}
			}
			modifier = {
				factor = 2
				surrender_progress > 0.3
			}
			modifier = {
				add = 50
				any_country = {
					has_country_flag = COG_the_subject_country_to_be_liberated
					has_capitulated = yes
				}
			}
		}

		for_each_scope_loop = {
			array = COG.COG_has_liberation_goal_array
			remove_from_array = {
				array = COG.COG_has_liberation_goal_array
				value = THIS
			}	
		}

		white_peace = COG
		# Allies also make peace
		every_other_country = {
			limit = { 
				is_in_faction_with = ROOT 
				has_war_with = COG
			}
			white_peace = COG
		}
		every_other_country = {
			limit = {
				is_in_faction_with = COG
				has_war_with = ROOT
			}
			white_peace = ROOT
		}
		
		random_country = {
			limit = {
				has_country_flag = COG_the_subject_country_to_be_liberated
			}
			ROOT = {
				set_autonomy = {
					target = PREV
					autonomy_state = autonomy_free
					end_wars  = yes # default yes. will not cancel non civil wars if set to no
					end_civil_wars = yes # default yes. will not cancel civil wars if set to no
				}	
			}
			leave_faction = yes
		}	

		hidden_effect = {
			clear_variable = COG.COG_disputed_colony
			FROM = {
				clr_country_flag = COG_has_active_liberation_goal
			}
		}	

	}
}

# The First Congolese Election - event for COG
country_event = {
	id = ww_congo.39
	title = ww_congo.39.t
	desc = ww_congo.39.desc
	picture = GFX_report_event_election_vote
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Kasa-Vubu is a good statesman, we need him
	option = { 
		name = ww_congo.39.a
		ai_chance = {
			factor = 50
		}

		set_politics = {
			ruling_party = democratic
			elections_allowed = yes
			last_election = "1936.1.1"
			election_frequency = 48
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		COG_joseph_kasa_vubu = {
			add_country_leader_trait = COG_founding_father_of_congo
		}

	}
}

# Kasa-Vubu's First Cabinet - event for COG
country_event = {
	id = ww_congo.40
	title = ww_congo.40.t
	desc = ww_congo.40.desc
	picture = GFX_report_event_usa_election_generic
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# We will grow ever stronger
	option = { 
		name = ww_congo.40.a
		ai_chance = {
			factor = 50
		}

		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}	
		add_stability = 1.000
		add_political_power = 750.000

		custom_effect_tooltip = generic_skip_one_line_tt

		COG_joseph_kasa_vubu = {
			add_country_leader_trait = COG_founding_father_of_congo
		}


	}
}

# [FROM.GetLeader] Demands Reunification of the Bakongo People - event for owner of a Congolese state
country_event = {
	id = ww_congo.41
	title = ww_congo.41.t
	desc = ww_congo.41.desc
	picture = GFX_report_event_SOV_demands
	
	is_triggered_only = yes

	fire_only_once = no
	
	# It is not worth shedding blood over
	option = { 
		name = ww_congo.41.a
		ai_chance = {
			factor = 80
			modifier = {
				strength_ratio = { tag = COG ratio < 1 }
				factor = 2
			}
		}

		# They accept - event for COG
		FROM = { 
			country_event = {
				id = ww_congo.42
				days = 2
				random_days = 3
			}
		} 

	}

	# Then come and get it!
	option = { 
		name = ww_congo.41.b
		ai_chance = {
			factor = 20
			modifier = {
				strength_ratio = { tag = COG ratio > 1 }
				factor = 1.5
			}
		}

		# They reject - event for COG
		FROM = { 
			country_event = {
				id = ww_congo.43
				days = 2
				random_days = 3
			}
		} 

	}
}

# [FROM.GetLeader] Hands over Bakongo Territories - event for COG
country_event = {
	id = ww_congo.42
	title = ww_congo.42.t
	desc = ww_congo.42.desc
	picture = GFX_report_event_COG_force_publique_capturing_area
	
	is_triggered_only = yes

	fire_only_once = no
	
	# This is a great day!
	option = { 
		name = ww_congo.42.a
		ai_chance = {
			factor = 100
		}

		add_war_support = 0.100
		add_stability = 0.100

		every_state = {
			limit = {
				OR = {
					state = 538
					state = 718
					state = 890
					state = 888
					state = 295
					state = 772
					state = 796
					state = 540
				}
				is_owned_and_controlled_by = FROM
			}
			transfer_state_to = ROOT
		}

	}
}

# [FROM.GetLeader] Doesn't hand over Bakongo Territories - event for COG
country_event = {
	id = ww_congo.43
	title = ww_congo.43.t
	desc = ww_congo.43.desc
	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes

	fire_only_once = no
	
	# There is not much we can do
	option = { 
		name = ww_congo.43.a
		ai_chance = {
			factor = 50
		}

		add_political_power = 250.000

		add_war_support = -0.02
		add_stability = -0.02

	}

	# We will show them!
	option = { 
		name = ww_congo.43.b
		ai_chance = {
			factor = 50
		}

		add_war_support = 0.200

		create_wargoal = {
			type = take_claimed_state
			target = FROM
		}

	}
}


# Dom Pedro VII, King of the Kingdom of Kongo
country_event = {
	id = ww_congo.44
	title = ww_congo.44.t
	desc = ww_congo.44.desc
	picture = GFX_report_event_royal_parade
	
	is_triggered_only = yes
	
	# He is the one we need!
	option = {
		name = ww_congo.44.a
		ai_chance = {
			base = 10
		}

		hidden_effect = {
			set_party_name = {
				ideology = neutrality
				long_name = house_of_agua_rosada_long
				name = house_of_agua_rosada
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.15
			}	
		}

		set_politics = {
			ruling_party = neutrality
			elections_allowed = no
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				COG_pedro_vii_alfonso = {
					can_be_country_leader = yes
				}
			}
			promote_character = COG_pedro_vii_alfonso
		}
		ELSE = {
			add_country_leader_role = {
				character =  COG_pedro_vii_alfonso
				promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1969.1.1.1"
					traits = { manikongo_of_kongo } 
				}
			}
		}
		
		hidden_effect = {
			set_country_flag = COG_kingdom_of_kongo_flag
			mark_focus_tree_layout_dirty = yes 
		}
		complete_national_focus = COG_the_kingdom_of_kongo_focus

		hidden_effect = {
			set_country_flag = COG_already_crowned_a_monarch_flag
		}
	}

	# No, we need someone else!
	option = {
		name = ww_congo.44.b
		ai_chance = {
			base = 10
		}
		custom_effect_tooltip = POL_keep_looking_tt
		hidden_effect = {
			# Mbóp Mábíínc maMbéky, Nyim of the Kuba Kingdom
			country_event = {
				id = ww_congo.45
				days = 35
			}
		}
	}
}

# Mbóp Mábíínc maMbéky, The Nyim of the Kingom of Bakuba
country_event = {
	id = ww_congo.45
	title = ww_congo.45.t
	desc = ww_congo.45.desc
	picture = GFX_report_event_royal_parade
	
	is_triggered_only = yes
	
	# He is the one we need!
	option = {
		name = ww_congo.45.a
		ai_chance = {
			base = 10
		}

		hidden_effect = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.15
			}	
		}

		set_party_name = {
			ideology = neutrality
			long_name = COG_nyim_of_kuba_party_long
			name = COG_nyim_of_kuba_party
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		set_politics = {
			ruling_party = neutrality
			elections_allowed = no
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				COG_mbop_mabiinc_mambeky = {
					can_be_country_leader = yes
				}
			}
			promote_character = COG_mbop_mabiinc_mambeky
		}
		ELSE = {
			add_country_leader_role = {
				character =  COG_mbop_mabiinc_mambeky
				promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1969.1.1.1"
					traits = { nyim_of_kuba } 
				}
			}
		}
		
		hidden_effect = {
			set_country_flag = COG_kingdom_of_kuba_flag
			mark_focus_tree_layout_dirty = yes 
		}
		complete_national_focus = COG_the_nyim_of_kuba_focus

		hidden_effect = {
			set_country_flag = COG_already_crowned_a_monarch_flag
		}
	}

	# No, we need someone else!
	option = {
		name = ww_congo.45.b
		ai_chance = {
			base = 10
		}
		custom_effect_tooltip = POL_keep_looking_tt
		hidden_effect = {
			# Moe Poaty III, Mâ Loango of the Kingdom of Loango
			country_event = {
				id = ww_congo.46
				days = 35
			}
		}
	}
}

# Moe Poaty III, Mâ Loango of the Kingdom of Loango
country_event = {
	id = ww_congo.46
	title = ww_congo.46.t
	desc = ww_congo.46.desc
	picture = GFX_report_event_royal_parade
	
	is_triggered_only = yes
	
	# He is the one we need!
	option = {
		name = ww_congo.46.a
		ai_chance = {
			base = 10
		}

		hidden_effect = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.15
			}	
		}

		set_party_name = {
			ideology = neutrality
			long_name = COG_ma_loango_party_long
			name = COG_ma_loango_party
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		set_politics = {
			ruling_party = neutrality
			elections_allowed = no
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				COG_moe_poaty_iii = {
					can_be_country_leader = yes
				}
			}
			promote_character = COG_moe_poaty_iii
		}
		ELSE = {
			add_country_leader_role = {
				character =  COG_moe_poaty_iii
				promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1969.1.1.1"
					traits = { ma_loango } 
				}
			}
		}
		
		hidden_effect = {
			set_country_flag = COG_kingdom_of_loango_flag
			mark_focus_tree_layout_dirty = yes 
		}
		complete_national_focus = COG_the_ma_loango_focus

		hidden_effect = {
			set_country_flag = COG_already_crowned_a_monarch_flag
		}
	}

	# No, we need someone else!
	option = {
		name = ww_congo.46.b
		ai_chance = {
			base = 10
		}
		custom_effect_tooltip = POL_keep_looking_tt
		hidden_effect = {
			# Mwambutsa IV, The Mwami of Burundi
			country_event = {
				id = ww_congo.47
				days = 35
			}
		}
	}
}

# Mwambutsa IV, The Mwami of the Kingdom of Burundi
country_event = {
	id = ww_congo.47
	title = ww_congo.47.t
	desc = ww_congo.47.desc
	picture = GFX_report_event_royal_parade
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			every_possible_country = {

				limit = {
					has_character = BRD_mwambutsa_iv
				}

				set_nationality = {
				    target_country = ROOT
				    character = BRD_mwambutsa_iv
				}	

			}
		}
	}
	
	# He is the one we need!
	option = {
		name = ww_congo.47.a
		ai_chance = {
			base = 10
		}

		hidden_effect = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.15
			}	
		}

		set_party_name = {
			ideology = neutrality
			long_name = COG_house_ntwero_party_long
			name = COG_house_ntwero_party
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		set_politics = {
			ruling_party = neutrality
			elections_allowed = no
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		promote_character = {
			character = BRD_mwambutsa_iv 
			ideology = despotism 
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				BRD = {
					exists = yes
					has_government = neutrality
					OR = {
						is_subject = no
						AND = {
							is_subject = yes
							is_subject_of = ROOT
						}
					}
				}
			}
			annex_country = {
				target = BRD
				transfer_troops = yes
			}	
		}
		
		hidden_effect = {
			set_country_flag = COG_kingdom_of_burundi_flag
			mark_focus_tree_layout_dirty = yes 
		}
		complete_national_focus = COG_the_mwami_of_burundi_focus

		hidden_effect = {
			set_country_flag = COG_already_crowned_a_monarch_flag
		}
	}

	# No, we need someone else!
	option = {
		name = ww_congo.47.b
		ai_chance = {
			base = 10
		}
		custom_effect_tooltip = POL_keep_looking_tt
		hidden_effect = {
			# Mutara III Rudahigwa, The Umwami of Rwanda
			country_event = {
				id = ww_congo.48
				days = 35
			}
		}

		hidden_effect = {
			every_possible_country = {

				limit = {
					has_character = BRD_mwambutsa_iv
				}

				set_nationality = {
				    target_country = BRD
				    character = BRD_mwambutsa_iv
				}	

			}
		}
	}
}

# Mutara III Rudahigwa, The Umwami of the Kingdom of Rwanda
country_event = {
	id = ww_congo.48
	title = ww_congo.48.t
	desc = ww_congo.48.desc
	picture = GFX_report_event_royal_parade
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			every_possible_country = {

				limit = {
					has_character = RWA_mutara_rudahigwa
				}

				set_nationality = {
				    target_country = ROOT
				    character = RWA_mutara_rudahigwa
				}	

			}
		}
	}
	
	# He is the one we need!
	option = {
		name = ww_congo.48.a
		ai_chance = {
			base = 10
		}

		hidden_effect = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.15
			}	
		}

		set_party_name = {
			ideology = neutrality
			long_name = COG_clan_abanyiginya_party_long
			name = COG_clan_abanyiginya_party
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		set_politics = {
			ruling_party = neutrality
			elections_allowed = no
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		promote_character = {
			character = RWA_mutara_rudahigwa 
			ideology = despotism 
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				RWA = {
					exists = yes
					has_government = neutrality
					OR = {
						is_subject = no
						AND = {
							is_subject = yes
							is_subject_of = ROOT
						}
					}
				}
			}
			annex_country = {
				target = RWA
				transfer_troops = yes
			}	
		}
		
		hidden_effect = {
			set_country_flag = COG_kingdom_of_rwanda_flag
			mark_focus_tree_layout_dirty = yes 
		}
		complete_national_focus = COG_the_umwami_of_rwanda_focus

		hidden_effect = {
			set_country_flag = COG_already_crowned_a_monarch_flag
		}
	}

	# No, we need someone else!
	option = {
		name = ww_congo.48.b
		ai_chance = {
			base = 10
		}
		custom_effect_tooltip = POL_keep_looking_tt
		hidden_effect = {
			# Yuhi V Musinga, The Pro-German Mwami of Rwanda
			country_event = {
				id = ww_congo.49
				days = 42
			}
		}

		hidden_effect = {
			every_possible_country = {

				limit = {
					has_character = RWA_mutara_rudahigwa
				}

				set_nationality = {
				    target_country = RWA
				    character = RWA_mutara_rudahigwa
				}	

			}
		}
	}
}

# Yuhi V Musinga, The The German Collaborator
country_event = {
	id = ww_congo.49
	title = ww_congo.49.t
	desc = ww_congo.49.desc
	picture = GFX_report_event_royal_parade
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			every_possible_country = {

				limit = {
					has_character = RWA_mutara_rudahigwa
				}

				set_nationality = {
				    target_country = ROOT
				    character = RWA_mutara_rudahigwa
				}	

			}
		}
	}
	
	# I suppose he will do...
	option = {
		name = ww_congo.49.a
		ai_chance = {
			base = 10
		}

		hidden_effect = {
			IF = {
				limit = {
					GER = {
						OR = {
							has_government = fascism
							has_government = neutrality
						}
					}
				}
				add_popularity = {
					ideology = GER
					popularity = 0.3
				}	
			}
		}

		IF = {
			limit = {
				GER = {
					has_government = fascism
				}
			}
			set_party_name = {
				ideology = fascism
				long_name = COG_clan_abanyiginya_party_long
				name = COG_clan_abanyiginya_party
			}
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		set_party_name = {
			ideology = neutrality
			long_name = COG_clan_abanyiginya_party_long
			name = COG_clan_abanyiginya_party
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				GER = {
					has_government = fascism
				}
			}
			set_politics = {
				ruling_party = fascism
				elections_allowed = no
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					RWA_yuhi_musinga = {
						can_be_country_leader = yes
					}
				}
				promote_character = RWA_yuhi_musinga
			}
			ELSE = {
				add_country_leader_role = {
					character =  RWA_yuhi_musinga
					promote_leader = yes
					country_leader = {
						ideology = fascism_ideology
						expire = "1969.1.1.1"
						traits = { the_rwandan_collaborstionist_king } 
					}
				}
			}
		}
		ELSE = {
			set_politics = {
				ruling_party = neutrality
				elections_allowed = no
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_country_leader_role = {
				character =  RWA_yuhi_musinga
				promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1969.1.1.1"
					traits = { the_rwandan_collaborstionist_king } 
				}
			}
		}
		
		hidden_effect = {
			set_country_flag = COG_kingdom_of_mittelafrika_flag
			mark_focus_tree_layout_dirty = yes 
		}
		complete_national_focus = COG_the_pro_german_mwami_focus

		hidden_effect = {
			set_country_flag = COG_already_crowned_a_monarch_flag
		}
	}

	# This didn't turn out as we had planned...
	option = {
		name = ww_congo.49.b
		ai_chance = {
			base = 10
		}
		
		uncomplete_national_focus = {
			focus = COG_assemble_a_regency_council
			uncomplete_children = yes
			refund_political_power = no
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		add_popularity = {
			ideology = communism
			popularity = 0.3
		}	

		hidden_effect = {
			set_country_flag = COG_monarchism_didnt_work_out_flag
		}

	}
}


# [FROM.GetNameDefCap] Seeks to Establish an Alliance - event for POR or FRA
country_event = {
	id = ww_congo.50
	title = ww_congo.50.t
	desc = ww_congo.50.desc
	picture = GFX_report_event_gre_diplomacy
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# We will oblige
	option = { 
		name = ww_congo.50.a
		ai_chance = {
			base = 80
		}

		FROM = {
			country_event = {
				id = ww_congo.51
				days = 2
			}
		}

	}

	# Who does he think he is?
	option = { 
		name = ww_congo.50.b
		ai_chance = {
			base = 20
		}

		FROM = {
			country_event = {
				id = ww_congo.52
				days = 2
			}
		}

	}
}

# [FROM.GetNameDefCap] Agrees to Establish an Alliance - event for COG
country_event = {
	id = ww_congo.51
	title = ww_congo.51.t
	desc = ww_congo.51.desc
	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Perfect
	option = { 
		name = ww_congo.51.a
		ai_chance = {
			base = 100
		}

		IF = {
			limit = {
				is_faction_leader = yes
			}
			add_to_faction = FROM
		}
		ELSE = {
			create_faction = COG_boma_accords_faction
			add_to_faction = FROM
		}

	}
}

# [FROM.GetNameDefCap] Rejects our Offer to Establish an Alliance - event for COG
country_event = {
	id = ww_congo.52
	title = ww_congo.52.t
	desc = ww_congo.52.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# I mean what did we expect?
	option = { 
		name = ww_congo.52.a
		ai_chance = {
			base = 100
		}

		add_war_support = 0.200
		add_political_power = 250.000

	}
}

# [FROM.GetLeader] Demands Reunification of the Burundian People - event for owner of Burundi
country_event = {
	id = ww_congo.53
	title = ww_congo.53.t
	desc = ww_congo.53.desc
	picture = GFX_report_event_SOV_demands
	
	is_triggered_only = yes

	fire_only_once = no
	
	# It is not worth shedding blood over
	option = { 
		name = ww_congo.53.a
		ai_chance = {
			factor = 80
			modifier = {
				strength_ratio = { tag = COG ratio < 1 }
				factor = 2
			}
		}

		# They accept - event for COG
		FROM = { 
			country_event = {
				id = ww_congo.54
				days = 2
				random_days = 3
			}
		} 

	}

	# Then come and get it!
	option = { 
		name = ww_congo.53.b
		ai_chance = {
			factor = 20
			modifier = {
				strength_ratio = { tag = COG ratio > 1 }
				factor = 1.5
			}
		}

		# They reject - event for COG
		FROM = { 
			country_event = {
				id = ww_congo.55
				days = 2
				random_days = 3
			}
		} 

	}
}

# [FROM.GetLeader] Hands over Burundian Territories - event for COG
country_event = {
	id = ww_congo.54
	title = ww_congo.54.t
	desc = ww_congo.54.desc
	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes

	fire_only_once = no
	
	# This is a great day!
	option = { 
		name = ww_congo.54.a
		ai_chance = {
			factor = 100
		}

		add_war_support = 0.100
		add_stability = 0.100

		769 = {
			transfer_state_to = ROOT
		}

	}
}

# [FROM.GetLeader] Doesn't hand over Burundian Territories - event for COG
country_event = {
	id = ww_congo.55
	title = ww_congo.55.t
	desc = ww_congo.55.desc
	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes

	fire_only_once = no
	
	# There is not much we can do
	option = { 
		name = ww_congo.55.a
		ai_chance = {
			factor = 50
		}

		add_political_power = 250.000

		add_war_support = -0.02
		add_stability = -0.02

	}

	# We will show them!
	option = { 
		name = ww_congo.55.b
		ai_chance = {
			factor = 50
		}

		add_war_support = 0.200

		create_wargoal = {
			type = take_core_state
			target = FROM
		}

	}
}

# [FROM.GetLeader] Demands Reunification of the Rwandan People - event for owner of Burundi
country_event = {
	id = ww_congo.56
	title = ww_congo.56.t
	desc = ww_congo.56.desc
	picture = GFX_report_event_SOV_demands
	
	is_triggered_only = yes

	fire_only_once = no
	
	# It is not worth shedding blood over
	option = { 
		name = ww_congo.56.a
		ai_chance = {
			factor = 80
			modifier = {
				strength_ratio = { tag = COG ratio < 1 }
				factor = 2
			}
		}

		# They accept - event for COG
		FROM = { 
			country_event = {
				id = ww_congo.57
				days = 2
				random_days = 3
			}
		} 

	}

	# Then come and get it!
	option = { 
		name = ww_congo.56.b
		ai_chance = {
			factor = 20
			modifier = {
				strength_ratio = { tag = COG ratio > 1 }
				factor = 1.5
			}
		}

		# They reject - event for COG
		FROM = { 
			country_event = {
				id = ww_congo.58
				days = 2
				random_days = 3
			}
		} 

	}
}

# [FROM.GetLeader] Hands over Rwandan Territories - event for COG
country_event = {
	id = ww_congo.57
	title = ww_congo.57.t
	desc = ww_congo.57.desc
	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes

	fire_only_once = no
	
	# This is a great day!
	option = { 
		name = ww_congo.57.a
		ai_chance = {
			factor = 100
		}

		add_war_support = 0.100
		add_stability = 0.100

		768 = {
			transfer_state_to = ROOT
		}

	}
}

# [FROM.GetLeader] Doesn't hand over Rwandan Territories - event for COG
country_event = {
	id = ww_congo.58
	title = ww_congo.58.t
	desc = ww_congo.58.desc
	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes

	fire_only_once = no
	
	# There is not much we can do
	option = { 
		name = ww_congo.58.a
		ai_chance = {
			factor = 50
		}

		add_political_power = 250.000

		add_war_support = -0.02
		add_stability = -0.02

	}

	# We will show them!
	option = { 
		name = ww_congo.58.b
		ai_chance = {
			factor = 50
		}

		add_war_support = 0.200

		create_wargoal = {
			type = take_core_state
			target = FROM
		}

	}
}

# [FROM.GetLeader] Requests to become a Protectorate - event for GER
country_event = {
	id = ww_congo.59
	title = ww_congo.59.t
	desc = ww_congo.59.desc
	picture = GFX_report_event_SOV_demands
	
	is_triggered_only = yes

	fire_only_once = no
	
	# It is an opportunity we cannot miss
	option = { 
		name = ww_congo.59.a
		ai_chance = {
			factor = 100
		}

		# They accept - event for COG
		FROM = { 
			country_event = {
				id = ww_congo.60
				days = 2
				random_days = 3
			}
		} 

	}

	# Nein!
	option = { 
		name = ww_congo.59.b
		ai_chance = {
			factor = 0
		}

		# They reject - event for COG
		FROM = { 
			country_event = {
				id = ww_congo.61
				days = 2
				random_days = 3
			}
		} 

	}
}

# [FROM.GetLeader] Accepts our request to become their Protectorate
country_event = {
	id = ww_congo.60
	title = ww_congo.60.t
	desc = ww_congo.60.desc
	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes

	fire_only_once = no
	
	# Today is a day to remember!
	option = { 
		name = ww_congo.60.a
		ai_chance = {
			factor = 100
		}

		FROM = {
			puppet = ROOT 
		}

	}
}

# [FROM.GetLeader] Denies our request to become their Protectorate - event for COG
country_event = {
	id = ww_congo.61
	title = ww_congo.61.t
	desc = ww_congo.61.desc
	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes

	fire_only_once = no
	
	# Today is a day to remember...
	option = { 
		name = ww_congo.61.a
		ai_chance = {
			factor = 50
		}

		add_political_power = 500.000
		add_stability = -0.1

	}
}

# Raoul van Overstraeten returns to Belgium - event for Congo when Belgium recalls him.
country_event = {
	id = ww_congo.62
	title = ww_congo.62.t
	desc = ww_congo.62.desc
	picture = GFX_report_event_bul_military_parade_vidin
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Begone Imperialist!
	option = { 
		name = ww_congo.62.a
		ai_chance = {
			base = 100
		}

		every_possible_country = {
			limit = {
				has_character = BEL_raoul_van_overstraeten
			}
			set_nationality = {
			    target_country = BEL
			    character = BEL_raoul_van_overstraeten
			}	
		}		

	}
}

# Congo wants to sell us Uranium - event for Country Congo wants to sell to 
country_event = {
	id = ww_congo.63
	title = ww_congo.63.t
	desc = ww_congo.63.desc
	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes

	fire_only_once = no
	
	# A welcome boon
	option = { 
		name = ww_congo.63.a
		ai_chance = {
			base = 100
		}

		add_ideas = COG_congolese_uranium_trade_ns

		custom_effect_tooltip = generic_skip_one_line_tt

		add_breakthrough_progress = {
			specialization = specialization_nuclear
			value = 0.25
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		FROM = {
			country_event = {
				id = ww_congo.64
				hours = 12
			}	
			effect_tooltip = {
				add_offsite_building = {
					type = industrial_complex
					level = 20.000
				}	
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.1
				}
			}
		}

	}

	# We have no need for this
	option = { 
		name = ww_congo.63.b
		ai_chance = {
			base = 0
		}

		FROM = {
			country_event = {
				id = ww_congo.65
				hours = 12
			}	
		}

	}
}

# FROM accepts the Uranium deal - event for COG
country_event = {
	id = ww_congo.64
	title = ww_congo.64.t
	desc = ww_congo.64.desc
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes

	fire_only_once = no
	
	# Perfect!
	option = { 
		name = ww_congo.64.a

		add_offsite_building = {
			type = industrial_complex
			level = 20.000
		}	

		custom_effect_tooltip = generic_skip_one_line_tt

		add_breakthrough_progress = {
			specialization = specialization_nuclear
			value = 0.1
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {
			FROM = {
				add_ideas = COG_congolese_uranium_trade_ns
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.25
				}
			}
		}

	}
}

# FROM rejects the Uranium deal - event for COG
country_event = {
	id = ww_congo.65
	title = ww_congo.65.t
	desc = ww_congo.65.desc
	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes

	fire_only_once = no
	
	# Too bad...
	option = { 
		name = ww_congo.65.a

		

	}
}

# FROM cancels the Uranium deal - event for COG
country_event = {
	id = ww_congo.66
	title = ww_congo.66.t
	desc = ww_congo.66.desc
	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes

	fire_only_once = no
	
	# Too bad...
	option = { 
		name = ww_congo.66.a

		add_offsite_building = {
			type = industrial_complex
			level = -2
		}	

	}
}

# Belgium Invites us to a Uranium Development Trust - event for Country BEL wants to aid
country_event = {
	id = ww_congo.67
	title = ww_congo.67.t
	desc = ww_congo.67.desc
	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes

	fire_only_once = no
	
	# A welcome boon
	option = { 
		name = ww_congo.67.a
		ai_chance = {
			base = 100
		}

		add_ideas = COG_uranium_development_trust_member_ns

		custom_effect_tooltip = generic_skip_one_line_tt

		add_breakthrough_progress = {
			specialization = specialization_nuclear
			value = 0.25
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		FROM = {
			country_event = {
				id = ww_congo.68
				hours = 12
			}	
			effect_tooltip = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.15
				}
			}
		}

	}

	# We have no need for this
	option = { 
		name = ww_congo.67.b
		ai_chance = {
			base = 0
		}

		FROM = {
			country_event = {
				id = ww_congo.69
				hours = 12
			}	
		}

	}
}

# [FROM.GetLeader] Joins the Uranium Development Trust - event for BEL
country_event = {
	id = ww_congo.68
	title = ww_congo.68.t
	desc = ww_congo.68.desc
	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes

	fire_only_once = no
	
	# Perfect!
	option = { 
		name = ww_congo.68.a

		add_breakthrough_progress = {
			specialization = specialization_nuclear
			value = 0.15
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {
			FROM = {
				add_ideas = COG_uranium_development_trust_member_ns
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.25
				}
			}
		}

	}
}

# [FROM.GetLeader] Shoots Down our Idea - event for BEL
country_event = {
	id = ww_congo.69
	title = ww_congo.69.t
	desc = ww_congo.69.desc
	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes

	fire_only_once = no
	
	# Too bad...
	option = { 
		name = ww_congo.69.a

		

	}
}

# Jan Zumbach joins the British - event for POL when capitulating and in a faction with ENG
country_event = {
	id = ww_congo.70
	title = ww_congo.70.t
	desc = ww_congo.70.desc
	picture = GFX_report_event_SOV_purge_aircraft_2
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Have a good flight
	option = { 
		name = ww_congo.70.a

		POL = {
			set_nationality = {
			    target_country = ENG
			    character = POL_jan_zumbach
			}
		}

		ENG = {
			country_event = {
				id = ww_congo.72
				hours = 1
			}	
		}

	}
}

# Jan Zumbach Wants to Leave for the Congo - event for ENG if they have him in 1943, and Congo exists and is not at war with them
country_event = {
	id = ww_congo.71
	title = ww_congo.71.t
	desc = ww_congo.71.desc
	picture = GFX_report_event_SOV_purge_aircraft_2
	
	is_triggered_only = yes

	fire_only_once = yes
	
	# Let him leave
	option = { 
		name = ww_congo.71.a

		ENG = {
			set_nationality = {
			    target_country = COG
			    character = POL_jan_zumbach
			}
		}

		COG = {
			country_event = {
				id = ww_congo.72
				hours = 1
			}	
		}

	}

	# Block his exit
	option = { 
		name = ww_congo.71.b

		add_political_power = -25

	}
}

# Jan Zumbach Arrives - event for person when he arrives
country_event = {
	id = ww_congo.72
	title = ww_congo.72.t
	desc = ww_congo.72.desc
	picture = GFX_report_event_SOV_purge_aircraft_2
	
	is_triggered_only = yes

	fire_only_once = no
	
	# We shall put him to work
	option = { 
		name = ww_congo.72.a

		custom_effect_tooltip = available_military_high_command
		show_ideas_tooltip = POL_jan_zumbach

	}
}







########## WHISPERS OF INDEPENDENCE CHAIN ####################


# Whispers of Independence - Event for COG
country_event = {
	id = congo_independence_struggle.1
	title = congo_independence_struggle.1.t
	desc = congo_independence_struggle.1.d

	picture = GFX_report_event_crowd_in_prague
	
	is_triggered_only = yes
	
	option = { # Try Diplomacy
		name = congo_independence_struggle.1.a
		ai_chance = {
			base = 50
		} 

		add_political_power = 250.000

		custom_effect_tooltip = generic_skip_one_line_tt

		random_country = {
			limit = {
				has_subject = ROOT
			}
			add_opinion_modifier = {
				target = ROOT
				modifier = attempted_diplomacy_opinion_modifier
			}
			country_event = { 
				id = congo_independence_struggle.2
				days = 7
			}
		}

	}
	option = { # We must have independence at all costs
		name = congo_independence_struggle.1.b
		trigger = {
			OR = {
				has_completed_focus = CONGO_soviet_interest
				has_completed_focus = COG_make_use_of_the_british_proposal
			}
		}
		ai_chance = { 
			base = 50 
		}

		add_war_support = 0.100

		custom_effect_tooltip = generic_skip_one_line_tt

		random_country = {
			limit = {
				has_subject = ROOT
			}
			add_opinion_modifier = {
				target = ROOT
				modifier = threatened_us_opinion_modifier
			}	
			country_event = { 
				id = congo_independence_struggle.17
				days = 7
			}
		}

	}
}

# Congo tries to gain independence diplomatically - Event for BEL
country_event = {
	id = congo_independence_struggle.2
	title = congo_independence_struggle.2.t
	desc = congo_independence_struggle.2.d

	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes
	
	option = { # Sure, if they join a faction with us
		name = congo_independence_struggle.2.a
		ai_chance = {
			base = 50
		} 

		add_political_power = 100.000

		FROM = {
			country_event = { 
				id = congo_independence_struggle.3
				days = 7
			}
		}

	}
	option = { # Sure, if they will pay us compensation
		name = congo_independence_struggle.2.b
		ai_chance = { 
			base = 50 
		}

		add_political_power = 100.000

		FROM = {
			country_event = { 
				id = congo_independence_struggle.4
				days = 7
			}
		}

	}
	option = { # We will never let them go willingly
		name = congo_independence_struggle.2.c
		ai_chance = { 
			base = 50 
		}

		add_political_power = -25
		add_war_support = 0.100

		FROM = {
			country_event = { 
				id = congo_independence_struggle.9
				days = 7
			}
		}

	}
}

# They will let us be free if we join their faction - Event for COG
country_event = {
	id = congo_independence_struggle.3
	title = congo_independence_struggle.3.t
	desc = congo_independence_struggle.3.d

	picture = GFX_report_event_ITA_democratic_parlament
	
	is_triggered_only = yes
	
	option = { # It is only right. We accept!
		name = congo_independence_struggle.3.a
		ai_chance = {
			base = 50
		} 

		add_stability = 0.500
		add_war_support = -0.05

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {
			IF = {
				limit = {
					FROM = {
						is_in_faction = yes
					}
				}
				set_global_flag = COG_stays_in_bel_faction_flag
			}

			ROOT = {
				complete_national_focus = CONGO_republic_of_congo
			}

			IF = {
				limit = {
					FROM = {
						is_in_faction = no
					}
				}
				FROM = {
					set_rule = { 
						can_create_factions = yes
					}	
					create_faction = BEL_commonwealth_faction
				}
				FROM = { add_to_faction = ROOT }
			}
		}

		FROM = {
			country_event = { 
				id = congo_independence_struggle.5
				days = 7
			}
		}

	}
	option = { # We can not agree to those conditions...
		name = congo_independence_struggle.3.b
		ai_chance = { 
			base = 50 
		}

		add_stability = -0.05
		add_war_support = 0.500

		FROM = {
			country_event = { 
				id = congo_independence_struggle.6
				days = 7
			}
		}

	}
}

# They will let us be free if we pay compensation - Event for COG
country_event = {
	id = congo_independence_struggle.4
	title = congo_independence_struggle.4.t
	desc = congo_independence_struggle.4.d

	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes
	
	option = { # We will do what we must, we accept...
		name = congo_independence_struggle.4.a
		ai_chance = {
			base = 50
		} 

		add_stability = 0.500
		add_war_support = -0.05

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {
			ROOT = {
				complete_national_focus = CONGO_republic_of_congo
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = COG_long_term_debt_payment
				add_timed_idea = {
					idea = COG_short_term_massive_debt_payment
					days = 180
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			FROM = {
				add_ideas = COG_long_term_debt_recieved
				add_timed_idea = {
					idea = COG_short_term_massive_debt_recieved
					days = 180
				}	
			}
		}

		FROM = {
			country_event = { 
				id = congo_independence_struggle.7
				days = 7
			}
		}

	}
	option = { # We can not agree to those conditions...
		name = congo_independence_struggle.4.b
		ai_chance = { 
			base = 50 
		}

		add_stability = -0.05
		add_war_support = 0.500

		FROM = {
			country_event = { 
				id = congo_independence_struggle.6
				days = 7
			}
		}

	}
}

# Congo becomes free and we make them join our faction - Event for BEL
country_event = {
	id = congo_independence_struggle.5
	title = congo_independence_struggle.5.t
	desc = congo_independence_struggle.5.d

	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes
	
	option = { # Great
		name = congo_independence_struggle.5.a
		ai_chance = {
			base = 100
		} 

		IF = {
			limit = {
				ROOT = {
					is_in_faction = yes
				}
			}
			set_global_flag = COG_stays_in_bel_faction_flag
		}

		FROM = {
			complete_national_focus = CONGO_republic_of_congo
		}

		IF = {
			limit = {
				ROOT = {
					is_in_faction = no
				}
			}
			ROOT = {
				set_rule = { 
					can_create_factions = yes
				}	
				create_faction = BEL_commonwealth_faction
			}
			ROOT = { add_to_faction = FROM }
		}

		hidden_effect = {
			news_event = { 
				id = ww_congo.17
				hours = 0
			}
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Congo will not accept our conditions - Event for BEL
country_event = {
	id = congo_independence_struggle.6
	title = congo_independence_struggle.6.t
	desc = congo_independence_struggle.6.d

	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes
	
	option = { # Offer them to become an overseas department
		name = congo_independence_struggle.6.a
		ai_chance = {
			base = 50
		} 

		add_political_power = -50
		FROM = {
			country_event = { 
				id = congo_independence_struggle.8
				days = 7
			}
		}

	}
	option = { # Then there will be no negotiations
		name = congo_independence_struggle.6.b
		ai_chance = { 
			base = 50 
		}

		add_political_power = -50
		add_war_support = 0.300
		hidden_effect = {
			ROOT = {
				country_event = { 
					id = congo_independence_struggle.9
					days = 7
				}
			}
		}

	}
	option = { # Perhaps they would be willing to be a dominion?
		name = congo_independence_struggle.6.c
		ai_chance = { 
			base = 50 
		}

		add_political_power = 250.000
		FROM = {
			country_event = { 
				id = congo_independence_struggle.23
				days = 7
			}
		}

	}
}

# Congo becomes free and will pay us compensations - Event for BEL
country_event = {
	id = congo_independence_struggle.7
	title = congo_independence_struggle.7.t
	desc = congo_independence_struggle.7.d

	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes
	
	option = { # Great
		name = congo_independence_struggle.7.a
		ai_chance = {
			base = 100
		} 

		FROM = {
			complete_national_focus = CONGO_republic_of_congo
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = COG_long_term_debt_payment
			add_timed_idea = {
				idea = COG_short_term_massive_debt_payment
				days = 180
			}	
		}

		custom_effect_tooltip = generic_skip_one_line_tt

		ROOT = {
			add_ideas = COG_long_term_debt_recieved
			add_timed_idea = {
				idea = COG_short_term_massive_debt_recieved
				days = 180
			}	
		}

		hidden_effect = {
			news_event = { 
				id = ww_congo.17
				hours = 0
			}
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Belgium wants us to be an overseas department - Event for COG
country_event = {
	id = congo_independence_struggle.8
	title = congo_independence_struggle.8.t
	desc = congo_independence_struggle.8.d

	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes
	
	option = { # Fine. We accept
		name = congo_independence_struggle.8.a
		ai_chance = {
			base = 50
		} 

		add_war_support = -0.1
		add_political_power = 1500.000

		custom_effect_tooltip = generic_skip_one_line_tt

		effect_tooltip = {
			FROM = {
				set_autonomy = {
					target = ROOT
					autonomy_state = autonomy_integrated_puppet
					freedom_level = 0.5 
					end_wars  = no
					end_civil_wars = no
				}
			}

			FROM = {
				complete_national_focus = CONGO_overseas_department_of_belgium
			}
		}

		FROM = {
			country_event = { 
				id = congo_independence_struggle.22
				days = 7
			}
		}

	}
	option = { # This is unacceptable, we demand independence!
		name = congo_independence_struggle.8.b
		ai_chance = {
			base = 50
		} 

		add_war_support = 0.500
		add_political_power = -50

		FROM = {
			country_event = { 
				id = congo_independence_struggle.9 
				days = 7
			}
		}

	}
}

# Congo declares a war for independence - Event for BEL
country_event = {
	id = congo_independence_struggle.9
	title = congo_independence_struggle.9.t
	desc = congo_independence_struggle.9.d 

	picture = GFX_report_event_british_artillery
	
	is_triggered_only = yes
	 
	option = { # There is a crisis brewing in the Congo
		name = congo_independence_struggle.9.a
		ai_chance = {
			base = 100
		} 

		custom_effect_tooltip = congolese_civil_war_starting_tt

		hidden_effect = {
			COG = {
				country_event = {
					id = congo_independence_struggle.24
					hours = 0
				}	
			}
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# The Loyalists in Léopoldville Escalate the Conflict - Event for COG 
country_event = {
	id = congo_independence_struggle.24
	title = congo_independence_struggle.24.t
	desc = congo_independence_struggle.24.d 

	picture = GFX_report_event_british_artillery
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			drop_cosmetic_tag = yes
			set_autonomy = {
				target = ROOT
				autonomy_state = autonomy_free
				end_wars  = no
				end_civil_wars = no
			}	
			# Starts the war for independence depending on different factors
			set_global_flag = CONGO_independence_war_ongoing
			start_civil_war = {
				ideology = neutrality
				size = 0.1
				army_ratio = 0.1
				navy_ratio = 1
				air_ratio = 0.4
				capital = 295
				states = { 295 }
				keep_all_characters = yes
				PREV = {  # Original country
		            COG_pierre_ryckmans = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_marcel_maquet = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_robert_de_muelenaere = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_paul_ermens = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_emile_janssens = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_armand_huyghe = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_leopold_de_koninck = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_charles_tombeur = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_fredrik_olsen = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_eugene_jungers = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_auguste_tilkens = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            BEL_albert_de_vleeschauwer = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            set_cosmetic_tag = COG_congo_stanleyville
		        }
		        PREV.PREV = {
		        	promote_character = {
		        		character = COG_pierre_ryckmans 
		        		ideology = oligarchism 
		        	}
		        	set_cosmetic_tag = COG_belgian_congo	
		        	add_dynamic_modifier = {
		        		modifier = COG_force_publique
		        	}	
		        	add_dynamic_modifier = {
		        		modifier = COG_belgian_congo_colonial_dynamic_modifier
		        	}	
		        	
	        		division_template = {
	        		    name = "Division loyale de Léopoldville"
	        		    is_locked = yes
	        		    division_names_group = BEL_INF_01
	        		    regiments = {
	        		        infantry = { x = 0 y = 0 } 
	        		        infantry = { x = 0 y = 1 } 
	        		        infantry = { x = 1 y = 0 }
	        		        infantry = { x = 1 y = 1 }
	        		    }
	        		} 
	        		random_state = {
	        			limit = {
	        				state = 295
	        			}
	        			create_unit = {
	        			    division = "name = \"Première Division Loyale de Léopoldville\" division_template = \"Division loyale de Léopoldville\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
	        			    owner = PREV 
	        			}
	        			create_unit = {
	        			    division = "name = \"Deuxième Division Loyale de Léopoldville\" division_template = \"Division loyale de Léopoldville\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
	        			    owner = PREV 
	        			}
	        		}
		        	
		        }
			}

			IF = {
				limit = {
					has_global_flag = KAT_uprising_in_congolese_independence_war_flag
				}
				889 = {
					transfer_state_to = KAT
					remove_dynamic_modifier = {
						modifier = COG_katanga_separatism_modifier
					}
				}
				BEL = {
					set_autonomy = {
						target = KAT
						autonomy_state = autonomy_colony
						freedom_level = 0.5
						end_wars  = no
						end_civil_wars = no
					}		
				}
				KAT = {

					set_politics = {
						ruling_party = neutrality
						elections_allowed = yes
					}	

					delete_unit_template_and_units = {
						division_template = "Division de Katanga"
						disband = yes #if yes, will refund equipment/manpower.
					}

					division_template = {
						name = "Division de Katanga"		
						division_names_group = BEL_INF_01
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
						}
						support = {
						}
					}

					889 = { 
						create_unit = {
						    division = "name = \"Première Division de Katanga\" division_template = \"Division de Katanga\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
						    owner = KAT
						}
						create_unit = {
						    division = "name = \"Deuxième Division de Katanga\" division_template = \"Division de Katanga\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
						    owner = KAT
						}
					}

					declare_war_on = {
						target = ROOT
						type = civil_war
					}	

				}
			}

			IF = {
				limit = {
					ROOT = {
						has_government = neutrality
					}
				}
				set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}	
			}

			set_capital = {
				state = 718
				remember_old_capital = no
			}

			set_party_name = {
				ideology = neutrality
				long_name = house_of_agua_rosada_long
				name = house_of_agua_rosada
			}

			add_country_leader_role = {
				character =  COG_pedro_vii_alfonso
				promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1969.1.1.1"
					traits = { manikongo_of_kongo } 
				}
			}

			add_country_leader_role = {
				character =  RWA_yuhi_musinga
				promote_leader = yes
				country_leader = {
					ideology = fascism_ideology
					expire = "1969.1.1.1"
					traits = { the_rwandan_collaborstionist_king } 
				}
			}

			718 = {
				add_extra_state_shared_building_slots = 30.000
				add_building_construction = {
					type = arms_factory
					level = 10.000
					instant_build = yes
				}	
			}

			delete_unit_template_and_units = {
				division_template = "Division de L'Armée Nationale Congolaise"
				disband = yes #if yes, will refund equipment/manpower.
			}

			division_template = {
				name = "Division de L'Armée Nationale Congolaise"		
				division_names_group = BEL_INF_01
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
				}
				support = {
				}
			}

			random_state = { 
				limit = {
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					is_core_of = ROOT
				}
				create_unit = {
				    division = "name = \"Première Division de L'Armée Nationale Congolaise\" division_template = \"Division de L'Armée Nationale Congolaise\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Deuxième Division de L'Armée Nationale Congolaise\" division_template = \"Division de L'Armée Nationale Congolaise\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
				    owner = ROOT
				}
			}

			random_state = { 
				limit = {
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					is_core_of = ROOT
				}
				create_unit = {
				    division = "name = \"Troisième Division de L'Armée Nationale Congolaise\" division_template = \"Division de L'Armée Nationale Congolaise\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
				    owner = ROOT
				}
			}

			random_state = { 
				limit = {
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					is_core_of = ROOT
				}
				create_unit = {
				    division = "name = \"Quatrième Division de L'Armée Nationale Congolaise\" division_template = \"Division de L'Armée Nationale Congolaise\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
				    owner = ROOT
				}
			}

			IF = {
				limit = {
					has_global_flag = COG_secured_kasai_militias_flag
				}

				delete_unit_template_and_units = {
					division_template = "Division de L'Armée Sud-Kasaï"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Division de L'Armée Sud-Kasaï"		
					division_names_group = BEL_INF_01
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
					}
					support = {
					}
				}

				888 = { 
					create_unit = {
					    division = "name = \"Première Division de L'Armée Sud-Kasaï\" division_template = \"Division de L'Armée Sud-Kasaï\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Deuxième Division de L'Armée Sud-Kasaï\" division_template = \"Division de L'Armée Sud-Kasaï\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
					    owner = ROOT
					}
				}
			}

			set_global_flag = COG_uprising_happened_flag
		}	
	}

	option = { # This is a war we can ill afford to lose
		name = congo_independence_struggle.24.a
		ai_chance = {
			base = 100
		} 

		custom_effect_tooltip = congolese_civil_war_starting_congo_side_tt

	}
}

# Congo accepts just being an overseas department - Event for BEL
country_event = {
	id = congo_independence_struggle.22
	title = congo_independence_struggle.22.t
	desc = congo_independence_struggle.22.d

	picture = GFX_report_event_generic_sign_treaty2
	
	is_triggered_only = yes
	
	option = { # We have successfully fooled them!
		name = congo_independence_struggle.22.a
		ai_chance = {
			base = 100
		} 

		ROOT = {
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_integrated_puppet
				freedom_level = 0.5 
				end_wars  = no
				end_civil_wars = no
			}
		}

		ROOT = {
			complete_national_focus = CONGO_overseas_department_of_belgium
		}

		hidden_effect = {
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Belgium wants us to be a dominion - Event for COG
country_event = {
	id = congo_independence_struggle.23
	title = congo_independence_struggle.23.t
	desc = congo_independence_struggle.23.d

	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes
	
	option = { # We can agree to that yes
		name = congo_independence_struggle.23.a
		ai_chance = {
			base = 50
		} 

		add_political_power = 500.000
		add_stability = 0.500
		FROM = {
			country_event = { 
				id = congo_independence_struggle.10
				days = 7
			}
		}

	}
	option = { # This is unacceptable, we demand full independence!
		name = congo_independence_struggle.23.b
		ai_chance = {
			base = 50
		} 

		add_political_power = -25
		add_war_support = 0.300
		FROM = {
			country_event = { 
				id = congo_independence_struggle.9
				days = 7
			}
		}

	}
}

# Congo is willing to accept the position of Dominion - Event for BEL
country_event = {
	id = congo_independence_struggle.10
	title = congo_independence_struggle.10.t
	desc = congo_independence_struggle.10.d

	picture = GFX_report_event_generic_sign_treaty1
	
	is_triggered_only = yes
	
	option = { # Sound good to us
		name = congo_independence_struggle.10.a
		ai_chance = {
			base = 50
		} 

		add_political_power = 500.000
		add_stability = 0.100
		add_war_support = 0.100
		FROM = {
			country_event = { 
				id = congo_independence_struggle.11
				days = 7
			}
		}

	}
	option = { # No, they need to be integrated futher, not the other way around!
		name = congo_independence_struggle.10.b
		ai_chance = {
			base = 50
		} 

		add_political_power = -75
		FROM = {
			country_event = { 
				id = congo_independence_struggle.12
				days = 7
			}
		}

	}
}

# We become a dominion of Belgium - Event for COG
country_event = {
	id = congo_independence_struggle.11
	title = congo_independence_struggle.11.t
	desc = congo_independence_struggle.11.d

	picture = GFX_report_event_journalists_speech
	
	is_triggered_only = yes
	
	option = { # At least we got autonomy...
		name = congo_independence_struggle.11.a
		ai_chance = {
			base = 100
		} 

		add_political_power = 1000.000
		add_war_support = -0.05
		add_stability = 0.500

		ROOT = {
			complete_national_focus = CONGO_dominion_of_congo
		}

		hidden_effect = {
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Belgium rejects the dominion solution - Event for COG
country_event = {
	id = congo_independence_struggle.12
	title = congo_independence_struggle.12.t
	desc = congo_independence_struggle.12.d

	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes
	
	option = { # Alright, threaten war!
		name = congo_independence_struggle.12.a
		ai_chance = {
			base = 50
		} 

		add_war_support = 0.300
		add_political_power = -25
		FROM = {
			country_event = { 
				id = congo_independence_struggle.14
				days = 7
			}
		}

	}
	option = { # We should back down, an overseas territory isn't all to bad
		name = congo_independence_struggle.12.b
		ai_chance = {
			base = 50
		} 

		add_stability = -0.03
		add_political_power = 500.000
		FROM = {
			country_event = { 
				id = congo_independence_struggle.13
				days = 7
			}
		}

	}
}

# Congo backs down and becomes an overseas territory - Event for BEL
country_event = {
	id = congo_independence_struggle.13
	title = congo_independence_struggle.13.t
	desc = congo_independence_struggle.13.d

	picture = GFX_report_event_journalists_speech
	
	is_triggered_only = yes
	
	option = { # Perfect!
		name = congo_independence_struggle.13.a
		ai_chance = {
			base = 100
		} 

		ROOT = {
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_integrated_puppet
				freedom_level = 0.5 
				end_wars  = no
				end_civil_wars = no
			}
		}

		ROOT = {
			complete_national_focus = CONGO_overseas_department_of_belgium
		}

		hidden_effect = {
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Congo threatens war - Event for BEL
country_event = {
	id = congo_independence_struggle.14
	title = congo_independence_struggle.14.t
	desc = congo_independence_struggle.14.d

	picture = GFX_report_event_journalists_speech
	
	is_triggered_only = yes
	
	option = { # Then war they shall have!
		name = congo_independence_struggle.14.a
		ai_chance = {
			base = 50
		} 

		add_war_support = 0.100
		FROM = {
			country_event = { 
				id = congo_independence_struggle.15
				days = 7
			}
		}

	}
	option = { # We cannot risk war with them...
		name = congo_independence_struggle.14.b
		ai_chance = {
			base = 50
		} 

		add_war_support = -0.01
		add_political_power = 100.000
		FROM = {
			country_event = { 
				id = congo_independence_struggle.16
				days = 7
			}
		}

	}
}

# Belgium won't leave without a fight (war for independence time) - Event for COG
country_event = {
	id = congo_independence_struggle.15
	title = congo_independence_struggle.15.t
	desc = congo_independence_struggle.15.d

	picture = GFX_report_event_british_artillery
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			drop_cosmetic_tag = yes
			set_autonomy = {
				target = ROOT
				autonomy_state = autonomy_free
				end_wars  = no
				end_civil_wars = no
			}	
			# Starts the war for independence depending on different factors
			set_global_flag = CONGO_independence_war_ongoing
			start_civil_war = {
				ideology = neutrality
				size = 0.1
				army_ratio = 0.1
				navy_ratio = 1
				air_ratio = 0.4
				capital = 295
				states = { 295 }
				keep_all_characters = yes
				PREV = {  # Original country
		            COG_pierre_ryckmans = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_marcel_maquet = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_robert_de_muelenaere = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_paul_ermens = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_emile_janssens = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_armand_huyghe = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_leopold_de_koninck = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_charles_tombeur = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_fredrik_olsen = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_eugene_jungers = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            COG_auguste_tilkens = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            BEL_albert_de_vleeschauwer = { # Character
		                set_nationality = PREV.PREV
		                # Transfers to breakaway
		            }
		            set_cosmetic_tag = COG_congo_stanleyville
		        }
		        PREV.PREV = {
		        	promote_character = {
		        		character = COG_pierre_ryckmans 
		        		ideology = oligarchism 
		        	}
		        	set_cosmetic_tag = COG_belgian_congo	
		        	add_dynamic_modifier = {
		        		modifier = COG_force_publique
		        	}	
		        	add_dynamic_modifier = {
		        		modifier = COG_belgian_congo_colonial_dynamic_modifier
		        	}	
		        	
	        		division_template = {
	        		    name = "Division loyale de Léopoldville"
	        		    is_locked = yes
	        		    division_names_group = BEL_INF_01
	        		    regiments = {
	        		        infantry = { x = 0 y = 0 } 
	        		        infantry = { x = 0 y = 1 } 
	        		        infantry = { x = 1 y = 0 }
	        		        infantry = { x = 1 y = 1 }
	        		    }
	        		} 
	        		random_state = {
	        			limit = {
	        				state = 295
	        			}
	        			create_unit = {
	        			    division = "name = \"Première Division Loyale de Léopoldville\" division_template = \"Division loyale de Léopoldville\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
	        			    owner = PREV 
	        			}
	        			create_unit = {
	        			    division = "name = \"Deuxième Division Loyale de Léopoldville\" division_template = \"Division loyale de Léopoldville\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
	        			    owner = PREV 
	        			}
	        		}
		        	
		        }
			}

			IF = {
				limit = {
					has_global_flag = KAT_uprising_in_congolese_independence_war_flag
				}
				889 = {
					transfer_state_to = KAT
					remove_dynamic_modifier = {
						modifier = COG_katanga_separatism_modifier
					}
				}
				BEL = {
					set_autonomy = {
						target = KAT
						autonomy_state = autonomy_colony
						freedom_level = 0.5
						end_wars  = no
						end_civil_wars = no
					}		
				}
				KAT = {

					set_politics = {
						ruling_party = neutrality
						elections_allowed = yes
					}	

					delete_unit_template_and_units = {
						division_template = "Division de Katanga"
						disband = yes #if yes, will refund equipment/manpower.
					}

					division_template = {
						name = "Division de Katanga"		
						division_names_group = BEL_INF_01
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
						}
						support = {
						}
					}

					889 = { 
						create_unit = {
						    division = "name = \"Première Division de Katanga\" division_template = \"Division de Katanga\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
						    owner = KAT
						}
						create_unit = {
						    division = "name = \"Deuxième Division de Katanga\" division_template = \"Division de Katanga\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
						    owner = KAT
						}
					}

					declare_war_on = {
						target = ROOT
						type = civil_war
					}	

				}
			}

			IF = {
				limit = {
					ROOT = {
						has_government = neutrality
					}
				}
				set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}	
			}

			set_capital = {
				state = 718
				remember_old_capital = no
			}

			set_party_name = {
				ideology = neutrality
				long_name = house_of_agua_rosada_long
				name = house_of_agua_rosada
			}

			add_country_leader_role = {
				character =  COG_pedro_vii_alfonso
				promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1969.1.1.1"
					traits = { manikongo_of_kongo } 
				}
			}

			add_country_leader_role = {
				character =  RWA_yuhi_musinga
				promote_leader = yes
				country_leader = {
					ideology = fascism_ideology
					expire = "1969.1.1.1"
					traits = { the_rwandan_collaborstionist_king } 
				}
			}

			718 = {
				add_extra_state_shared_building_slots = 30.000
				add_building_construction = {
					type = arms_factory
					level = 10.000
					instant_build = yes
				}	
			}

			delete_unit_template_and_units = {
				division_template = "Division de L'Armée Nationale Congolaise"
				disband = yes #if yes, will refund equipment/manpower.
			}

			division_template = {
				name = "Division de L'Armée Nationale Congolaise"		
				division_names_group = BEL_INF_01
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
				}
				support = {
				}
			}

			random_state = { 
				limit = {
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					is_core_of = ROOT
				}
				create_unit = {
				    division = "name = \"Première Division de L'Armée Nationale Congolaise\" division_template = \"Division de L'Armée Nationale Congolaise\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Deuxième Division de L'Armée Nationale Congolaise\" division_template = \"Division de L'Armée Nationale Congolaise\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
				    owner = ROOT
				}
			}

			random_state = { 
				limit = {
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					is_core_of = ROOT
				}
				create_unit = {
				    division = "name = \"Troisième Division de L'Armée Nationale Congolaise\" division_template = \"Division de L'Armée Nationale Congolaise\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
				    owner = ROOT
				}
			}

			random_state = { 
				limit = {
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					is_core_of = ROOT
				}
				create_unit = {
				    division = "name = \"Quatrième Division de L'Armée Nationale Congolaise\" division_template = \"Division de L'Armée Nationale Congolaise\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
				    owner = ROOT
				}
			}

			IF = {
				limit = {
					has_global_flag = COG_secured_kasai_militias_flag
				}

				delete_unit_template_and_units = {
					division_template = "Division de L'Armée Sud-Kasaï"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Division de L'Armée Sud-Kasaï"		
					division_names_group = BEL_INF_01
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
					}
					support = {
					}
				}

				888 = { 
					create_unit = {
					    division = "name = \"Première Division de L'Armée Sud-Kasaï\" division_template = \"Division de L'Armée Sud-Kasaï\" start_experience_factor = 0.4 start_equipment_factor = 0.8"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Deuxième Division de L'Armée Sud-Kasaï\" division_template = \"Division de L'Armée Sud-Kasaï\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
					    owner = ROOT
					}
				}
			}

			set_global_flag = COG_uprising_happened_flag
		}	
	}
	
	option = { # We will prevail
		name = congo_independence_struggle.15.a
		ai_chance = {
			base = 100
		} 

		custom_effect_tooltip = congolese_civil_war_starting_congo_side_tt

		hidden_effect = {
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Belgium backs down and lets us have independence - Event for COG
country_event = {
	id = congo_independence_struggle.16
	title = congo_independence_struggle.16.t
	desc = congo_independence_struggle.16.d

	picture = GFX_report_event_journalists_speech
	
	is_triggered_only = yes
	
	option = { # Today is a day for celebration!
		name = congo_independence_struggle.16.a
		ai_chance = {
			base = 100
		} 

		complete_national_focus = CONGO_republic_of_congo

		hidden_effect = {
			news_event = { 
				id = ww_congo.17
				hours = 0
			}
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Congo seeks independence at all costs - Event for BEL
country_event = {
	id = congo_independence_struggle.17
	title = congo_independence_struggle.17.t
	desc = congo_independence_struggle.17.d

	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes
	
	option = { # We have no choice but to accept
		name = congo_independence_struggle.17.a
		ai_chance = {
			base = 50
		} 

		add_war_support = -0.05
		add_political_power = 750.000
		FROM = {
			country_event = { 
				id = congo_independence_struggle.18
				days = 7
			}
		}

	}
	option = { # They are delusional!
		name = congo_independence_struggle.17.b
		ai_chance = {
			base = 50
		} 

		add_war_support = 0.200
		add_political_power = -50
		FROM = {
			country_event = { 
				id = congo_independence_struggle.19
				days = 7
			}
		}

	}
}

# Belgium lets us go free - Event for COG
country_event = {
	id = congo_independence_struggle.18
	title = congo_independence_struggle.18.t
	desc = congo_independence_struggle.18.d

	picture = GFX_report_event_journalists_speech
	
	is_triggered_only = yes
	
	option = { # Today is a day for celebration!
		name = congo_independence_struggle.18.a
		ai_chance = {
			base = 100
		} 

		complete_national_focus = CONGO_republic_of_congo

		custom_effect_tooltip = generic_skip_one_line_tt

		IF = {
			limit = {
				ROOT = {
					has_completed_focus = COG_make_use_of_the_british_proposal
				}
				ENG = {
					NOT = {
						has_war_with = ROOT
					}
				}
			}
			IF = {
				limit = {
					538 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				give_resource_rights = { receiver = ENG state = 538 }
			}
			IF = {
				limit = {
					890 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				give_resource_rights = { receiver = ENG state = 890 }
			}
		}
		IF = {
			limit = {
				ROOT = {
					has_completed_focus = CONGO_soviet_interest
				}
			}
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
		}

		hidden_effect = {
			news_event = { 
				id = ww_congo.17
				hours = 0
			}
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Belgium is prepared to go to war - Event for COG
country_event = {
	id = congo_independence_struggle.19
	title = congo_independence_struggle.19.t
	desc = congo_independence_struggle.19.d

	picture = GFX_report_event_british_inspect_troops
	
	is_triggered_only = yes
	
	option = { # It's go time!
		name = congo_independence_struggle.19.a
		ai_chance = {
			base = 90
		} 

		add_war_support = 0.100
		FROM = {
			country_event = { 
				id = congo_independence_struggle.20
				days = 7
			}
		}

	}
	option = { # This is too dangerous. We must back down...
		name = congo_independence_struggle.19.b
		ai_chance = {
			base = 10
		} 

		add_stability = 0.200
		add_political_power = -100
		FROM = {
			country_event = { 
				id = congo_independence_struggle.21
				days = 7
			}
		}

	}
}

# The Congo declares a war for Independence! - Event for BEL
country_event = {
	id = congo_independence_struggle.20
	title = congo_independence_struggle.20.t
	desc = congo_independence_struggle.20.d

	picture = GFX_report_event_chinese_soldiers
	
	is_triggered_only = yes
	
	option = { # To arms brothers!
		name = congo_independence_struggle.20.a
		ai_chance = {
			base = 100
		} 

		custom_effect_tooltip = congolese_civil_war_starting_tt

		hidden_effect = {
			FROM = {
				country_event = {
					id = congo_independence_struggle.24
					hours = 0
				}	
			}
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}

# Congo backs down and becomes an Overseas Department - Event for BEL
country_event = {
	id = congo_independence_struggle.21
	title = congo_independence_struggle.21.t
	desc = congo_independence_struggle.21.d

	picture = GFX_report_event_journalists_speech
	
	is_triggered_only = yes
	
	option = { # Glory to the Belgian empire!
		name = congo_independence_struggle.21.a
		ai_chance = {
			base = 100
		} 

		ROOT = {
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_integrated_puppet
				freedom_level = 0.5 
				end_wars  = no
				end_civil_wars = no
			}
		}

		ROOT = {
			complete_national_focus = CONGO_overseas_department_of_belgium
		}

		hidden_effect = {
			clr_global_flag = COG_BEL_negotiations_ongoing_flag
		}

	}
}


