################################################################
#
# Events for West Africans
#
################################################################

namespace = wafrica


# Griot calculator
character_event = {
	id = wafrica.0
	#desc = wafrica.0.desc #not needed if hide_window = yes
	picture = GFX_evt_griot
	
	hide_window = yes
	
	is_triggered_only = yes
	
	only_rulers = yes
	
	trigger = {
		OR = {
			culture_group = west_african
			culture_group = central_african
			religion = west_african_pagan
			religion = west_african_pagan_reformed
		}
		primary_title = { higher_tier_than = BARON }
	}
	
	immediate = {
		if = {
			limit = {
				NOT = {
					any_vassal = {
						has_minor_title = title_court_griot
					}
				}
				NOT = {
					any_courtier = {
						has_minor_title = title_court_griot
					}
				}
			}
			add_character_modifier = {
				name = VIET_no_griot
				duration = 400
			}
			break = yes
		}
		if = {
			limit = {
				OR = {
					any_vassal = {
						has_minor_title = title_court_griot
					}
					any_courtier = {
						has_minor_title = title_court_griot
					}
				}
			}
			if = {
				limit = {
					any_vassal = {
						has_minor_title = title_court_griot
					}
				}
				random_vassal = {
					limit = {
						has_minor_title = title_court_griot
					}
					save_event_target_as = VIET_griot_mark
				}
			}
			if = {
				limit = {
					any_courtier = {
						has_minor_title = title_court_griot
					}
				}
				random_courtier = {
					limit = {
						has_minor_title = title_court_griot
					}
					save_event_target_as = VIET_griot_mark
				}
			}
			if = {
				limit = {
					has_character_modifier = VIET_no_griot
				}
				remove_character_modifier = VIET_no_griot
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_warriors_1
				}
				remove_character_modifier = VIET_griot_inspiring_warriors_1
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_warriors_2
				}
				remove_character_modifier = VIET_griot_inspiring_warriors_2
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_warriors_3
				}
				remove_character_modifier = VIET_griot_inspiring_warriors_3
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_community_1
				}
				remove_character_modifier = VIET_griot_inspiring_community_1
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_community_2
				}
				remove_character_modifier = VIET_griot_inspiring_community_2
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_community_3
				}
				remove_character_modifier = VIET_griot_inspiring_community_3
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_spirits_1
				}
				remove_character_modifier = VIET_griot_inspiring_spirits_1
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_spirits_2
				}
				remove_character_modifier = VIET_griot_inspiring_spirits_2
			}
			if = {
				limit = {
					has_character_modifier = VIET_griot_inspiring_spirits_3
				}
				remove_character_modifier = VIET_griot_inspiring_spirits_3
			}
			random_list = {
				33 = { character_event = { id = wafrica.2 } } #warriors
				33 = { character_event = { id = wafrica.3 } } #community
				33 = { character_event = { id = wafrica.4 } } #spirits
			}
		}
	}
}

# Character gets Griot
character_event = {
	id = wafrica.1
	desc = wafrica.1.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	option = {
		name = wafrica.1.a
		add_character_modifier = {
			name = "new_griot_in_court"
			duration = 730
			hidden = yes
		}
		clr_character_flag = inviting_griot_over
		random_list = {
			35 = {
				create_character = {
					random_traits = yes
					dynasty = culture
					culture = ROOT
					trait = griot
					attributes = {
						diplomacy = 4
						martial = 4
						stewardship = 4
						intrigue = 4
						learning = 4
					}
				}
				new_character = {
				give_minor_title = title_court_griot
					opinion = {
						modifier = opinion_patron
						who = ROOT
						years = 20
					}
					reverse_opinion = {
						modifier = opinion_new_courtier
						who = ROOT
						years = 5
					}
				}
			}
			30 = {
				create_character = {
					random_traits = yes
					dynasty = culture
					culture = ROOT
					trait = griot
					attributes = {
						diplomacy = 6
						martial = 6
						stewardship = 6
						intrigue = 6
						learning = 6
					}
				}
				new_character = {
				give_minor_title = title_court_griot
					opinion = {
						modifier = opinion_patron
						who = ROOT
						years = 20
					}
					reverse_opinion = {
						modifier = opinion_new_courtier
						who = ROOT
						years = 5
					}
				}
			}
			20 = {
				create_character = {
					random_traits = yes
					dynasty = culture
					culture = ROOT
					trait = griot
					attributes = {
						diplomacy = 9
						martial = 9
						stewardship = 9
						intrigue = 9
						learning = 9
					}
				}
				new_character = {
				give_minor_title = title_court_griot
					opinion = {
						modifier = opinion_patron
						who = ROOT
						years = 20
					}
					reverse_opinion = {
						modifier = opinion_new_courtier
						who = ROOT
						years = 5
					}
				}
			}
			12 = {
				create_character = {
					random_traits = yes
					dynasty = culture
					culture = ROOT
					trait = griot
					attributes = {
						diplomacy = 12
						martial = 12
						stewardship = 12
						intrigue = 12
						learning = 12
					}
				}
				new_character = {
				give_minor_title = title_court_griot
					opinion = {
						modifier = opinion_patron
						who = ROOT
						years = 20
					}
					reverse_opinion = {
						modifier = opinion_new_courtier
						who = ROOT
						years = 5
					}
				}
			}
			3 = {
				create_character = {
					random_traits = yes
					dynasty = culture
					culture = ROOT
					trait = griot
					attributes = {
						diplomacy = 14
						martial = 14
						stewardship = 14
						intrigue = 14
						learning = 14
					}
				}
				new_character = {
				give_minor_title = title_court_griot
					opinion = {
						modifier = opinion_patron
						who = ROOT
						years = 20
					}
					reverse_opinion = {
						modifier = opinion_new_courtier
						who = ROOT
						years = 5
					}
				}
			}
		}
	}
}

# Griot modifiers - warriors
character_event = {
	id = wafrica.2
	desc = wafrica.2.desc
	picture = GFX_evt_griot
	
	notification = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					NOT = { diplomacy = 10 }
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_warriors_1
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					diplomacy = 10
					NOT = { diplomacy = 20 }
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_warriors_2
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					diplomacy = 20
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_warriors_3
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
	}
	
	option = {
		name = wafrica.2.a
	}
	
}

# Griot modifiers - society
character_event = {
	id = wafrica.3
	desc = wafrica.3.desc
	picture = GFX_evt_griot
	
	notification = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					NOT = { diplomacy = 8 }
					NOT = { learning = 8 }
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_community_1
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					AND = {
						diplomacy = 8
						learning = 8
					}
					NOT = { diplomacy = 15 }
					NOT = { learning = 15 }
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_community_2
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					AND = {
						diplomacy = 15
						learning = 15
					}
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_community_3
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
	}
	option = {
		name = wafrica.3.a
	}
}

# Griot modifiers - spirits
character_event = {
	id = wafrica.4
	desc = wafrica.4.desc
	picture = GFX_evt_griot
	
	notification = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					NOT = { learning = 10 }
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_spirits_1
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					learning = 10
					NOT = { learning = 20 }
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_spirits_2
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
		if = {
			limit = {
				event_target:VIET_griot_mark = {
					learning = 20
				}
			}
			add_character_modifier = {
				name = VIET_griot_inspiring_spirits_3
				duration = 400
			}
			event_target:VIET_griot_mark = {
				clear_event_target = VIET_griot_mark
			}
		}
	}
	
	option = {
		name = wafrica.4.a
	}
	
}


##################################################################
#
# Receive Iron Woman Event Chain
#
##################################################################

#Iron Woman Event Chain start
character_event = {
	id = wafrica.10
	desc = "wafrica.10.desc"
	picture = GFX_evt_dogon_village
	
	has_character_flag = iron_woman_ongoing
	
	trigger = {
		NOT = { has_character_flag = iron_woman_started }
	}
	
	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = wafrica.10.a
		set_character_flag = iron_woman_started
		narrative_event = { id = wafrica.5 days = 3 tooltip = "wafrica.5.tooltip" }
	}
}

#Let's go to the blacksmith
narrative_event = {
	id = wafrica.5
	title = wafrica.5.name
	desc = "wafrica.5.desc"
	picture = GFX_evt_dogon_village
	border = GFX_event_narrative_frame_diplomacy
	
	is_triggered_only = yes

	option = {
		name = wafrica.5.a
		narrative_event = { id = wafrica.6 days = 7 tooltip = "wafrica.6.tooltip" }
	}
}

#Character chooses staff type
narrative_event = {
	id = wafrica.6
	title = wafrica.6.name
	desc = "wafrica.6.desc"
	picture = GFX_evt_dogon_village
	border = GFX_event_narrative_frame_diplomacy
	
	hide_from = yes
	
	is_triggered_only = yes

	option = { #Staff of power
		name = wafrica.6.a
		narrative_event = { id = wafrica.7 days = 14 tooltip = "wafrica.7.tooltip" }
	}
	option = { #Staff of wisdom
		name = wafrica.6.b
		narrative_event = { id = wafrica.8 days = 14 tooltip = "wafrica.8.tooltip" }
	}
	option = { #Staff of society
		name = wafrica.6.c
		narrative_event = { id = wafrica.9 days = 14 tooltip = "wafrica.9.tooltip" }
	}
}

#Character receives Staff of Power
narrative_event = {
	id = wafrica.7
	title = wafrica.7.name
	desc = "wafrica.7.desc"
	picture = GFX_evt_mud_mosque
	border = GFX_event_narrative_frame_diplomacy
	
	hide_from = yes
	
	is_triggered_only = yes

	option = { #ok
		name = wafrica.7.a
		prestige = 30
		set_character_flag = received_iron_woman
		clr_character_flag = do_not_disturb
		random_list = {
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_power_1"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_power_2"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_power_3"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_power_4"
					duration = -1
				}
			}
		}
	}
}

#Character receives Staff of Wisdom
narrative_event = {
	id = wafrica.8
	title = wafrica.8.name
	desc = "wafrica.8.desc"
	picture = GFX_evt_mud_mosque
	border = GFX_event_narrative_frame_diplomacy
	
	hide_from = yes
	
	is_triggered_only = yes

	option = { #ok
		name = wafrica.8.a
		piety = 30
		set_character_flag = received_iron_woman
		clr_character_flag = do_not_disturb
		random_list = {
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_wisdom_1"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_wisdom_2"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_wisdom_3"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_wisdom_4"
					duration = -1
				}
			}
		}
	}
}

#Character receives Staff of Society
narrative_event = {
	id = wafrica.9
	title = wafrica.9.name
	desc = "wafrica.9.desc"
	picture = GFX_evt_mud_mosque
	border = GFX_event_narrative_frame_diplomacy
	
	hide_from = yes
	
	is_triggered_only = yes

	option = { #ok
		name = wafrica.9.a
		piety = 15
		prestige = 15
		set_character_flag = received_iron_woman
		clr_character_flag = do_not_disturb
		random_list = {
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_society_1"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_society_2"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_society_3"
					duration = -1
				}
			}
			25 = {
				add_character_modifier = {
					name = "iron_woman_of_society_4"
					duration = -1
				}
			}
		}
	}
}

##################################################################
#
# Descent from Bilal or Noble Stranger
#
##################################################################



#Founder of a Kingdom or Empire claims descent from Bilal
narrative_event = {
	id = wafrica.11
	title = wafrica.11.name
	desc = wafrica.11.desc
	picture = GFX_evt_griot
	
	only_rulers = yes
	only_independent = yes

	trigger = {
		AND = {
			culture_group = west_african
			religion_group = muslim
		}
		NOT = { trait = noble_stranger_descendant }
		NOT = { trait = bilal_descendant }
		primary_title = {
			higher_tier_than = DUKE
			any_previous_holder = { #Will not fire if Kingdom is usurped by someone else or reformed
				NOT = {
					OR = {
						trait = bilal_descendant
						trait = noble_stranger_descendant
					}
				}
			}
		}
		NOT = { has_global_flag = descent_from_bilal_claimed }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	immediate = {
		set_global_flag = descent_from_bilal_claimed
		set_character_flag = le_lion_king
		set_dynasty_flag = descendants_of_bilal
		if = {
			limit = {
				NOT = { has_global_flag = lion_king_nickname_given }
			}
			character_event = { id = wafrica.46 days = 10 random = 10 }
		}
	}
	
	option = {
		name = wafrica.11.a #Ok
		add_trait = bilal_descendant
		prestige = 100
		piety = 100
		hidden_tooltip = {
			any_dynasty_member = {
				limit = {
					NOT = {
						character = ROOT
					}
				}
				character_event = { id = wafrica.12 }
			}
		}
	}
}

#Le Lion King
character_event = {
	id = wafrica.46
	desc = wafrica.46.desc
	picture = GFX_evt_african_savanna
	
	is_triggered_only = yes
	
	option = { # ok
		name = wafrica.46.a
		give_nickname = nick_lion_king
		set_global_flag = lion_king_nickname_given
	}
	
}

#Other dynasty members get the Bilal trait (only for characters who are alive unfortunately)
character_event = {
	id = wafrica.12
	desc = wafrica.12.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	option = {
		name = wafrica.12.a #Ok
		trigger = {
			religion_group = muslim
		}
		add_trait = bilal_descendant
		prestige = 10
		piety = 10
	}
	
	option = {
		name = wafrica.12.b #Ok
		trigger = {
			NOT = { religion_group = muslim }
		}
		add_trait = bilal_descendant
		prestige = 10
		piety = 10
	}
}

#Founder of a Kingdom or Empire claims descent from a noble stranger
narrative_event = {
	id = wafrica.13
	title = wafrica.13.name
	desc = wafrica.13.desc
	picture = GFX_evt_griot
	
	only_rulers = yes
	only_independent = yes

	trigger = {
		OR = {
			culture_group = central_african
			culture_group = west_african
			religion = west_african_pagan
			religion = west_african_pagan_reformed
			AND = {
				culture_group = west_african
				NOT = { religion_group = muslim }
				NOT = { religion = west_african_pagan }
				NOT = { religion = west_african_pagan_reformed }
			}
			AND = {
				culture_group = west_african
				has_global_flag = descent_from_bilal_claimed
				religion_group = muslim
			}
		}
		NOT = { trait = noble_stranger_descendant }
		NOT = { trait = bilal_descendant }
		NOT = { has_global_flag = bilal_descendant }
		primary_title = {
			higher_tier_than = DUKE
			any_previous_holder = { #Will not fire if Kingdom is usurped by someone else or reformed
				NOT = {
					OR = {
						trait = bilal_descendant
						trait = noble_stranger_descendant
					}
				}
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	immediate = {
		set_dynasty_flag = descendants_of_noble_stranger
	}
	
	option = {
		name = wafrica.13.a #Ok
		add_trait = noble_stranger_descendant
		set_dynasty_flag = descendants_of_noble_stranger
		prestige = 100
		piety = 100
		hidden_tooltip = {
			any_dynasty_member = {
				limit = {
					NOT = {
						character = ROOT
					}
				}
				character_event = { id = wafrica.14 }
			}
		}
	}
}

#Other dynasty members get the Noble Stranger trait (only for characters who are alive unfortunately)
character_event = {
	id = wafrica.14
	desc = wafrica.14.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	option = {
		name = wafrica.14.a #Ok
		add_trait = noble_stranger_descendant
		prestige = 10
		piety = 10
	}
}


##################################################################
#
# Griot Performances - fired via decision
#
# Two randomly chosen performance events will happen in the chain
#
##################################################################


# Griot performance start
character_event = {
	id = wafrica.16
	desc = wafrica.16.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	#trigger = {
	#	has_character_flag = hosting_griot_performance
	#}
	option = {
		name = wafrica.16.a
		narrative_event = { id = wafrica.39 days = 4 tooltip = "wafrica.39.tooltip" }
		#clr_character_flag = hosting_griot_performance
	}
	
}

# Griot performance preparations
narrative_event = {
	id = wafrica.39
	title = wafrica.39.name
	desc = wafrica.39.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	option = {
		name = wafrica.39.a
		narrative_event = { id = wafrica.45 days = 10 tooltip = "wafrica.45.tooltip" }
	}
	
}


# Griot performance begins
narrative_event = {
	id = wafrica.45
	title = wafrica.45.name
	desc = wafrica.45.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes

	immediate = {
		hidden_tooltip = {
			character_event = { id = wafrica.33 days = 12 } #Middle of Performance
		}
	}
	
	option = {
		name = wafrica.45.a # one of these performance events will fire
		hidden_tooltip = {
			random_list = {
				10 = { character_event = { id = wafrica.17 days = 5 } }
				10 = { character_event = { id = wafrica.18 days = 5 } }
				10 = { narrative_event = { id = wafrica.19 days = 5 } }
				10 = { character_event = { id = wafrica.20 days = 5 } }
				10 = { character_event = { id = wafrica.21 days = 5 } }
				10 = { narrative_event = { id = wafrica.22 days = 5 } }
				10 = { character_event = { id = wafrica.23 days = 5 } }
				10 = { narrative_event = { id = wafrica.24 days = 5 } }
				10 = { character_event = { id = wafrica.25 days = 5 } }
				10 = { narrative_event = { id = wafrica.26 days = 5 } }
				10 = { character_event = { id = wafrica.27 days = 5 } }
				10 = { character_event = { id = wafrica.28 days = 5 } }
				10 = { character_event = { id = wafrica.29 days = 5 } }
				10 = { character_event = { id = wafrica.30 days = 5 } }
				10 = { character_event = { id = wafrica.31 days = 5 } }
				10 = { character_event = { id = wafrica.32 days = 5 } }
				10 = { narrative_event = { id = wafrica.35 days = 5 } }
				10 = { character_event = { id = wafrica.36 days = 5 } }
				10 = { narrative_event = { id = wafrica.37 days = 5 } }
				10 = { narrative_event = { id = wafrica.38 days = 5 } }
				10 = { narrative_event = { id = wafrica.40 days = 5 } }
				10 = { narrative_event = { id = wafrica.41 days = 5 } }
				10 = { narrative_event = { id = wafrica.42 days = 5 } }
				10 = { narrative_event = { id = wafrica.43 days = 5 } }
				10 = { narrative_event = { id = wafrica.44 days = 5 } }
				#New Set
				10 = { narrative_event = { id = wafrica.100 days = 6 } }
				10 = { narrative_event = { id = wafrica.101 days = 6 } }
				10 = { narrative_event = { id = wafrica.102 days = 6 } }
				10 = { narrative_event = { id = wafrica.103 days = 6 } }
				10 = { narrative_event = { id = wafrica.104 days = 6 } }
				10 = { narrative_event = { id = wafrica.105 days = 6 } }
				10 = { character_event = { id = wafrica.106 days = 6 } }
				10 = { character_event = { id = wafrica.107 days = 6 } }
				10 = { narrative_event = { id = wafrica.108 days = 6 } }
				10 = { narrative_event = { id = wafrica.109 days = 6 } }
				10 = { narrative_event = { id = wafrica.110 days = 6 } }
			}
		}
	}
}

# Griot performance Continues
character_event = {
	id = wafrica.33
	desc = wafrica.33.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	immediate = {
		hidden_tooltip = {
			character_event = { id = wafrica.34 days = 10 } #End of Performance
		}
	}
	
	option = {
		name = wafrica.33.a # one of these performance events will fire
		hidden_tooltip = {
			random_list = {
				10 = { character_event = { id = wafrica.17 days = 5 } }
				10 = { character_event = { id = wafrica.18 days = 5 } }
				10 = { narrative_event = { id = wafrica.19 days = 5 } }
				10 = { character_event = { id = wafrica.20 days = 5 } }
				10 = { character_event = { id = wafrica.21 days = 5 } }
				10 = { narrative_event = { id = wafrica.22 days = 5 } }
				10 = { character_event = { id = wafrica.23 days = 5 } }
				10 = { narrative_event = { id = wafrica.24 days = 5 } }
				10 = { character_event = { id = wafrica.25 days = 5 } }
				10 = { narrative_event = { id = wafrica.26 days = 5 } }
				10 = { character_event = { id = wafrica.27 days = 5 } }
				10 = { character_event = { id = wafrica.28 days = 5 } }
				10 = { character_event = { id = wafrica.29 days = 5 } }
				10 = { character_event = { id = wafrica.30 days = 5 } }
				10 = { character_event = { id = wafrica.31 days = 5 } }
				10 = { character_event = { id = wafrica.32 days = 5 } }
				10 = { narrative_event = { id = wafrica.35 days = 5 } }
				10 = { character_event = { id = wafrica.36 days = 5 } }
				10 = { narrative_event = { id = wafrica.37 days = 5 } }
				10 = { narrative_event = { id = wafrica.38 days = 5 } }
				10 = { narrative_event = { id = wafrica.40 days = 5 } }
				10 = { narrative_event = { id = wafrica.41 days = 5 } }
				10 = { narrative_event = { id = wafrica.42 days = 5 } }
				10 = { narrative_event = { id = wafrica.43 days = 5 } }
				10 = { narrative_event = { id = wafrica.44 days = 5 } }
				#New Set
				10 = { narrative_event = { id = wafrica.100 days = 6 } }
				10 = { narrative_event = { id = wafrica.101 days = 6 } }
				10 = { narrative_event = { id = wafrica.102 days = 6 } }
				10 = { narrative_event = { id = wafrica.103 days = 6 } }
				10 = { narrative_event = { id = wafrica.104 days = 6 } }
				10 = { narrative_event = { id = wafrica.105 days = 6 } }
				10 = { character_event = { id = wafrica.106 days = 6 } }
				10 = { character_event = { id = wafrica.107 days = 6 } }
				10 = { narrative_event = { id = wafrica.108 days = 6 } }
				10 = { narrative_event = { id = wafrica.109 days = 6 } }
				10 = { narrative_event = { id = wafrica.110 days = 6 } }
			}
		}
	}
}

# Griot performance ends
character_event = {
	id = wafrica.34
	desc = wafrica.34.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	option = {
		name = wafrica.34.a # ok
		prestige = 10
		piety = 10
		any_courtier = {
			limit = {
				has_minor_title = title_court_griot
			}
			prestige = 10
		}
		any_vassal = {
			limit = {
				has_minor_title = title_court_griot
			}
			prestige = 10
		}
		add_character_modifier = {
			name = "griot_performance_timer"
			duration = 2190
			hidden = yes
		}
		add_character_modifier = {
			name = held_griot_performance
			duration = 365
		}
		clr_character_flag = hosting_griot_performance
		clr_character_flag = do_not_disturb
	}
}

##################################################################
# Griot Performances Proper
##################################################################


# Suggestions for the Griot
character_event = {
	id = wafrica.17
	desc = wafrica.17.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	
	option = { # Agrees with Courtier
		name = wafrica.17.a
		prestige = 1
	}
	option = { # Disagrees with Courtier
		name = wafrica.17.b
		prestige = 1
	}
	option = { # Different Suggestion
		name = wafrica.17.c
		prestige = 1
	}
	
}

# Chief Nuh and the Hunters
character_event = {
	id = wafrica.18
	desc = wafrica.18.desc
	picture = GFX_evt_mud_mosque
	
	is_triggered_only = yes
	
	
	option = { # oh my
		name = wafrica.18.a
		prestige = 1
	}
	option = { # Actually...
		name = wafrica.18.b
		tooltip_info = scholar
		trigger = {
			trait = scholar
			NOT = { learning = 13 }
		}
		prestige = 3
	}
	option = { # Actually...
		name = wafrica.18.b
		tooltip_info = learning
		trigger = {
			learning = 13
		}
		prestige = 3
	}
	
}

# Ancestor took baklava
narrative_event = {
	id = wafrica.19
	title = wafrica.19.name
	desc = wafrica.19.desc
	picture = GFX_evt_baklava
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.19.a
		prestige = 1
	}
	option = { # I want baklava
		name = wafrica.19.b
		tooltip_info = gluttonous
		trigger = {
			trait = gluttonous
		}
		prestige = 1
	}
	
}

# I am Ozymandias
character_event = {
	id = wafrica.20
	desc = wafrica.20.desc
	picture = GFX_evt_african_savanna
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.20.a
		prestige = 1
	}
	
}


# Dad fights lions
character_event = {
	id = wafrica.21
	desc = wafrica.21.desc
	picture = GFX_evt_african_savanna
	
	is_triggered_only = yes
	
	
	option = { # eager
		name = wafrica.21.a
		prestige = 1
	}
	option = { # dad never told me
		name = wafrica.21.b
		prestige = 1
	}
	option = { # Griot making it all up
		name = wafrica.21.c
		tooltip_info = cynical
		trigger = {
			trait = cynical
		}
		prestige = 1
	}
	
}

# Fate
narrative_event = {
	id = wafrica.22
	title = wafrica.22.name
	desc = wafrica.22.desc
	picture = GFX_evt_carriage_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.22.a
		prestige = 1
	}
	option = { # Cynical option
		name = wafrica.22.b
		tooltip_info = cynical
		trigger = {
			trait = cynical
		}
		prestige = 1
	}
	
}

# Recounting geneaology
character_event = {
	id = wafrica.23
	desc = wafrica.23.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.23.a
		prestige = 1
	}
	option = { # Cynical option
		name = wafrica.23.b
		tooltip_info = cynical
		trigger = {
			trait = cynical
		}
		prestige = 1
	}
	option = { # Actually...
		name = wafrica.23.c
		tooltip_info = genius
		trigger = {
			trait = genius
			NOT = { learning = 13 }
			NOT = { trait = scholar }
		}
		prestige = 5
	}
	option = { # Actually...
		name = wafrica.23.c
		tooltip_info = scholar
		trigger = {
			trait = scholar
			NOT = { learning = 13 }
		}
		prestige = 5
	}
	option = { # Actually...
		name = wafrica.23.c
		tooltip_info = learning
		trigger = {
			learning = 13
		}
		prestige = 5
	}
	
}

# Hyouka (Ouati and Kadi)
narrative_event = {
	id = wafrica.24
	title = wafrica.24.name
	desc = wafrica.24.desc
	picture = GFX_evt_dogon_village
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.24.a
		prestige = 1
	}
	
}

# Hyouka 2 - Ouati, Kadi, and the lions
character_event = {
	id = wafrica.25
	desc = wafrica.25.desc
	picture = GFX_evt_african_savanna
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.25.a
		prestige = 1
	}
	option = { # I know
		name = wafrica.25.b
		tooltip_info = genius
		trigger = {
			trait = genius
		}
		prestige = 5
	}
	option = { # I know
		name = wafrica.25.b
		tooltip_info = quick
		trigger = {
			trait = quick
		}
		prestige = 5
	}
	option = { # I know
		name = wafrica.25.b
		tooltip_info = perceptive
		trigger = {
			trait = perceptive
			NOT = { trait = quick }
			NOT = { trait = genius }
		}
		prestige = 5
	}
	
}

# Samurai Jack and AKU
narrative_event = {
	id = wafrica.26
	title = wafrica.26.name
	desc = wafrica.26.desc
	picture = GFX_evt_small_town_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.26.a
		prestige = 2
	}
	
}

# Griot mimics ruler
character_event = {
	id = wafrica.27
	desc = wafrica.27.desc
	picture = GFX_evt_malian_ceremony
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.27.a
		prestige = -2
		piety = 2
	}
	option = { # grr
		name = wafrica.27.b
		prestige = 1
	}
	option = { # haha
		name = wafrica.27.c
		tooltip_info = gregarious
		trigger = {
			trait = gregarious
		}
		prestige = 2
	}
	
}

# Samurai Jack 2
character_event = {
	id = wafrica.28
	desc = wafrica.28.desc
	picture = GFX_evt_african_savanna
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.28.a
		prestige = 1
	}
	option = { # Actually...
		name = wafrica.28.b
		tooltip_info = scholar
		trigger = {
			trait = scholar
			NOT = { learning = 13 }
		}
		prestige = 5
	}
	option = { # Actually...
		name = wafrica.28.b
		tooltip_info = learning
		trigger = {
			learning = 13
		}
		prestige = 5
	}
	
}

# Bakemonogatari
character_event = {
	id = wafrica.29
	desc = wafrica.29.desc
	picture = GFX_evt_malian_ceremony
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.29.a
		prestige = 1
	}
	
}

# Ragnar the Red
character_event = {
	id = wafrica.30
	desc = wafrica.30.desc
	picture = GFX_evt_mud_mosque
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.30.a
		prestige = 1
	}
	
}

# Ji'ub and Cliffracers
character_event = {
	id = wafrica.31
	desc = wafrica.31.desc
	picture = GFX_evt_african_savanna
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.31.a
		prestige = 1
	}
	option = { # I've heard others say the same
		name = wafrica.31.b
		if = {
			limit = { NOT = { trait = cynical } }
			random_list = {
				80 = { }
				20 = { add_trait = cynical }
			}
		}
		prestige = 1
	}
	
}

# Hyouka 3
character_event = {
	id = wafrica.32
	desc = wafrica.32.desc
	picture = GFX_evt_dogon_village
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.32.a
		piety = 1
	}
	option = { # PLOT TWIST
		name = wafrica.32.b
		tooltip_info = learning
		trigger = {
			learning = 9
		}
		prestige = 1
	}
	
}

# Ararararararararararagi
narrative_event = {
	id = wafrica.35
	title = wafrica.35.name
	desc = wafrica.35.desc
	picture = GFX_evt_african_savanna
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.35.a
		prestige = 1
	}
	option = { # Me hungry
		name = wafrica.35.b
		tooltip_info = gluttonous
		trigger = {
			trait = gluttonous
		}
		prestige = 1
	}
	option = { # Doubloe entendre
		name = wafrica.35.c
		tooltip_info = lustful
		trigger = {
			trait = lustful
		}
		prestige = 1
	}
	
}

# Praising the lord
character_event = {
	id = wafrica.36
	desc = wafrica.36.desc
	picture = GFX_evt_carriage_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.36.a
		prestige = 1
		piety = 1
	}
	option = { # humility
		name = wafrica.36.b
		piety = 2
		if = {
			limit = { NOT = { trait = humble } }
			random_list = {
				70 = { }
				30 = { add_trait = humble }
			}
		}
	}
	option = { # pride
		name = wafrica.36.c
		if = {
			limit = { NOT = { trait = proud } }
			random_list = {
				70 = { }
				30 = { add_trait = proud }
			}
		}
		prestige = 2
	}
	option = { # cynical
		name = wafrica.36.d
		if = {
			limit = { NOT = { trait = cynical } }
			random_list = {
				70 = { }
				30 = { add_trait = cynical }
			}
		}
		prestige = 2
	}
	
}

# Solemn Ceremony
narrative_event = {
	id = wafrica.37
	title = wafrica.37.name
	desc = wafrica.37.desc
	picture = GFX_evt_malian_ceremony
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.37.a
		prestige = 2
		piety = 2
	}
	option = { # no skepticism here
		name = wafrica.37.b
		tooltip_info = cynical
		trigger = {
			trait = cynical
		}
		piety = 6
	}
	
}

# Children's stories
narrative_event = {
	id = wafrica.38
	title = wafrica.38.name
	desc = wafrica.38.desc
	picture = GFX_evt_malian_ceremony
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.38.a
		prestige = 2
		piety = 2
	}
	
}

# Time Immemorial
narrative_event = {
	id = wafrica.40
	title = wafrica.40.name
	desc = wafrica.40.desc
	picture = GFX_evt_malian_ceremony
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.40.a
		prestige = 2
		piety = 2
	}
	
}

# The Trickster
narrative_event = {
	id = wafrica.41
	title = wafrica.41.name
	desc = wafrica.41.desc
	picture = GFX_evt_malian_ceremony
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.41.a
		piety = 2
	}
	
	option = { # yup
		name = wafrica.41.b
		tooltip_info = cynical
		trigger = {
			trait = cynical
		}
		prestige = 2
	}
	
}

# Crazy Fanboys
narrative_event = {
	id = wafrica.42
	title = wafrica.42.name
	desc = wafrica.42.desc
	picture = GFX_evt_mud_mosque
	
	is_triggered_only = yes
	
	option = { # ok
		name = wafrica.42.a
		piety = 2
	}
	option = { # own suggestion
		name = wafrica.42.b
		prestige = 2
	}
	
}

# Trolling
narrative_event = {
	id = wafrica.43
	title = wafrica.43.name
	desc = wafrica.43.desc
	picture = GFX_evt_griot
	
	is_triggered_only = yes
	
	
	option = { # Don't insult me!
		name = wafrica.43.a
		prestige = 2
		if = {
			limit = { NOT = { trait = proud } }
			random_list = {
				70 = { }
				30 = { add_trait = proud }
			}
		}
	}
	option = { # Talk about my flaws too
		name = wafrica.43.b
		piety = 2
		if = {
			limit = { NOT = { trait = humble } }
			random_list = {
				70 = { }
				30 = { add_trait = humble }
			}
		}
	}
	option = { # Talk about children
		name = wafrica.43.c
		trigger = {
			any_child = {
				is_alive = yes
				is_adult = no
			}
		}
		prestige = 2
	}
	
}

# Speak of the Ancestors
narrative_event = {
	id = wafrica.44
	title = wafrica.44.name
	desc = wafrica.44.desc
	picture = GFX_evt_dogon_village
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.44.a
		prestige = 1
	}
	
}

# Comedy
narrative_event = {
	id = wafrica.100
	title = wafrica.100.name
	desc = wafrica.100.desc
	picture = GFX_evt_small_town
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.100.a
		prestige = 1
	}
	
}

# Fables
narrative_event = {
	id = wafrica.101
	title = wafrica.101.name
	desc = wafrica.101.desc
	picture = GFX_evt_small_town
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.101.a
		piety = 2
	}
	
}

# Kaiki Best Girl
narrative_event = {
	id = wafrica.102
	title = wafrica.102.name
	desc = wafrica.102.desc
	picture = GFX_evt_tuscan_country_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.102.a
		piety = 2
	}
	option = { # ok
		name = wafrica.102.b
		prestige = 2
	}
	
}

# Kaiki Best Girl 2
narrative_event = {
	id = wafrica.103
	title = wafrica.103.name
	desc = wafrica.103.desc
	picture = GFX_evt_tuscan_country_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.103.a
		piety = 1
	}
	
}

# Cliches
narrative_event = {
	id = wafrica.104
	title = wafrica.104.name
	desc = wafrica.104.desc
	picture = GFX_evt_skyrim_forest_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.104.a
		prestige = 3
	}
	option = { # ok
		name = wafrica.104.b
		piety = 3
	}
	
}

# Honoring the Past
narrative_event = {
	id = wafrica.105
	title = wafrica.105.name
	desc = wafrica.105.desc
	picture = GFX_evt_dogon_village
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.105.a
		piety = 1
		prestige = 1
	}
	
}

# Embarassing!
character_event = {
	id = wafrica.106
	desc = wafrica.106.desc
	picture = GFX_evt_dogon_village
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.106.a
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { trait = incapable }
			}
			prestige = -5
		}
	}
}

# Crappy story
character_event = {
	id = wafrica.107
	desc = wafrica.107.desc
	picture = GFX_evt_skyrim_forest_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.107.a
		prestige = 1
	}
	option = { # ok
		name = wafrica.107.b
		piety = 1
	}
}

# Samurai Jack is naked
narrative_event = {
	id = wafrica.108
	title = wafrica.108.name
	desc = wafrica.108.desc
	picture = GFX_evt_skyrim_forest_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.108.a
		prestige = 1
	}
}

# Samurai Jack and the Warrior Woman
narrative_event = {
	id = wafrica.109
	title = wafrica.109.name
	desc = wafrica.109.desc
	picture = GFX_evt_dogon_village
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.109.a
		piety = 1
	}
}

# Jack vs. Aku pt 1
narrative_event = {
	id = wafrica.110
	title = wafrica.110.name
	desc = wafrica.110.desc
	picture = GFX_evt_tuscan_country_west_african
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.110.a
		hidden_tooltip = {
			narrative_event = { id = wafrica.111 }
		}
	}
}

# Jack vs. Aku pt 2
narrative_event = {
	id = wafrica.111
	title = wafrica.111.name
	desc = wafrica.111.desc
	picture = GFX_evt_desert
	
	is_triggered_only = yes
	
	
	option = { # ok
		name = wafrica.110.a
		#piety = 1
	}
}

##################################################################
#
# Set Up Gold/Salt Mines
#
##################################################################

#Bambuk
province_event = {
	id = wafrica.47
	desc = wafrica.47.desc
	picture = GFX_evt_wafrica_gold
	
	trigger = {
		#province_id = 940
		province_id = 926 #Bambuk
		NOT = { has_province_flag = bambuk_mines }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = OK
		set_province_flag = bambuk_mines
		add_province_modifier = {
			name = bambuk_gold_mines
			duration = -1
		}
	}
}

#Bambuk Add Better Gold
province_event = {
	id = wafrica.48
	desc = wafrica.48.desc
	picture = GFX_evt_wafrica_gold
	
	trigger = {
		#province_id = 940
		province_id = 926 #Bambuk
		has_province_modifier = bambuk_gold_mines
		owner = {
			top_liege = {
				stewardship = 14
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = wafrica.48.a
		remove_province_modifier = bambuk_gold_mines
		add_province_modifier = {
			name = bambuk_better_gold_mines
			duration = -1
		}
	}
}

#Bambuk Remove Better Gold
province_event = {
	id = wafrica.49
	desc = wafrica.49.desc
	picture = GFX_evt_wafrica_gold
	
	trigger = {
		#province_id = 940
		province_id = 926 #Bambuk
		has_province_modifier = bambuk_better_gold_mines
		NOT = {
			owner = {
				top_liege = {
					stewardship = 14
				}
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = wafrica.49.a
		remove_province_modifier = bambuk_better_gold_mines
		add_province_modifier = {
			name = bambuk_gold_mines
			duration = -1
		}
	}
}

#Mali
province_event = {
	id = wafrica.50
	desc = wafrica.50.desc
	picture = GFX_evt_wafrica_gold
	
	trigger = {
		#province_id = 936
		province_id = 925 #Mali
		NOT = { has_province_flag = mali_mines }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = OK
		set_province_flag = mali_mines
		add_province_modifier = {
			name = mali_gold_mines
			duration = -1
		}
	}
}

#Mali Add Better Gold
province_event = {
	id = wafrica.51
	desc = wafrica.51.desc
	picture = GFX_evt_wafrica_gold
	
	trigger = {
		#province_id = 936
		province_id = 925 #Mali
		has_province_modifier = mali_gold_mines
		owner = {
			top_liege = {
				stewardship = 14
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = wafrica.51.a
		remove_province_modifier = mali_gold_mines
		add_province_modifier = {
			name = mali_better_gold_mines
			duration = -1
		}
	}
}

#Mali Remove Better Gold
province_event = {
	id = wafrica.52
	desc = wafrica.52.desc
	picture = GFX_evt_wafrica_gold
	
	trigger = {
		#province_id = 936
		province_id = 925 #Mali
		has_province_modifier = mali_better_gold_mines
		NOT = {
			owner = {
				top_liege = {
					stewardship = 14
				}
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = wafrica.52.a
		remove_province_modifier = mali_better_gold_mines
		add_province_modifier = {
			name = mali_gold_mines
			duration = -1
		}
	}
}


#Idjil
province_event = {
	id = wafrica.53
	desc = wafrica.53.desc
	picture = GFX_evt_wafrica_salt
	
	trigger = {
		#province_id = 933
		province_id = 921 #Idjil
		NOT = { has_province_flag = idjil_mines }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = OK
		set_province_flag = idjil_mines
		add_province_modifier = {
			name = idjil_salt_mines
			duration = -1
		}
	}
}

#Idjil Add Better Salt
province_event = {
	id = wafrica.54
	desc = wafrica.54.desc
	picture = GFX_evt_wafrica_salt
	
	trigger = {
		#province_id = 933
		province_id = 921 #Idjil
		has_province_modifier = idjil_salt_mines
		owner = {
			top_liege = {
				stewardship = 14
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = wafrica.54.a
		remove_province_modifier = idjil_salt_mines
		add_province_modifier = {
			name = idjil_better_salt_mines
			duration = -1
		}
	}
}

#Idjil Remove Better Salt
province_event = {
	id = wafrica.55
	desc = wafrica.55.desc
	picture = GFX_evt_wafrica_salt
	
	trigger = {
		#province_id = 933
		province_id = 921 #Idjil
		has_province_modifier = idjil_better_salt_mines
		NOT = {
			owner = {
				top_liege = {
					stewardship = 14
				}
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = wafrica.55.a
		remove_province_modifier = idjil_better_salt_mines
		add_province_modifier = {
			name = idjil_salt_mines
			duration = -1
		}
	}
}


#Taghaza
province_event = {
	id = wafrica.56
	desc = wafrica.56.desc
	picture = GFX_evt_wafrica_salt
	
	trigger = {
		#province_id = 980
		province_id = 916 #Taghaza
		NOT = { has_province_flag = taghaza_mines }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = OK
		set_province_flag = taghaza_mines
		add_province_modifier = {
			name = taghaza_salt_mines
			duration = -1
		}
	}
}

#Taghaza Add Better Salt
province_event = {
	id = wafrica.57
	desc = wafrica.57.desc
	picture = GFX_evt_wafrica_salt
	
	trigger = {
		#province_id = 980
		province_id = 916 #Taghaza
		has_province_modifier = taghaza_salt_mines
		owner = {
			top_liege = {
				stewardship = 14
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = wafrica.57.a
		remove_province_modifier = taghaza_salt_mines
		add_province_modifier = {
			name = taghaza_better_salt_mines
			duration = -1
		}
	}
}

#Taghaza Remove Better Salt
province_event = {
	id = wafrica.58
	desc = wafrica.58.desc
	picture = GFX_evt_wafrica_salt
	
	trigger = {
		#province_id = 980
		province_id = 916 #Taghaza
		has_province_modifier = taghaza_better_salt_mines
		NOT = {
			owner = {
				top_liege = {
					stewardship = 14
				}
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = wafrica.58.a
		remove_province_modifier = taghaza_better_salt_mines
		add_province_modifier = {
			name = taghaza_salt_mines
			duration = -1
		}
	}
}

