#########################
# Togoland Events
#################
# By Chairman Joe
#########################

add_namespace = togo


###Togolese Situation
country_event = {
	id = togo.1
	title = togo.1.t
	desc = togo.1.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.1" }
	picture = GFX_report_event_togoland
	
	fire_only_once = yes
	
	is_triggered_only = yes
	
trigger = { 
		tag = TOG
	}
	
	option = { # Olympio
		name = togo.1.a
		hidden_effect = {
			country_event = {
				id = togo.2
				days = 5
			}
		}
		drop_cosmetic_tag = yes
	}
	
	option = { # Germans
		name = togo.1.b
		set_country_flag = TOG_germans_stay
		random_unit_leader = {
			limit = { has_id = 12734 }
			promote_leader = yes
		}
	}
}

###Olympio Takeover
country_event = {
	id = togo.2
	title = togo.2.t
	desc = togo.2.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.2" }
	picture = GFX_report_event_CIV_olympio
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = togo.2.a
		set_politics = {
			ruling_party = market_liberal
			elections_allowed = no
		}
		remove_all_ministers = yes
		add_ideas = {
			TOG_Sylvanus_Olympio_hog_mli
			TOG_Siru_Pedro_Olympio_for_mli
			TOG_Octaviano_Olympio_eco_mli
			TOG_Luciano_Olympio_sec_sli
		}
		swap_ideas = {
			remove_idea = TOG_colonial_unrest
			add_idea = TOG_general_unrest
		}
		add_socdem_to_coalition = yes
		hidden_effect = {
			country_event = {
				id = togo.3
				days = 5
			}
		}
	}
}

country_event = { #Election Promised
	id = togo.3
	title = togo.3.t
	desc = togo.3.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.1" }
	picture = GFX_report_event_AST_election
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = {
		name = togo.3.a
		hidden_effect = {
			country_event = {
				id = togo.4
				days = 5
			}
		}
	}
}

country_event = { #Election Promised, again
	id = togo.4
	title = togo.4.t
	desc = togo.4.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.4" }
	picture = GFX_report_event_AST_election
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #hold through
		name = togo.4.a
		hidden_effect = {
			country_event = {
				id = togo.7
				days = 5
			}
		}
	
	}
	
	option = { #delay more
		name = togo.4.b
		hidden_effect = {
			country_event = {
				id = togo.5
				days = 5
			}
		}
	}
}

country_event = { #People mad
	id = togo.5
	title = togo.5.t
	desc = togo.5.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.5" }
	picture = GFX_report_event_RAJ_protest2
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #ok elections
		name = togo.5.b
		hidden_effect = {
			country_event = {
				id = togo.7
				days = 5
			}
		}
	}
	
	option = { #nah
		name = togo.5.a
		hidden_effect = {
			country_event = {
				id = togo.6
				days = 5
			}
		}
	}
}

country_event = { #coup time
	id = togo.6
	title = togo.6.t
	desc = togo.6.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.6" }
	picture = GFX_report_event_CIV_dadjo 
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #damn
		name = togo.6.a
		set_politics = {
			ruling_party = paternal_autocrat
			elections_allowed = no
		}
		remove_all_ministers = yes
		add_ideas = {
			TOG_Kleber_Dadjo_hog_pau
			TOG_Nicolas_Grunitzky_for_pau
			TOG_Mawupe_Valentin_Vovor_eco_pau
			TOG_Kleber_Dadjo_sec_pau
		}
		set_country_flag = TOG_provisional_junta
	}
}
	
country_event = { #election time
	id = togo.7
	title = togo.7.t
	desc = togo.7.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.7" }
	picture = GFX_report_event_togoland
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #olympio
		name = togo.7.a
		set_politics = {
			ruling_party = market_liberal
			elections_allowed = no
		}
		remove_all_ministers = yes
		add_ideas = {
			TOG_Sylvanus_Olympio_hog_mli
			TOG_Siru_Pedro_Olympio_for_mli
			TOG_Octaviano_Olympio_eco_mli
			TOG_Luciano_Olympio_sec_sli
		}
		set_country_flag = TOG_republic
		add_socdem_to_coalition = yes
	}
	
	option = { #soccon guy
		name = togo.7.b
		set_politics = {
			ruling_party = social_conservative
			elections_allowed = no
		}
		remove_all_ministers = yes
		add_ideas = {
			TOG_Jonathan_Savi_de_Tove_hog_sco
			TOG_Nicolas_Grunitzky_for_sco
			TOG_Antoine_Meatchi_eco_sco
			TOG_Tabi_of_Tchokossi_sec_sco
		}
		set_country_flag = TOG_republic
		set_country_flag = TOG_stable
	}
}
	
country_event = { #ashanti
	id = togo.8
	title = togo.8.t
	desc = togo.8.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.8" }
	picture = GFX_report_event_generic_diplomacy1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #peaceful
		name = togo.8.a
		create_wargoal = { type = annex_everything target = GHA }
	}
	
	option = { #violent
		name = togo.8.b
		GHA = {
			country_event = {
				id = togo.9
				days = 5
			}
		}
	}
	
}

country_event = { #ashanti
	id = togo.9
	title = togo.9.t
	desc = togo.9.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.9" }
	picture = GFX_report_event_generic_diplomacy1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #yes
		name = togo.9.a
		ai_chance = {
			factor = 50
			modifier = { #
				factor = 20
				TOG = {
					has_government = market_liberal
				}
			}
		}
		TOG = {
			country_event = {
				id = togo.10
				days = 5
			}
		}
	}
	
	option = { #no
		ai_chance = {
			factor = 50
			modifier = { #
				factor = 20
				TOG = {
					NOT = {
						has_government = market_liberal
					}
				}
			}
		}
		name = togo.9.b
		TOG = {
			country_event = {
				id = togo.11
				days = 5
			}
		}
	}
	
}
	
country_event = { #ashanti says yes
	id = togo.10
	title = togo.10.t
	desc = togo.10.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.10" }
	picture = GFX_report_event_generic_diplomacy1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #yes
		name = togo.10.a
		annex_country = {
			target = GHA
			transfer_troops = yes
		}
	}
	
}
	
country_event = { #ashanti says no
	id = togo.11
	title = togo.11.t
	desc = togo.11.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.11" }
	picture = GFX_report_event_generic_diplomacy1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #war
		name = togo.11.a
		create_wargoal = { type = annex_everything target = GHA }
	}
	
	option = { #live with it
		name = togo.11.b
		
	}
	
}
		
country_event = { #demands from togo
	id = togo.12
	title = togo.12.t
	desc = togo.12.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.12" }
	picture = GFX_report_event_togoland
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #no
		ai_chance = {
			factor = 35
			modifier = { #
				factor = 50
			}
		}
		name = togo.12.a
		TOG = {
			country_event = {
				id = togo.15
				days = 2
			}
		}
	}
	
	option = { #accept for consessions
		ai_chance = {
			factor = 50
			modifier = { #
				factor = 50
			}
		}
		name = togo.12.b
		country_event = {
			id = togo.14
			days = 2
		}
	}
	
	option = { #just accept
		ai_chance = {
			factor = 15
			modifier = { #
				factor = 50
			}
		}
		name = togo.12.c
		TOG = {
			country_event = {
				id = togo.16
				days = 2
			}
		}
		
	}
	
}
	
country_event = { #what do we want
	id = togo.14
	title = togo.14.t
	desc = togo.14.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.14" }
	picture = GFX_report_event_togoland
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #togo to join the entente
		ai_chance = {
			factor = 33
			
		}
		name = togo.14.a
		TOG = {
			country_event = {
				id = togo.17
				days = 1
			}
		}
		set_country_flag = TOG_ent_demand
	}
	
	option = { #puppet
		ai_chance = {
			factor = 33
			
		}
		name = togo.14.b
		TOG = {
			country_event = {
				id = togo.17
				days = 1
			}
		}
		set_country_flag = TOG_pup_demand
	}
	
	option = { #consessions
		ai_chance = {
			factor = 33
			
		}
		name = togo.14.c
		TOG = {
			country_event = {
				id = togo.17
				days = 1
			}
		}
		set_country_flag = TOG_con_demand
	}
}
		
country_event = { #France says no
	id = togo.15
	title = togo.15.t
	desc = togo.15.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.15" }
	picture = GFX_report_event_togoland
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #damn
		
		name = togo.15.a
		
	}
	
	option = { #war
		
		name = togo.15.b
		create_wargoal = { type = annex_everything target = NFA }
	}
}
			
country_event = { #France says yes
	id = togo.16
	title = togo.16.t
	desc = togo.16.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.16" }
	picture = GFX_report_event_togoland	
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #yay
		name = togo.16.a
		annex_country = {
			target = DAH
			transfer_troops = yes
		}
		transfer_state = 807
		transfer_state = 963
	}
	
}
			
country_event = { #France says yes
	id = togo.17
	title = togo.17.t
	desc = {
		text = togo.17.d.puppet
	trigger = {
			has_country_flag = TOG_pup_demand
		}
	}
	desc = {
		text = togo.17.d.entente
	trigger = {
			has_country_flag = TOG_ent_demand
		}
	}
	desc = {
		text = togo.17.d.consessions
	trigger = {
			has_country_flag = TOG_con_demand
		}
	}
	
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.17" }
	picture = GFX_report_event_generic_diplomacy1
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #yay
	trigger = {
			has_country_flag = TOG_pup_demand
		}
		name = togo.17.a
		annex_country = {
			target = DAH
			transfer_troops = yes
		}
		transfer_state = 807
		transfer_state = 963
		get_current_government_type = yes
		NFA = {
			puppet = TOG
		}
		restore_previous_government_type = yes
	}
	
	option = { #yay
		name = togo.17.a
	trigger = {
			has_country_flag = TOG_ent_demand
		}
		annex_country = {
			target = DAH
			transfer_troops = yes
		}
		transfer_state = 807
		transfer_state = 963
		ENT = {
			add_to_faction = TOG
		}
	}
	
	option = { #yay
		name = togo.17.a
	trigger = {
			has_country_flag = TOG_ent_demand
		}
		annex_country = {
			target = DAH
			transfer_troops = yes
		}
		transfer_state = 807
		transfer_state = 963
		add_ideas = TOG_french_consessions
	}
	
	option = { #no
		name = togo.17.b
		create_wargoal = { type = annex_everything target = NFA }
	}
	
}
				
country_event = { #west africa formed
	id = togo.18
	title = togo.18.t
	desc = togo.18.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.18" }
	picture = GFX_report_event_CIV_generic
	
	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 180
	}
	
trigger = {
		tag = TOG
		owns_state = 807
		owns_state = 963
		owns_state = 274
		owns_state = 1321
		owns_state = 1322
		owns_state = 1323
		owns_state = 876
		NOT = {
			has_government = authoritarian_democrat
			has_cosmetic_tag = TOG_FED
			has_cosmetic_tag = TOG_FED_2
		}
	}
	
	option = { #yay
		name = togo.18.a
		if = {
			limit = {
				NOT = {
					is_subject_of = CZE
				}
			}
			set_cosmetic_tag = TOG_FED
		}
		add_state_core = 807
		add_state_core = 963
		add_state_core = 274
		add_state_core = 1321
		add_state_core = 1322
		add_state_core = 1323
		add_state_core = 876
	}
	
}	
			
country_event = { #west africa reformed
	id = togo.19
	title = togo.19.t
	desc = togo.19.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.19" }
	picture = GFX_report_event_CIV_generic
	
	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 180
	}
	
trigger = {
		tag = TOG
		owns_state = 807
		owns_state = 963
		owns_state = 274
		owns_state = 1321
		owns_state = 1322
		owns_state = 1323
		owns_state = 876
		NOT = {
			has_cosmetic_tag = TOG_FED
			has_cosmetic_tag = TOG_FED_2
		}
		has_government = authoritarian_democrat
	}
	
	option = { #yay
		name = togo.18.a
		if = {
			limit = {
				NOT = {
					is_subject_of = CZE
				}
			}
			set_cosmetic_tag = CIV
		}
		add_state_core = 807
		add_state_core = 963
		add_state_core = 274
		add_state_core = 1321
		add_state_core = 1322
		add_state_core = 1323
		add_state_core = 876
	}
	
}
country_event = { #german flavor event
	id = togo.20
	title = togo.20.t
	desc = togo.20.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.20" }
	picture = GFX_report_event_togoland	
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #yay
		name = togo.20.a
		add_political_power = 50
	}
	
}
country_event = { #northern flavor event
	id = togo.21
	title = togo.21.t
	desc = togo.21.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.21" }
	picture = GFX_report_event_togoland	
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	option = { #yay
		name = togo.21.a
		add_political_power = 50
	}
	
}

country_event = { #dadjoke flavor
	id = togo.22
	title = togo.22.t
	desc = togo.22.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.22" }
	picture = GFX_report_event_CIV_togo

	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #yay
		name = togo.22.a
		add_political_power = 50
	}
	
}

country_event = { #olympio guy dies
	id = togo.23
	title = togo.23.t
	desc = togo.23.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.23" }
	picture = GFX_report_event_CAN_death_george	

	mean_time_to_happen = {
		days = 180
	}
	
	fire_only_once = yes
trigger = {
		tag = TOG
		date > 1940.2.3
	}
	
	option = { #nay
		name = togo.23.a
		add_political_power = -50
		remove_ideas = TOG_Octaviano_Olympio_eco_mli
		add_ideas = TOG_Mawupe_Valentin_Vovor_eco_pau
	}
	
}

country_event = { #MAF reformed
	id = togo.24
	title = togo.24.t
	desc = togo.24.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.24" }
	picture = GFX_report_event_MAF_askari
	
	mean_time_to_happen = {
		days = 180
	}
	
	fire_only_once = yes
trigger = {
		tag = TOG
		has_country_flag = TOG_MAF_TIME
		NOT = {
			country_exists = COG
			country_exists = ZAM
			country_exists = CIV
			country_exists = CMR
			country_exists = NGR
			country_exists = MSF
			country_exists = UMN
			country_exists = TZN
		}
	}
	
	option = { #nay
		name = togo.24.a
		if = {
			limit = {
				NOT = {
					is_subject_of = CZE
				}
			}
			set_cosmetic_tag = COG_NEW_MAF
		}
	}
	
}
	
country_event = { #kaiser visit
	id = togo.25
	title = togo.25.t
	desc = togo.25.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.25" }
	picture = GFX_report_event_CIV_togo
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	option = { #nay
		name = togo.25.a
		add_stability = 0.02
	}
	
}	

country_event = { #askari 
	id = togo.26
	title = togo.26.t
	desc = togo.26.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.26" }
	picture = GFX_report_event_MAF_askari
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #nay
		name = togo.26.a
		add_war_support = 0.01
	}
	
}

country_event = { #rich guy 
	id = togo.27
	title = togo.27.t
	desc = togo.27.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.27" }
	picture = GFX_report_event_CIV_olympio
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	option = { #nay
		name = togo.27.a
		add_stability = 0.01
	}
	
}
	
country_event = { #rich guy 
	id = togo.29
	title = togo.29.t
	desc = togo.29.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.29" }
	picture = GFX_report_event_CIV_olympio
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	option = { #nay
		name = togo.29.a
		add_stability = -0.01
	}
	
}
		
country_event = { #unity
	id = togo.30
	title = togo.30.t
	desc = togo.30.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.30" }
	picture = GFX_report_event_CIV_togo
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	option = { #nay
		name = togo.30.a
		add_stability = 0.01
	}
	
}	
	
country_event = { #unity
	id = togo.31
	title = togo.31.t
	desc = togo.31.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.31" }
	picture = GFX_report_event_CIV_togo
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	option = { #nay
		name = togo.31.a
		add_stability = 0.01
	}
	
}	

country_event = { #garde face
	id = togo.32
	title = togo.32.t
	desc = togo.32.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.32" }
	picture = GFX_report_event_CIV_dadjo
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	option = { #nay
		name = togo.32.a
		add_stability = 0.01
	}
	
}

country_event = { #junta
	id = togo.33
	title = togo.33.t
	desc = togo.33.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.33" }
	picture = GFX_report_event_CIV_dadjo
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes
	
	option = { #nay
		name = togo.33.a
		add_stability = 0.01
	}
	
}

country_event = { #I LOVE GOOOOOOOOOOOOOOOOLLLLLLLLLLLLDDDDDDDDDDDD
	id = togo.34
	title = togo.34.t
	desc = togo.34.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.34" }
	picture = GFX_report_event_CIV_olympio
	
	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 365
	}
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

trigger = {
		tag = TOG
		TOG = {
			has_country_leader = { ruling_only = yes name = "Sylvanus Olympio" }
		}
		OR = {
			KIV = {
				has_country_leader = { ruling_only = yes name = "Moïse Tshombe" }
			}
			UMN = {
				has_country_leader = { ruling_only = yes name = "Moïse Tshombe" }
			}
		}
	}
	
	option = { #cool
		name = togo.34.a
		add_stability = 0.01
	}
	
}

country_event = { #I LOVE GOOOOOOOOOOOOOOOOLLLLLLLLLLLLDDDDDDDDDDDD
	id = togo.35
	title = togo.34.t
	desc = togo.34.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.35" }
	picture = GFX_report_event_CIV_olympio
	
	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 365
	}
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

trigger = {
		tag = KIV
		TOG = {
			has_country_leader = { ruling_only = yes name = "Sylvanus Olympio" }
		}
		OR = {
			KIV = {
				has_country_leader = { ruling_only = yes name = "Moïse Tshombe" }
			}
			UMN = {
				has_country_leader = { ruling_only = yes name = "Moïse Tshombe" }
			}
		}
	}
	
	option = { #cool
		name = togo.34.a
		add_stability = 0.02
	}
	
}

country_event = { #I LOVE GOOOOOOOOOOOOOOOOLLLLLLLLLLLLDDDDDDDDDDDD
	id = togo.36
	title = togo.34.t
	desc = togo.34.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.36" }
	picture = GFX_report_event_CIV_olympio
	
	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 365
	}
	
	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

trigger = {
		tag = UMN
		TOG = {
			has_country_leader = { ruling_only = yes name = "Sylvanus Olympio" }
		}
		OR = {
			KIV = {
				has_country_leader = { ruling_only = yes name = "Moïse Tshombe" }
			}
			UMN = {
				has_country_leader = { ruling_only = yes name = "Moïse Tshombe" }
			}
		}
	}
	
	option = { #cool
		name = togo.34.a
		add_stability = 0.02
	}
	
}

country_event = { #Soclib Togo
	id = togo.37
	title = togo.37.t
	desc = togo.37.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.37" }
	picture = GFX_report_event_CIV_grunitzky
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #stick with Tove
		name = togo.37.a
		add_political_power = 75
		add_stability = 0.075
		increase_ruling_party_popularity_by_10 = yes
	}
	option = { #stick with Tove but merge parties
		name = togo.37.b
		add_political_power = 50
		add_popularity = {
			ideology = social_liberal
			popularity = 0.05
		}
		set_party_name = {
			ideology = social_conservative
			long_name = "Demokratische Union der Togolesischen Bevölkerung"
			name = "DUTB"
		}
		set_party_name = {
			ideology = social_liberal
			long_name = "Demokratische Union der Togolesischen Bevölkerung"
			name = "DUTB"
		}
		add_soclib_to_coalition = yes
	}
	option = { #go with Grunitzky
		name = togo.37.c
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = no
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.10
		}
		set_party_name = {
			ideology = social_conservative
			long_name = "Demokratische Union der Togolesischen Bevölkerung"
			name = "DUTB"
		}
		set_party_name = {
			ideology = social_liberal
			long_name = "Demokratische Union der Togolesischen Bevölkerung"
			name = "DUTB"
		}
		add_soccon_to_coalition = yes
		hidden_effect = {
		remove_ideas_with_trait = head_of_government
		add_ideas = TOG_Antoine_Meatchi_hog_sli
		}
	}
}

country_event = { #Olympio ideology picker
	id = togo.38
	title = togo.38.t
	desc = togo.38.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.38" }
	picture = GFX_report_event_CIV_olympio
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #
		name = togo.38.a
		add_political_power = 50
		add_stability = 0.05
		increase_ruling_party_popularity_by_3 = yes
		set_country_leader_ideology = free_market_capitalist_subtype
	}
	option = { #
		name = togo.38.b
		add_political_power = 50
		add_stability = 0.05
		increase_ruling_party_popularity_by_3 = yes
		set_country_leader_ideology = marlib_national_liberalism_subtype
	}
	option = { #
		name = togo.38.c
		add_political_power = 50
		add_stability = 0.05
		set_politics = {
			ruling_party = social_democrat
			elections_allowed = no
		}
		create_country_leader = {
			name = "Sylvanus Olympio"
			desc = "POLITICS_Olyimpio_DESC"
			picture = "gfx/leaders/TOG/Portrait_TOG_Olympio.png"
			expire = "1.1.1"
			ideology = socdem_humanistic_capitalism_subtype
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.15
		}
		add_marlib_to_coalition = yes
	}
}

country_event = { #Dadjo ideology picker
	id = togo.39
	title = togo.39.t
	desc = togo.39.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.39" }
	picture = GFX_report_event_CIV_dadjo
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #
		name = togo.39.a
		add_political_power = 50
		add_stability = 0.05
		increase_ruling_party_popularity_by_3 = yes
	}
	option = { #
		name = togo.39.b
		add_political_power = 50
		add_stability = 0.05
		increase_ruling_party_popularity_by_3 = yes
		set_country_leader_ideology = kleptocracy_subtype
	}
	option = { #
		name = togo.39.c
		add_political_power = 50
		add_stability = 0.05
		increase_ruling_party_popularity_by_3 = yes
		set_country_leader_ideology = pataut_warlordism_subtype
	}
	option = { #
		name = togo.39.e
		add_political_power = 50
		add_stability = 0.05
		increase_ruling_party_popularity_by_3 = yes
		create_country_leader = {
			name = "Jonathan Savi de Tové"
			desc = "POLITICS_SAVI_TOVE_DESC"
			picture = "gfx/leaders/TOG/Portrait_TOG_Tove.png"
			expire = "1.1.1"
			ideology = pataut_clientelism_subtype
		}
		add_popularity = {
			ideology = social_conservative
			popularity = 0.10
		}
		add_soccon_to_coalition = yes
	}
}

country_event = { #A Flag Fit for Togo
	id = togo.40
	title = togo.40.t
	desc = togo.40.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.40" }
	picture = GFX_report_event_generic_diplomacy1	
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #KR flag
		name = togo.40.a
		add_political_power = 50
	}
	option = { #IRL flag
		name = togo.40.b
	trigger = {
		NOT = {
		has_cosmetic_tag = TOG_FED
			}
		}
		add_political_power = 50
		set_cosmetic_tag = TOG_2
	}
	option = { #IRL flag
		name = togo.40.b
	trigger = {
		has_cosmetic_tag = TOG_FED
		}
		add_political_power = 50
		set_cosmetic_tag = TOG_FED_2
	}
}

country_event = { #Togo Wargoals
	id = togo.41
	title = togo.41.t
	desc = {
	text = togo.41.d
trigger = {
	OR = {
	has_government = social_conservative
	has_government = social_liberal
			}
		}
	}
	desc = {
	text = togo.42.d
trigger = {
	OR = {
	has_government = market_liberal
	has_government = social_democrat
			}
		}
	}
	desc = {
	text = togo.43.d
trigger = {
	has_government = paternal_autocrat
		}
	}
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.41" }
	picture = GFX_report_event_generic_diplomacy1	
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #Stay in West Africa
		name = togo.41.a
		ai_chance = {
			factor = 100
		}
		add_political_power = 100
		add_stability = 0.10
	}
	option = { #Blob out
		name = togo.41.b
	trigger = {
		has_cosmetic_tag = TOG_FED
		}
		ai_chance = {
			factor = 0
		}
		every_country = {
		limit = { is_in_array = { global.MAF_collapse_tags = THIS } }
		ROOT = {
		create_wargoal = {
		type = annex_everything target = PREV
				}
			}
		}
		every_state = {
		limit = { has_state_flag = MAF_claim }
		TOG = {
			add_state_core = PREV
			}
		}
		every_state = {
			limit = {
				OR = {
					is_core_of = LIB
					is_core_of = SIE
					is_core_of = GNA
					is_core_of = SEN
					is_core_of = MAL
					is_core_of = BFA
					is_core_of = NER
					is_core_of = WAD
					is_core_of = ANG
					is_core_of = ZIM
					is_core_of = MZB
					is_core_of = BOT
					is_core_of = SAF
					is_core_of = SUD
				}
			}
			add_core_of = TOG
		}
		hidden_effect = {
		add_state_core = 296
		add_state_core = 297
		add_state_core = 925
		add_state_core = 708
		add_state_core = 892
		add_state_core = 85
		}
		set_cosmetic_tag = TOG_NIGER_CONGO
	}
	option = { #Blob out
		name = togo.41.b
	trigger = {
		has_cosmetic_tag = TOG_FED_2
		}
		ai_chance = {
			factor = 0
		}
		every_country = {
		limit = { is_in_array = { global.MAF_collapse_tags = THIS } }
		ROOT = {
		create_wargoal = {
		type = annex_everything target = PREV
				}
			}
		}
		every_state = {
		limit = { has_state_flag = MAF_claim }
		TOG = {
			add_state_core = PREV
			}
		}
		every_state = {
			limit = {
				OR = {
					is_core_of = LIB
					is_core_of = SIE
					is_core_of = GNA
					is_core_of = SEN
					is_core_of = MAL
					is_core_of = BFA
					is_core_of = NER
					is_core_of = WAD
					is_core_of = ANG
					is_core_of = ZIM
					is_core_of = MZB
					is_core_of = BOT
					is_core_of = SAF
					is_core_of = SUD
				}
			}
			add_core_of = TOG
		}
		hidden_effect = {
		add_state_core = 296
		add_state_core = 297
		add_state_core = 925
		add_state_core = 708
		add_state_core = 892
		add_state_core = 85
		}
		set_cosmetic_tag = TOG_NIGER_CONGO_2
	}
}

country_event = { #clever dadjoke
	id = togo.44
	title = togo.44.t
	desc = togo.44.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.44" }
	picture = GFX_report_event_CIV_dadjo_comic
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #
		name = togo.44.a
		add_command_power = 10
		add_manpower = 1000
		increase_ruling_party_popularity_by_5 = yes
	}
}

country_event = { #olympio goes home
	id = togo.45
	title = togo.45.t
	desc = togo.45.d
	immediate = { log = "[GetDateText]: [Root.GetName]: event togo.45" }
	picture = GFX_report_event_CIV_olympio
	
	fire_only_once = yes
	is_triggered_only = yes
	
	option = { #
	name = togo.45.a
	ai_chance = {
			factor = 0
	}
trigger = {
	BRA = {
	has_socialist_government = no
		}
	}
	add_political_power = -75
	create_faction =  "Transatlantic Afro-Latin Pact"
	TOG = {
	add_to_faction = BRA
	}
	TOG = { add_opinion_modifier = { target = BRA modifier = large_increase } }
	BRA = { add_opinion_modifier = { target = TOG modifier = large_increase } }
	}
	option = { #
	name = togo.45.b
	ai_chance = {
			factor = 0
	}
	add_political_power = -75
	every_state = {
			limit = {
				OR = {
					is_core_of = BRA
					is_claimed_by = BRA
				}
			}
			add_core_of = TOG
	}
	create_wargoal = { type = annex_everything target = BRA }
	}
	option = { #
	name = togo.45.c
	ai_chance = {
			factor = 100
	}
		add_political_power = 25
	}
}
	