##############################
# Fetishist Flavor Events    #
#                            #
# Written by Milla Isaksson  #
# & Mathilda Bjarnehed		 #
# & Henrik Lohmander	     #
##############################

namespace = fetishist_flavor

#Discovering Yemoja cult
country_event = {
	id = fetishist_flavor.1
	title = fetishist_flavor.1.t
	desc = fetishist_flavor.1.d
	picture = FETISHIST_FIRE_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.1.a
		unlock_cult = yemoja_cult 
	}
}

#Discovering Roog cult
country_event = {
	id = fetishist_flavor.2
	title = fetishist_flavor.2.t
	desc = fetishist_flavor.2.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.2.a
		unlock_cult = roog_cult 
	}
}

#Discovering Nyame cult
country_event = {
	id = fetishist_flavor.3
	title = fetishist_flavor.3.t
	desc = fetishist_flavor.3.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.3.a
		unlock_cult = nyame_cult
	}
}

#Divination event for the Yemoja
country_event = {
	id = fetishist_flavor.4
	title = fetishist_flavor.4.t
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_adopted_cult = yemoja_cult
		has_regency = no
		has_heir = yes
		ruler_age = 19
		
		capital_scope = {
			NOT = { has_province_modifier = decisive_ruler }
			NOT = { has_province_modifier = nonchalant_ruler }
		}
	}

	desc = {
		trigger = { has_adopted_cult = yemoja_cult }
		desc = fetishist_flavor.4.d.a
	}
	desc = {
		trigger = {  }
		desc = fetishist_flavor.4.d.b
	}
	
	mean_time_to_happen = {
		months = 400
	}

	option = {
		name = fetishist_flavor.4.a
		custom_tooltip = fetishist_flavor.4.a.tt
		kill_heir = {}
		add_ruler_modifier = {
			name = decisive_ruler
			duration = 1825
		}
		trigger = { NOT = { heir_age = 15 } }
	}
	option = {
		name = fetishist_flavor.4.b
		custom_tooltip = fetishist_flavor.4.b.tt
		add_ruler_modifier = {
			name = nonchalant_ruler
			duration = 1825
		}
		trigger = { NOT = { heir_age = 15 } }
	}
	option = {
		name = fetishist_flavor.4.c
		custom_tooltip = fetishist_flavor.4.a.tt
		kill_heir = {}
		add_ruler_modifier = {
			name = decisive_ruler
			duration = 1825
		}
		trigger = { heir_age = 15 }
	}
	option = {
		name = fetishist_flavor.4.d
		custom_tooltip = fetishist_flavor.4.b.tt
		add_ruler_modifier = {
			name = nonchalant_ruler
			duration = 1825
		}
		trigger = { heir_age = 15 }
	}
}

# Refused ceremonial burial of relative
country_event = {
	id = fetishist_flavor.5
	title = fetishist_flavor.5.t
	picture = PRAYING_eventPicture

	trigger = {
		OR = {
			has_adopted_cult = yemoja_cult
			has_adopted_cult = roog_cult
			has_adopted_cult = nyame_cult
		}

		has_regency = no
		ruler_age = 15

		any_neighbor_country = {
			NOT = { war_with = ROOT }
			NOT = { alliance_with = ROOT }
			NOT = {
				has_opinion = {
					who = ROOT
					value = 50
				}
			}
		}
	}
	immediate = {
		hidden_effect = {
			random_neighbor_country = {
				limit = {
					NOT = { war_with = ROOT }
					NOT = { alliance_with = ROOT }
					NOT = {
						has_opinion = {
							who = ROOT
							value = 50
						}
					}
				}
				save_event_target_as = nonchalant_neighbor
			}
			set_ruler_flag = upset_by_tragically_killed_cousin
		}
	}
	desc = {
		trigger = { has_adopted_cult = yemoja_cult }
		desc = fetishist_flavor.5.d.a
	}
	desc = {
		trigger = { has_adopted_cult = roog_cult }
		desc = fetishist_flavor.5.d.b
	}
	desc = {
		trigger = { has_adopted_cult = nyame_cult }
		desc = fetishist_flavor.5.d.c
	}
	desc = {
		trigger = { 
			NOT = { has_adopted_cult = yemoja_cult }
			NOT = { has_adopted_cult = roog_cult }
			NOT = { has_adopted_cult = nyame_cult }
		}
		desc = fetishist_flavor.5.d.d
	}

	mean_time_to_happen = {
		months = 400
	}

	option = { #West African: # Pay for burial yourself
		name = fetishist_flavor.5.a
		custom_tooltip = fetishist_flavor.5.a.tt

		ai_chance = { factor = 20 }

		add_treasury = -35
		add_dip_power = 60
		country_event = { id = fetishist_flavor.7 days = 20 }

		event_target:nonchalant_neighbor = {
			add_opinion = {
				who = ROOT
				modifier = opinion_approves_of_diplomacy
			}
		}

		trigger = { 
			OR = {
				has_adopted_cult = yemoja_cult
				has_adopted_cult = roog_cult
				has_adopted_cult = nyame_cult
			}
		}
	}
	option = { # Who do they think they are??
		name = fetishist_flavor.5.b
		custom_tooltip = fetishist_flavor.5.b.tt

		ai_chance = { factor = 80 }

		add_opinion = {
			who = event_target:nonchalant_neighbor
			modifier = opinion_disapproves_of_threats
		}
		add_casus_belli = {
			target = event_target:nonchalant_neighbor
			type = cb_insult
			months = 12
		}
		event_target:nonchalant_neighbor = {
			country_event = { id = fetishist_flavor.6 days = 1 }
		}
	}
	option = { # Let it slide
		name = fetishist_flavor.5.c
		custom_tooltip = fetishist_flavor.5.c.tt

		event_target:nonchalant_neighbor = {
			add_opinion = {
				who = ROOT
				modifier = opinion_approves_of_diplomacy
			}
		}
	}
}

# Notification event for nonchalant neighbor
country_event = {
	id = fetishist_flavor.6
	title = fetishist_flavor.6.t
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes

	desc = {
		trigger = { 
			OR = {
				has_adopted_cult = yemoja_cult
				has_adopted_cult = roog_cult
				has_adopted_cult = nyame_cult
			}
		}
		desc = fetishist_flavor.6.d.a
	}
	desc = {
		trigger = { 
			NOT = { has_adopted_cult = yemoja_cult }
			NOT = { has_adopted_cult = roog_cult }
			NOT = { has_adopted_cult = nyame_cult }
		}
		desc = fetishist_flavor.6.d.b
	}

	option = {
		name = fetishist_flavor.6.a
		custom_tooltip = fetishist_flavor.6.a.tt

		tooltip = {
			FROM = {
				add_casus_belli = {
					target = ROOT
					type = cb_insult
					months = 12
				}
			}
		}

		trigger = { has_adopted_cult = FROM }
	}
	option = {
		name = fetishist_flavor.6.b
		custom_tooltip = fetishist_flavor.6.b.tt

		tooltip = {
			FROM = {
				add_casus_belli = {
					target = ROOT
					type = cb_insult
					months = 12
				}
			}
		}

		trigger = { 
			religion = FROM
			NOT = { has_adopted_cult = FROM }
		}
	}
	option = {
		name = fetishist_flavor.6.c

		tooltip = {
			FROM = {
				add_casus_belli = {
					target = ROOT
					type = cb_insult
					months = 12
				}
			}
		}

		trigger = { NOT = { religion = FROM } }
	}
}

# Ceremony was performed
country_event = {
	id = fetishist_flavor.7
	title = fetishist_flavor.7.t
	picture = FETISHIST_FIRE_eventPicture

	is_triggered_only = yes

	trigger = {
		has_ruler_flag = upset_by_tragically_killed_cousin
	}

	desc = {
		trigger = { has_adopted_cult = yemoja_cult }
		desc = fetishist_flavor.7.d.a
	}
	desc = {
		trigger = { has_adopted_cult = roog_cult }
		desc = fetishist_flavor.7.d.b
	}
	desc = {
		trigger = { has_adopted_cult = nyame_cult }
		desc = fetishist_flavor.7.d.c
	}

	immediate = {
		hidden_effect = {
			random_list = {
				20 = { set_country_flag = fantastic_ceremony }
				80 = { set_country_flag = ok_ceremony }
			}
		}
	}
	
	option = {
		name = fetishist_flavor.7.a
		trigger_switch = {
			on_trigger = has_country_flag
			fantastic_ceremony = {
				add_prestige = 10
				clr_country_flag = fantastic_ceremony
			}
			ok_ceremony = {
				add_country_modifier = {
					name = "serenity_of_faith"
					duration = 1825
				}
				clr_country_flag = ok_ceremony
			}
		}
	}
}

# A village elder falls sick
country_event = {
	id = fetishist_flavor.8
	title = fetishist_flavor.8.t
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_adopted_cult = nyame_cult

		any_owned_province = {
			is_capital = no
			religion = owner
			NOT = { has_province_modifier = the_will_of_tano }
			NOT = { has_province_modifier = the_whim_of_anansi }
		}
	}

	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = {
					is_capital = no
					religion = owner
					NOT = { has_province_modifier = the_will_of_tano }
					NOT = { has_province_modifier = the_whim_of_anansi }
				}
				save_event_target_as = tormented_province
			}
		}
	}

	desc = {
		trigger = { has_adopted_cult = nyame_cult }
		desc = fetishist_flavor.8.d.a
	}

	mean_time_to_happen = {
		months = 400
	}

	option = { # Pray to Tano
		name = fetishist_flavor.8.a
		custom_tooltip = fetishist_flavor.8.a.tt
		ai_chance = { factor = 20 }

		add_adm_power = 30

		random_list = {
			20 = {
				event_target:tormented_province = {
					add_province_modifier = {
						name = the_will_of_tano
						duration = 1825
					}
				}
			}
			80 = { }
		}
	}

	option = { # Pray to Anansi
		name = fetishist_flavor.8.b
		custom_tooltip = fetishist_flavor.8.b.tt
		ai_chance = { factor = 80 }

		add_treasury = -20
		random_list = {
			60 = {
				event_target:tormented_province = {
					add_province_modifier = {
						name = the_whim_of_anansi
						duration = 1825
					}
				}
			}
			40 = {
			
			}
		}
	}
}

# A benevolent snake
country_event = {
	id = fetishist_flavor.9
	title = fetishist_flavor.9.t
	desc = fetishist_flavor.9.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_adopted_cult = roog_cult

		any_owned_province = {
			NOT = { religion = owner }
			NOT = { has_province_modifier = presence_of_the_ancestors }
		}
	}

	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = {
					NOT = { religion = owner }
					NOT = { has_province_modifier = presence_of_the_ancestors }
				}
				save_event_target_as = heathen_province
			}
		}
	}

	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.9
			has_idea_group = religious_ideas
		}
	}

	option = { # Give thanks to the ancestors
		name = fetishist_flavor.9.a

		add_dip_power = 30
		event_target:heathen_province = {
			add_province_modifier = {
				name = presence_of_the_ancestors
				duration = 1825
			}
		}
	}
}

#Unlocking cults from other religions
country_event = {
	id = fetishist_flavor.11
	title = fetishist_flavor.11.t #Never Seen
	desc = fetishist_flavor.11.t #Never Seen
	picture = POPE_PREACHING_eventPicture #Never Seen
	
	hidden = yes
		
	immediate = {
		random_neighbor_country = {
			limit = {
				NOT = { religion = shamanism }
				alliance_with = ROOT
				OR = {
					AND = {
						religion_group = eastern
						ROOT = { NOT = { has_unlocked_cult = buddhism_cult } }
					}
					AND = {
						religion_group = dharmic
						ROOT = { NOT = { has_unlocked_cult = dharmic_cult } }
					}
					AND = {
						religion_group = christian
						ROOT = { NOT = { has_unlocked_cult = christianity_cult } }
					}
					AND = {
						religion_group = muslim
						ROOT = { NOT = { has_unlocked_cult = islam_cult } }
					}
					AND = {
						religion = norse_pagan_reformed
						ROOT = { NOT = { has_unlocked_cult = norse_cult } }
					}
					AND = {
						religion = zoroastrian
						ROOT = { NOT = { has_unlocked_cult = zoroastrian_cult } }
					}
					AND = {
						religion = jewish
						ROOT = { NOT = { has_unlocked_cult = jewish_cult } }
					}
					AND = {
						religion = nahuatl
						ROOT = { NOT = { has_unlocked_cult = south_central_american_cult } }
					}
					AND = {
						religion = mesoamerican_religion
						ROOT = { NOT = { has_unlocked_cult = south_central_american_cult } }
					}
				}
			}
			if = {
				limit = {
					OR = {
						religion = mesoamerican_religion
						religion = nahuatl
					}
					ROOT = {  NOT = { has_unlocked_cult = south_central_american_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.404 }
				}
			}
			if = {
				limit = {
					religion_group = christian
					ROOT = {  NOT = { has_unlocked_cult = christianity_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.400 }
				}
			}
			if = {
				limit = {
					religion_group = muslim
					ROOT = {  NOT = { has_unlocked_cult = islam_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.401 }
				}
			}
			if = {
				limit = {
					religion_group = eastern
					ROOT = {  NOT = { has_unlocked_cult = buddhism_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.402 }
				}
			}
			if = {
				limit = {
					religion_group = dharmic
					ROOT = {  NOT = { has_unlocked_cult = dharmic_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.403 }
				}
			}
			if = {
				limit = {
					religion = norse_pagan_reformed
					ROOT = {  NOT = { has_unlocked_cult = norse_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.405 }
				}
			}
			if = {
				limit = {
					religion = jewish
					ROOT = {  NOT = { has_unlocked_cult = jewish_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.406 }
				}
			}
			if = {
				limit = {
					religion = zoroastrian
					ROOT = {  NOT = { has_unlocked_cult = zoroastrian_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.407 }
				}
			}
		}
	}

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		any_neighbor_country = {
			NOT = { religion = shamanism }
			alliance_with = ROOT
			OR = {
				AND = {
					religion_group = eastern
					ROOT = { NOT = { has_unlocked_cult = buddhism_cult } }
				}
				AND = {
					religion_group = dharmic
					ROOT = { NOT = { has_unlocked_cult = dharmic_cult } }
				}
				AND = {
					religion_group = christian
					ROOT = { NOT = { has_unlocked_cult = christianity_cult } }
				}
				AND = {
					religion_group = muslim
					ROOT = { NOT = { has_unlocked_cult = islam_cult } }
				}
				AND = {
					religion = norse_pagan_reformed
					ROOT = { NOT = { has_unlocked_cult = norse_cult } }
				}
				AND = {
					religion = zoroastrian
					ROOT = { NOT = { has_unlocked_cult = zoroastrian_cult } }
				}
				AND = {
					religion = jewish
					ROOT = { NOT = { has_unlocked_cult = jewish_cult } }
				}
				AND = {
					religion = nahuatl
					ROOT = { NOT = { has_unlocked_cult = south_central_american_cult } }
				}
				AND = {
					religion = mesoamerican_religion
					ROOT = { NOT = { has_unlocked_cult = south_central_american_cult } }
				}
			}
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.11.t #Never seen
	}
}

#Unlocking Yemoya
country_event = {
	id = fetishist_flavor.12
	title = fetishist_flavor.1.t
	desc = fetishist_flavor.1.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = yemoja_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = yemoja_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.1.a
		unlock_cult = yemoja_cult
	}
}

#Unlocking Roog
country_event = {
	id = fetishist_flavor.13
	title = fetishist_flavor.2.t
	desc = fetishist_flavor.2.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = roog_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = roog_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.2.a
		unlock_cult = roog_cult
	}
}

#Unlocking Nyame
country_event = {
	id = fetishist_flavor.14
	title = fetishist_flavor.3.t
	desc = fetishist_flavor.3.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = nyame_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = nyame_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.3.a
		unlock_cult = nyame_cult
	}
}

#Unlocking Cwezi
country_event = {
	id = fetishist_flavor.15
	title = fetishist_flavor.101.t
	desc = fetishist_flavor.101.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = cwezi_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = cwezi_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.101.a
		unlock_cult = cwezi_cult
	}
}

#Unlocking Mlira
country_event = {
	id = fetishist_flavor.16
	title = fetishist_flavor.102.t
	desc = fetishist_flavor.102.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = central_african_ancestor_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = central_african_ancestor_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.102.a
		unlock_cult = central_african_ancestor_cult
	}
}

#Unlocking Mwari
country_event = {
	id = fetishist_flavor.17
	title = fetishist_flavor.103.t
	desc = fetishist_flavor.103.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = mwari_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = mwari_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.103.a
		unlock_cult = mwari_cult
	}
}

#Unlocking Enkai
country_event = {
	id = fetishist_flavor.18
	title = fetishist_flavor.201.t
	desc = fetishist_flavor.201.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = enkai_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = enkai_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.201.a
		unlock_cult = enkai_cult
	}
}

#Unlocking Waaq
country_event = {
	id = fetishist_flavor.19
	title = fetishist_flavor.202.t
	desc = fetishist_flavor.202.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = waaq_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = waaq_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.202.a
		unlock_cult = waaq_cult
	}
}

#Unlocking Zanahary
country_event = {
	id = fetishist_flavor.20
	title = fetishist_flavor.203.t
	desc = fetishist_flavor.203.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_unlocked_cult = zanahary_cult }
		any_neighbor_country = {
			religion = shamanism
			has_adopted_cult = zanahary_cult
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.203.a
		unlock_cult = zanahary_cult
	}
}

#Unlocking cults from other religions
country_event = {
	id = fetishist_flavor.21
	title = fetishist_flavor.21.t #Never Seen
	desc = fetishist_flavor.21.t #Never Seen
	picture = POPE_PREACHING_eventPicture #Never Seen
	
	hidden = yes
		
	immediate = {
		random_owned_province = {
			limit = {
				NOT = { religion = shamanism }
				OR = {
					AND = {
						religion_group = eastern
						ROOT = { NOT = { has_unlocked_cult = buddhism_cult } }
					}
					AND = {
						religion_group = dharmic
						ROOT = { NOT = { has_unlocked_cult = dharmic_cult } }
					}
					AND = {
						religion_group = christian
						ROOT = { NOT = { has_unlocked_cult = christianity_cult } }
					}
					AND = {
						religion_group = muslim
						ROOT = { NOT = { has_unlocked_cult = islam_cult } }
					}
					AND = {
						religion = norse_pagan_reformed
						ROOT = { NOT = { has_unlocked_cult = norse_cult } }
					}
					AND = {
						religion = zoroastrian
						ROOT = { NOT = { has_unlocked_cult = zoroastrian_cult } }
					}
					AND = {
						religion = jewish
						ROOT = { NOT = { has_unlocked_cult = jewish_cult } }
					}
					AND = {
						religion = nahuatl
						ROOT = { NOT = { has_unlocked_cult = south_central_american_cult } }
					}
					AND = {
						religion = mesoamerican_religion
						ROOT = { NOT = { has_unlocked_cult = south_central_american_cult } }
					}
				}
			}
			if = {
				limit = {
					OR = {
						religion = mesoamerican_religion
						religion = nahuatl
					}
					ROOT = {  NOT = { has_unlocked_cult = south_central_american_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.404 }
				}
			}
			if = {
				limit = {
					religion_group = christian
					ROOT = {  NOT = { has_unlocked_cult = christianity_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.400 }
				}
			}
			if = {
				limit = {
					religion_group = muslim
					ROOT = {  NOT = { has_unlocked_cult = islam_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.401 }
				}
			}
			if = {
				limit = {
					religion_group = eastern
					ROOT = {  NOT = { has_unlocked_cult = buddhism_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.402 }
				}
			}
			if = {
				limit = {
					religion_group = dharmic
					ROOT = {  NOT = { has_unlocked_cult = dharmic_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.403 }
				}
			}
			if = {
				limit = {
					religion = norse_pagan_reformed
					ROOT = {  NOT = { has_unlocked_cult = norse_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.405 }
				}
			}
			if = {
				limit = {
					religion = jewish
					ROOT = {  NOT = { has_unlocked_cult = jewish_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.406 }
				}
			}
			if = {
				limit = {
					religion = zoroastrian
					ROOT = {  NOT = { has_unlocked_cult = zoroastrian_cult } }
				}
				ROOT = {
					country_event = { id = fetishist_flavor.407 }
				}
			}
		}
	}

	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		any_owned_province = {
			NOT = { religion = shamanism }
			OR = {
				AND = {
					religion_group = eastern
					ROOT = { NOT = { has_unlocked_cult = buddhism_cult } }
				}
				AND = {
					religion_group = dharmic
					ROOT = { NOT = { has_unlocked_cult = dharmic_cult } }
				}
				AND = {
					religion_group = christian
					ROOT = { NOT = { has_unlocked_cult = christianity_cult } }
				}
				AND = {
					religion_group = muslim
					ROOT = { NOT = { has_unlocked_cult = islam_cult } }
				}
				AND = {
					religion = norse_pagan_reformed
					ROOT = { NOT = { has_unlocked_cult = norse_cult } }
				}
				AND = {
					religion = zoroastrian
					ROOT = { NOT = { has_unlocked_cult = zoroastrian_cult } }
				}
				AND = {
					religion = jewish
					ROOT = { NOT = { has_unlocked_cult = jewish_cult } }
				}
				AND = {
					religion = nahuatl
					ROOT = { NOT = { has_unlocked_cult = south_central_american_cult } }
				}
				AND = {
					religion = mesoamerican_religion
					ROOT = { NOT = { has_unlocked_cult = south_central_american_cult } }
				}
			}
		}
	}

	mean_time_to_happen = {
		months = 36
	}

	option = {
		name = fetishist_flavor.21.t #Never seen
	}
}

#Discovering the Cwezi cult
country_event = {
	id = fetishist_flavor.101
	title = fetishist_flavor.101.t
	desc = fetishist_flavor.101.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.101.a
		unlock_cult = cwezi_cult
	}
}

#Discovering Mlira cult
country_event = {
	id = fetishist_flavor.102
	title = fetishist_flavor.102.t
	desc = fetishist_flavor.102.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.102.a
		unlock_cult = central_african_ancestor_cult
	}
}

#Discovering Mwari cult
country_event = {
	id = fetishist_flavor.103
	title = fetishist_flavor.103.t
	desc = fetishist_flavor.103.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.103.a
		unlock_cult = mwari_cult
	}
}

#Mlira

#The voice of our ancestors
country_event = {
	id = fetishist_flavor.130
	title = fetishist_flavor.130.t
	desc = fetishist_flavor.130.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = central_african_ancestor_cult
		NOT = { has_ruler_modifier = ancestral_support }
	}
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.130.a #
		add_ruler_modifier = {
			name = "ancestral_support"
		}
	}
	option = {
		name = fetishist_flavor.130.b #
		add_legitimacy = 10
		add_republican_tradition = 2.5
		add_horde_unity = 5
		add_devotion = 5
	}
}

#Institutionalized Care Taker of Ancestorial Shrines
country_event = {
	id = fetishist_flavor.131
	title = fetishist_flavor.131.t
	desc = fetishist_flavor.131.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = central_african_ancestor_cult
	}
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.131.a #
		add_adm_power = -25
		add_dip_power = -25
		add_ruler_modifier = {
			name = "ancestral_shrine_caretaker"
			duration = -1
		}
	}
	option = {
		name = fetishist_flavor.131.b #
		add_prestige = -10
	}
}

#Ruler Questioned
country_event = {
	id = fetishist_flavor.132
	title = fetishist_flavor.132.t
	desc = fetishist_flavor.132.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = central_african_ancestor_cult
		has_ruler_modifier = ancestral_shrine_caretaker
	}
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.132.a #
		add_adm_power = -25
		add_years_of_income = -0.1
	}
	option = {
		name = fetishist_flavor.132.b #
		add_prestige = -10
		add_stability = -1
		remove_country_modifier = ancestral_shrine_caretaker
	}
}

#Deification of Ancestor
country_event = {
	id = fetishist_flavor.133
	title = fetishist_flavor.133.t
	desc = fetishist_flavor.133.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = central_african_ancestor_cult
		is_year = 1500 #At least one dead ruler by now?
		NOT = { has_ruler_flag = had_ancestor_deified }
	}
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.133.a #Praise be $RANDOM_OLD_MONARCH$!
		add_stability_or_adm_power = yes
		set_ruler_flag = had_ancestor_deified
	}
}

#Mwari

#The semi-monotheistic nature of Mwari
province_event = {
	id = fetishist_flavor.150
	title = fetishist_flavor.150.t
	desc = fetishist_flavor.150.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		is_capital = no
		owner = {
			religion = shamanism #Fetishism
			has_adopted_cult = mwari_cult
		}
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 360
		modifier = {
			factor = 0.8
			NOT = { religion = shamanism }
		}
	}

	option = {
		name = fetishist_flavor.150.a #
		trigger = { religion = shamanism }
		add_province_modifier = {
			name = "enforced_mwari_orthodoxy"
			duration = 3650
		}
	}
	option = {
		name = fetishist_flavor.150.b #
		add_province_modifier = {
			name = "religious_leniency"
			duration = 3650
		}
	}
	option = {
		name = fetishist_flavor.150.c #
		trigger = { NOT = { religion = shamanism } }
		add_province_modifier = {
			name = "mwari_forced_conversions_of_heathens"
			duration = 3650
		}
	}
}

#Obedience from subordinate chiefs
#Mwari and the Mhondoro Spirits
#Purely beneficial event.
province_event = {
	id = fetishist_flavor.151
	title = fetishist_flavor.151.t
	desc = fetishist_flavor.151.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		local_autonomy = 50
		is_state = yes
		owner = {
			religion = shamanism #Fetishism
			has_adopted_cult = mwari_cult
		}
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.151.a #
		add_local_autonomy = -15
	}
}

#Wrath of Mwari
country_event = {
	id = fetishist_flavor.152
	title = fetishist_flavor.152.t
	desc = fetishist_flavor.152.d
	picture = NATIVES_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = mwari_cult
		any_owned_province = {
			is_looted = yes
		}
	}
	
	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = { is_looted = yes }
				save_event_target_as = wrath_of_mwari
			}
		}
	}
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.152.a #
		add_stability = -1
	}
}

#Local Chief and Mhondoro Spirit
province_event = {
	id = fetishist_flavor.153
	title = fetishist_flavor.153.t
	desc = fetishist_flavor.153.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism
		owner = {
			religion = shamanism #Fetishism
			has_adopted_cult = mwari_cult
			OR = {
				AND = {
					government = monarchy
					NOT = { legitimacy = 80 }
				}
				AND = {
					government = republic
					NOT = { republican_tradition = 75 }
				}
				AND = {
					has_reform = steppe_horde
					NOT = { legitimacy = 80 }
					NOT = { horde_unity = 75 }
				}
				AND = {
					government = theocracy
					NOT = { devotion = 80 }
				}
			}
		}
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.153.a #
		spawn_rebels = {
			type = pretender_rebels
			size = 1
		}
	}
}

#Royal Fires
country_event = {
	id = fetishist_flavor.154
	title = fetishist_flavor.154.t
	desc = fetishist_flavor.154.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = mwari_cult
		num_of_cities = 5
	}
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.154.a #
		add_country_modifier = {
			name = "firexit"
			duration = 3650
		}
	}
	option = {
		name = fetishist_flavor.154.b #
		add_country_modifier = {
			name = "forced_mwari_adherence"
			duration = 3650
		}
	}
}

#Cwezi

#Endemic Infertility?
province_event = {
	id = fetishist_flavor.170
	title = fetishist_flavor.170.t
	desc = fetishist_flavor.170.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		NOT = { has_province_modifier = fertility_concerns }
		owner = {
			religion = shamanism #Fetishism
			has_adopted_cult = cwezi_cult
		}
		is_in_capital_area = yes
		is_capital = no
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.170.a #
		area = {
			limit = {
				owned_by = ROOT
				is_capital = no
			}
			add_province_modifier = {
				name = fertility_concerns
				duration = 3650
			}
		}
	}
	option = {
		name = fetishist_flavor.170.b #
		custom_tooltip = fetishist_flavor.170.b.tt
		owner = {
			add_legitimacy = -5
			add_republican_tradition = -2.5
			add_horde_unity = -5
			add_devotion = -5
		}
		hidden_effect = {
			random_list = {
				70 = {
					province_event = { id = fetishist_flavor.171 }
				}
				30 = {
					province_event = { id = fetishist_flavor.172 }
				}
			}
		}
	}
	option = {
		name = fetishist_flavor.170.c
		trigger = {
			owner = {
				is_female = no
				has_consort = yes
			}
		}
		custom_tooltip = fetishist_flavor.170.c.tt
		owner = {
			kill_consort = yes
			add_legitimacy = 10
			add_republican_tradition = 5
			add_horde_unity = 10
			add_devotion = 10
			add_prestige = 10
		}
	}
}

#Support of the Cwezi Spirits
province_event = {
	id = fetishist_flavor.171
	title = fetishist_flavor.171.t
	desc = fetishist_flavor.171.d
	picture = FETISHIST_FIRE_eventPicture

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.171.a
	}
}

#Cwezi Spirits have not heard our plea
province_event = {
	id = fetishist_flavor.172
	title = fetishist_flavor.172.t
	desc = fetishist_flavor.172.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.172.a #
		area = {
			limit = {
				owned_by = ROOT
			}
			add_province_modifier = {
				name = "fertility_concerns"
				duration = 3650
			}
		}
	}
}

#Itinerant Sorceress
country_event = {
	id = fetishist_flavor.173
	title = fetishist_flavor.173.t
	desc = fetishist_flavor.173.d
	picture = TRIBES_MEETING_eventPicture

	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = cwezi_cult
	}
	
	mean_time_to_happen = {
		months = 300
	}
	
	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = {
					is_state = yes
					local_autonomy = 50
				}
				set_province_flag = itinerant_sorceress_effect
			}
			random_owned_province = {
				limit = {
					is_state = yes
					local_autonomy = 50
					NOT = { has_province_flag = itinerant_sorceress_effect }
				}
				set_province_flag = itinerant_sorceress_effect
			}
		}
	}

	option = {
		name = fetishist_flavor.173.a #
		add_years_of_income = -0.05
		add_prestige = 5
		hidden_effect = {
			every_owned_province = {
				limit = { has_province_flag = itinerant_sorceress_effect }
				clr_province_flag = itinerant_sorceress_effect
			}
		}
	}
	option = {
		name = fetishist_flavor.173.b #
		trigger = {
			any_owned_province = {
				is_state = yes
				local_autonomy = 50
			}
		}
		every_owned_province = {
			limit = { has_province_flag = itinerant_sorceress_effect }
			add_local_autonomy = -50
			clr_province_flag = itinerant_sorceress_effect
		}
		add_adm_power = -25
	}
	option = {
		name = fetishist_flavor.173.c #
		trigger = {
			NOT = { stability = 3 }
		}
		add_dip_power = -75
		add_stability_or_adm_power = yes
		hidden_effect = {
			every_owned_province = {
				limit = { has_province_flag = itinerant_sorceress_effect }
				clr_province_flag = itinerant_sorceress_effect
			}
		}
	}
}

#Bad Omen
country_event = {
	id = fetishist_flavor.174
	title = fetishist_flavor.174.t
	picture = FETISHIST_FIRE_eventPicture

	desc = {
		trigger ={
			has_adopted_cult = cwezi_cult
		}
		desc = fetishist_flavor.174.da
	}
	
	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = cwezi_cult
		NOT = { stability = 3 }
	}
	
	mean_time_to_happen = {
		months = 360
	}

	option = {
		name = fetishist_flavor.174.a #
		add_stability = -1
	}
	option = {
		name = fetishist_flavor.174.b #
		add_adm_power = -25
		add_legitimacy = -10
		add_republican_tradition = -5
		add_horde_unity = -10
		add_devotion = -10
		add_prestige = -10
	}
}

#Spirit Shrine Enlargement
country_event = {
	id = fetishist_flavor.175
	title = fetishist_flavor.175.t
	desc = fetishist_flavor.175.d
	picture = TRIBES_MEETING_eventPicture
	
	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism #Fetishism
		has_adopted_cult = cwezi_cult
		any_owned_province = {
			is_capital = no
			NOT = { has_province_modifier = shrine_with_privileges }
			NOT = { has_province_modifier = local_demagogue }
		}
	}
	
	mean_time_to_happen = {
		months = 360
	}
	
	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = {
					is_capital = no
				}
				save_event_target_as = shrine_with_demands
			}
		}
	}

	option = {
		name = fetishist_flavor.175.a #
		add_years_of_income = -0.5
		add_prestige = 10
		event_target:shrine_with_demands = {
			add_base_tax = 1
			add_province_modifier = {
				name = "shrine_with_privileges"
				duration = 3650
			}
		}
	}
	option = {
		name = fetishist_flavor.175.b #
		add_prestige = -10
		event_target:shrine_with_demands = {
			add_province_modifier = {
				name = "local_demagogue"
				duration = 3650
			}
		}
	}
}

#Discovering Enkai cult
country_event = {
	id = fetishist_flavor.201
	title = fetishist_flavor.201.t
	desc = fetishist_flavor.201.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.201.a
		unlock_cult = enkai_cult
	}
}

#Discovering Waaq cult
country_event = {
	id = fetishist_flavor.202
	title = fetishist_flavor.202.t
	desc = fetishist_flavor.202.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.202.a
		unlock_cult = waaq_cult 
	}
}

#Discovering Zanahary cult
country_event = {
	id = fetishist_flavor.203
	title = fetishist_flavor.203.t
	desc = fetishist_flavor.203.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.203.a
		unlock_cult = zanahary_cult 
	}
}

#Rain prayer
country_event = {
	id = fetishist_flavor.204
	title = fetishist_flavor.204.t
	picture = TRIBES_MEETING_eventPicture

	desc = {
		trigger = { has_adopted_cult = waaq_cult }
		desc = fetishist_flavor.204.d.a
	}
	desc = {
		trigger = { has_adopted_cult = yemoja_cult }
		desc = fetishist_flavor.204.d.b
	}

	trigger = {
		has_dlc = "Rights of Man"
		NOT = { is_month = 4 }
		any_owned_province = {
			NOT = { has_province_modifier = rains_of_fertility }
			NOT = { has_province_modifier = barren_lands }
		}
		OR = {
			has_adopted_cult = waaq_cult
			has_adopted_cult = yemoja_cult
		}
	}

	mean_time_to_happen = {
		months = 500
	}
	
	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = { 
					trade_goods = grain 
					NOT = { has_province_modifier = rains_of_fertility }
					NOT = { has_province_modifier = barren_lands }
				}
				save_event_target_as = rain_province
			}

			if = {
				limit = { NOT = { has_saved_event_target = rain_province } }
				random_owned_province = {
					limit = {
						NOT = { has_province_modifier = rains_of_fertility }
						NOT = { has_province_modifier = barren_lands }
					}
					save_event_target_as = rain_province
				}
			}
		}
	}

	#Pray and sacrifice - Waaq
	option = {
		name = fetishist_flavor.204.a
		custom_tooltip = fetishist_flavor.204.a.tt

		add_adm_power = -20

		set_country_flag = rain_prayers

		hidden_effect = {
			random_list = {
				67 = { country_event = { id = fetishist_flavor.205 days = 90 } }
				33 = { country_event = { id = fetishist_flavor.206 days = 90 } }
			}
		}
		trigger = {	has_adopted_cult = waaq_cult }
	}

	#Pray and sacrifice - Yemoja
	option = {
		name = fetishist_flavor.204.b
		custom_tooltip = fetishist_flavor.204.b.tt

		add_adm_power = -20

		set_country_flag = rain_prayers

		hidden_effect = {
			random_list = {
				67 = { country_event = { id = fetishist_flavor.205 days = 90 } }
				33 = { country_event = { id = fetishist_flavor.206 days = 90 } }
			}
		}
		trigger = { has_adopted_cult = yemoja_cult }
	}
	#Do nothing
	option = {
		name = fetishist_flavor.204.c
		custom_tooltip = fetishist_flavor.204.c.tt

		hidden_effect = {
			random_list = {
				33 = { country_event = { id = fetishist_flavor.205 days = 90 } }
				67 = { country_event = { id = fetishist_flavor.206 days = 90 } }
			}
		}
	}
}

#Waaq: rains of fertility
country_event = {
	id = fetishist_flavor.205
	title = fetishist_flavor.205.t
	picture = FARMING_eventPicture

	desc = {
		trigger = { has_country_flag = rain_prayers has_adopted_cult = waaq_cult }
		desc = fetishist_flavor.205.d.a
	}
	desc = {
		trigger = { NOT = { has_country_flag = rain_prayers } has_adopted_cult = waaq_cult }
		desc = fetishist_flavor.205.d.b
	}
	desc = {
		trigger = { has_country_flag = rain_prayers has_adopted_cult = yemoja_cult }
		desc = fetishist_flavor.205.d.c
	}
	desc = {
		trigger = { NOT = { has_country_flag = rain_prayers } has_adopted_cult = yemoja_cult }
		desc = fetishist_flavor.205.d.d
	}

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.205.a

		clr_country_flag = rain_prayers

		event_target:rain_province = {
			area = {
				limit = { owned_by = ROOT }
				add_province_modifier = {
					name = rains_of_fertility
					duration = 1825
				}
			}
		}
		trigger = {
			has_adopted_cult = waaq_cult
		}
	}
	option = {
		name = fetishist_flavor.205.b

		clr_country_flag = rain_prayers

		event_target:rain_province = {
			area = {
				limit = { owned_by = ROOT }
				add_province_modifier = {
					name = rains_of_fertility
					duration = 1825
				}
			}
		}
		trigger = {
			has_adopted_cult = yemoja_cult
		}
	}
}

#Waaq: drought
country_event = {
	id = fetishist_flavor.206
	title = fetishist_flavor.206.t
	picture = FAMINE_eventPicture

	desc = {
		trigger = { has_country_flag = rain_prayers has_adopted_cult = waaq_cult }
		desc = fetishist_flavor.206.d.a
	}
	desc = {
		trigger = { NOT = { has_country_flag = rain_prayers } has_adopted_cult = waaq_cult }
		desc = fetishist_flavor.206.d.b
	}
	desc = {
		trigger = { has_country_flag = rain_prayers has_adopted_cult = yemoja_cult }
		desc = fetishist_flavor.206.d.c
	}
	desc = {
		trigger = { NOT = { has_country_flag = rain_prayers } has_adopted_cult = yemoja_cult }
		desc = fetishist_flavor.206.d.d
	}

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.206.a

		clr_country_flag = rain_prayers
		
		event_target:rain_province = {
			area = {
				limit = { owned_by = ROOT }
				add_province_modifier = {
					name = barren_lands
					duration = 1825
				}
			}
		}
		trigger = {
			has_adopted_cult = waaq_cult
		}
	}

	option = {
		name = fetishist_flavor.206.b

		clr_country_flag = rain_prayers
		
		event_target:rain_province = {
			area = {
				limit = { owned_by = ROOT }
				add_province_modifier = {
					name = barren_lands
					duration = 1825
				}
			}
		}
		trigger = {
			has_adopted_cult = yemoja_cult
		}
	}
}

#Enkai: warrior rite
country_event = {
	id = fetishist_flavor.207
	title = fetishist_flavor.207.t
	desc = fetishist_flavor.207.d
	picture = FETISHIST_FIRE_eventPicture

	trigger = {
		has_adopted_cult = enkai_cult
		has_dlc = "Rights of Man"
		NOT = { has_country_modifier = bold_warriors }
		NOT = { has_country_modifier = disciplined_warriors }
		NOT = { manpower_percentage = 0.8 }
	}

	mean_time_to_happen = {
		months = 300
	}

	option = {
		name = fetishist_flavor.207.a
		add_yearly_manpower = 1

		add_country_modifier = {
			name = bold_warriors
			duration = 3650
		}
	}
	option = {
		name = fetishist_flavor.207.b
		add_yearly_manpower = 1

		add_country_modifier = {
			name = disciplined_warriors
			duration = 3650
		}
	}
}

#Enkai: cattle sacrifice
country_event = {
	id = fetishist_flavor.208
	title = fetishist_flavor.208.t
	desc = fetishist_flavor.208.d
	picture = FAMINE_eventPicture

	trigger = {
		has_adopted_cult = enkai_cult
		has_dlc = "Rights of Man"
		any_owned_province = {
			religion = shamanism
			NOT = { has_province_modifier = god_is_black }
			NOT = { has_province_modifier = god_is_red }
			NOT = { has_province_modifier = forced_sacrifice }
		}
	}

	mean_time_to_happen = {
		months = 300
	}

	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = { 
					religion = shamanism
					NOT = { has_province_modifier = god_is_black }
					NOT = { has_province_modifier = god_is_red }
				}
				save_event_target_as = drought_province
			}
		}
	}

	#Force sacrifice
	option = {
		name = fetishist_flavor.208.a
		custom_tooltip = fetishist_flavor.208.a.tt

		event_target:drought_province = {
			area = {
				add_province_modifier = {
					name = god_is_red
					duration = 1825
				}
				add_province_modifier = {
					name = forced_sacrifice
					duration = 3650
				}
			}
		}

		hidden_effect = {
			random_list = {
				67 = { country_event = { id = fetishist_flavor.209 days = 9 } }
				33 = { country_event = { id = fetishist_flavor.210 days = 9 } }
			}
		}	
	}

	#Let it be
	option = {
		name = fetishist_flavor.208.b
		custom_tooltip = fetishist_flavor.208.b.tt

		event_target:drought_province = {
			area = {
				add_province_modifier = {
					name = god_is_red
					duration = 1825
				}
			}
		}

		hidden_effect = {
			random_list = {
				33 = { country_event = { id = fetishist_flavor.209 days = 9 } }
				67 = { country_event = { id = fetishist_flavor.210 days = 9 } }
			}
		}
	}
}

#God is Black
country_event = {
	id = fetishist_flavor.209
	title = fetishist_flavor.209.t
	desc = fetishist_flavor.209.d
	picture = FETISHIST_FIRE_eventPicture

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.209.a

		event_target:drought_province = {
			area = {
				remove_province_modifier = god_is_red

				add_province_modifier = {
					name = god_is_black
					duration = 1825
				}
			}
		}
	}
}

#God is Red
country_event = {
	id = fetishist_flavor.210
	title = fetishist_flavor.210.t
	desc = fetishist_flavor.210.d
	picture = FAMINE_eventPicture

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.210.a
		custom_tooltip = fetishist_flavor.210.a.tt
	}
}


#Shared events for starter cults

#You have an ancestral grave
country_event = {
	id = fetishist_flavor.301
	title = fetishist_flavor.301.t
	picture = FETISHIST_FIRE_eventPicture
	desc = fetishist_flavor.301.d.a

	trigger = {
		OR = {
			has_adopted_cult = zanahary_cult
			has_adopted_cult = central_african_ancestor_cult
		}
		has_dlc = "Rights of Man"
		NOT = { has_country_flag = lost_ancestral_lands }
		NOT = { has_country_flag = has_ancestral_lands }
	}

	mean_time_to_happen = {
		months = 1
	}

	immediate = {
		hidden_effect = {
			capital_scope = {
				save_event_target_as = ancestral_lands
			}
			capital_scope = {
				random_neighbor_province = {
					limit = {
						area = PREV
						owned_by = ROOT
					}
					save_event_target_as = ancestral_lands
				}
			}
		}
	}

	option = {
		name = fetishist_flavor.301.a
		custom_tooltip = fetishist_flavor.301.a.tt
		set_country_flag = has_ancestral_lands
		event_target:ancestral_lands = {	
			add_province_modifier = {
				name = ancestral_tomb
				duration = -1
			}
		}
	}
}

#Abandoning ancestral grave
country_event = {
	id = fetishist_flavor.302
	title = fetishist_flavor.302.t
	desc = fetishist_flavor.302.d
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes

	trigger = {
		NOT = { has_adopted_cult = zanahary_cult }
		NOT = { has_adopted_cult = central_african_ancestor_cult }
		has_country_flag = has_ancestral_lands
		has_dlc = "Rights of Man"
		any_owned_province = {
			OR = {
				has_province_modifier = ancestral_tomb
				has_province_modifier = grand_ancestral_tomb
				has_province_modifier = crumbling_ancestral_tomb
			}
		}
	}

	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = { 
					OR = {
						has_province_modifier = ancestral_tomb
						has_province_modifier = grand_ancestral_tomb
						has_province_modifier = crumbling_ancestral_tomb
					}
				}
				save_event_target_as = ancestral_lands
			}
		}
	}

	option = {
		name = fetishist_flavor.302.a
		custom_tooltip = fetishist_flavor.302.a.tt

		clr_country_flag = has_ancestral_lands

		event_target:ancestral_lands = {
			remove_province_modifier = ancestral_tomb
			remove_province_modifier = grand_ancestral_tomb
			remove_province_modifier = crumbling_ancestral_tomb
		}
	}
}

#Losing ancestral tomb 
country_event = {
	id = fetishist_flavor.303
	title = fetishist_flavor.303.t
	picture = FETISHIST_FIRE_eventPicture
	desc = fetishist_flavor.303.d.a

	trigger = {
		OR = {
			has_adopted_cult = zanahary_cult
			has_adopted_cult = central_african_ancestor_cult
		}
		has_dlc = "Rights of Man"
		has_country_flag = has_ancestral_lands
		NOT = {
			any_owned_province = {
				OR = {
					has_province_modifier = ancestral_tomb
					has_province_modifier = grand_ancestral_tomb
					has_province_modifier = crumbling_ancestral_tomb
				}
			}
		}
	}

	mean_time_to_happen = {
		months = 2
	}

	option = {
		name = fetishist_flavor.303.a
		custom_tooltip = fetishist_flavor.303.a.tt

		clr_country_flag = has_ancestral_lands
		set_country_flag = lost_ancestral_lands

		add_legitimacy = -10
		add_horde_unity = -10
		add_republican_tradition = -10
		add_devotion = -5

		add_prestige = -15
	}
}

#Rebuilding ancestral tomb
country_event = {
	id = fetishist_flavor.304
	title = fetishist_flavor.304.t
	picture = FETISHIST_FIRE_eventPicture
	desc = fetishist_flavor.304.d.a

	is_triggered_only = yes

	trigger = {
		has_country_flag = lost_ancestral_lands
		has_dlc = "Rights of Man"
		OR = {
			has_adopted_cult = zanahary_cult
			has_adopted_cult = central_african_ancestor_cult
		}
	}

	immediate = {
		hidden_effect = {
			capital_scope = {
				save_event_target_as = ancestral_lands
			}
			capital_scope = {
				random_neighbor_province = {
					limit = {
						area = PREV
						owned_by = ROOT
					}
					save_event_target_as = ancestral_lands
				}
			}
		}
	}

	#Rebuild
	option = {
		name = fetishist_flavor.304.a
		custom_tooltip = fetishist_flavor.304.a.tt

		clr_country_flag = lost_ancestral_lands
		set_country_flag = has_ancestral_lands

		if = { 
			limit = { monthly_income = 20 }
			add_years_of_income = -1
		}
		if = {
			limit = { NOT = { monthly_income = 20 } }
			add_treasury = -250
		}

		add_prestige = 15

		event_target:ancestral_lands = {
			add_province_modifier = {
				name = ancestral_tomb
				duration = -1
			}
		}
	}

	#Ignore
	option = {
		name = fetishist_flavor.304.b
		custom_tooltip = fetishist_flavor.304.b.tt

		add_legitimacy = -5
		add_horde_unity = -5
		add_republican_tradition = -5
		add_devotion = -3

		add_prestige = -10
	}
}

#Restoring the tomb or let it crumble
country_event = {
	id = fetishist_flavor.310
	title = fetishist_flavor.310.t
	picture = FETISHIST_FIRE_eventPicture
	desc = fetishist_flavor.310.d.a

	trigger = {
		#OR = {
			has_adopted_cult = zanahary_cult
		#	has_adopted_cult = central_african_ancestor_cult
		#}
		has_dlc = "Rights of Man"
		any_owned_province = {
			OR = {
				has_province_modifier = ancestral_tomb
				has_province_modifier = crumbling_ancestral_tomb
			}
		}
	}

	mean_time_to_happen = {
		months = 300

	}

	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = { 
					OR = {
						has_province_modifier = ancestral_tomb
						has_province_modifier = grand_ancestral_tomb
						has_province_modifier = crumbling_ancestral_tomb
					}
				}
				save_event_target_as = ancestral_lands
			}
		}
	}

	#Make it grand
	option = {
		name = fetishist_flavor.310.a
		custom_tooltip = fetishist_flavor.310.a.tt

		if = { 
			limit = { monthly_income = 20 }
			add_years_of_income = -1
		}
		if = {
			limit = { NOT = { monthly_income = 20 } }
			add_treasury = -250
		}

		event_target:ancestral_lands = {

			add_province_modifier = {
				name = grand_ancestral_tomb
				duration = 5475
			}

			hidden_effect = {
				remove_province_modifier = crumbling_ancestral_tomb
				remove_province_modifier = ancestral_tomb
			}
		}

		hidden_effect = { country_event = { id = fetishist_flavor.311 days = 5474 } } 
	}

	#Repair
	option = {
		name = fetishist_flavor.310.b
		custom_tooltip = fetishist_flavor.310.b.tt

		if = { 
			limit = { monthly_income = 20 }
			add_years_of_income = -0.4
		}
		if = {
			limit = { NOT = { monthly_income = 20 } }
			add_treasury = -100
		}

		event_target:ancestral_lands = {

			if = {
				limit = { has_province_modifier = crumbling_ancestral_tomb }

				add_province_modifier = {
					name = ancestral_tomb
					duration = -1
				}

				hidden_effect = { remove_province_modifier = crumbling_ancestral_tomb }
			}
		}
	}

	#Let it crumble
	option = {
		name = fetishist_flavor.310.c
		custom_tooltip = fetishist_flavor.310.c.tt

		event_target:ancestral_lands = {

			add_province_modifier = {
				name = crumbling_ancestral_tomb
				duration = -1
			}

			hidden_effect = { remove_province_modifier = ancestral_tomb }
		}
	}
}

#Grand tomb reverting to normal
country_event = {
	id = fetishist_flavor.311
	title = fetishist_flavor.311.t
	desc = fetishist_flavor.311.d
	picture = FETISHIST_FIRE_eventPicture

	is_triggered_only = yes

	trigger = {
		event_target:ancestral_lands = { has_province_modifier = grand_ancestral_tomb }
		has_dlc = "Rights of Man"
	}

	option = {
		name = fetishist_flavor.311.a
		custom_tooltip = fetishist_flavor.311.a.tt

		event_target:ancestral_lands = {

			add_province_modifier = {
				name = ancestral_tomb
				duration = -1
			}

			hidden_effect = { remove_province_modifier = grand_ancestral_tomb }
		}
	}
}

#Natural disaster
country_event = { 
	id = fetishist_flavor.312
	title = fetishist_flavor.312.t
	picture = PLAGUE_eventPicture

	desc = {
		trigger = { has_adopted_cult = waaq_cult }
		desc = fetishist_flavor.312.d.a
	}

	trigger = {
		has_adopted_cult = waaq_cult
		has_dlc = "Rights of Man"
		any_owned_province = {
			is_capital = no
			is_state = yes
		}
	}

	mean_time_to_happen = {
		months = 400
	}

	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = { 
					is_capital = no 
					is_state = yes
				} 
				save_event_target_as = earthquake_province
			}
			random_neighbor_country = {
				limit = {
					religion = ROOT 
					NOT = { has_unlocked_cult = ROOT }
				}
				save_event_target_as = earthquake_infidel
			}
			random_neighbor_country = {
				limit = { NOT = { religion = ROOT } }
				save_event_target_as = earthquake_infidel
			}
		}
	}

	#Blame someone else
	option = {
		trigger = { has_saved_event_target = earthquake_infidel } 

		name = fetishist_flavor.312.a
		custom_tooltip = fetishist_flavor.312.a.tt

		add_casus_belli = {
			target = event_target:earthquake_infidel
			type = cb_insult
			months = 36
		}

		event_target:earthquake_infidel = {
			add_opinion = {
				modifier = opinion_insulted_by_accusation
				who = ROOT
				years = 15
			}
		}

		event_target:earthquake_province = {
			add_province_modifier = {
				name = hit_by_earthquake
				duration = 3650
			}	
		}
	}

	#Blame internal infidels
	option = {
		trigger = { any_owned_province = { has_owner_religion = no } }

		name = fetishist_flavor.312.b
		custom_tooltip = fetishist_flavor.312.b.tt

		add_country_modifier = {
			name = persecuting_infidels
			duration = 5475
		}

		event_target:earthquake_province = {
			add_province_modifier = {
				name = hit_by_earthquake
				duration = 3650
			}
		}
	}

	#Rebuild
	option = {
		name = fetishist_flavor.312.c
		custom_tooltip = fetishist_flavor.312.c.tt

		if = { 
			limit = { monthly_income = 20 }
			add_years_of_income = -0.2
		}
		if = {
			limit = { NOT = { monthly_income = 20 } }
			add_treasury = -50
		}

		event_target:earthquake_province = {
			add_province_modifier = {
				name = rebuilding_efforts
				duration = 5475
			}

			add_province_modifier = {
				name = hit_by_earthquake
				duration = 3650
			}
		}
	}

	#Be devout
	option = {
		name = fetishist_flavor.312.d
		custom_tooltip = fetishist_flavor.312.d.tt

		add_ruler_modifier = {
			name = devout_ruler
		}

		add_adm_power = -100

		event_target:earthquake_province = {
			add_province_modifier = {
				name = hit_by_earthquake
				duration = 3650
			}
		}
	}
}


#ROTW religion cults

#Unlocking Christianity
country_event = {
	id = fetishist_flavor.400
	title = fetishist_flavor.400.t
	desc = fetishist_flavor.400.d
	picture = POPE_PREACHING_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.400.a
		unlock_cult = christianity_cult 
	}
}

#Unlocking Islam
country_event = {
	id = fetishist_flavor.401
	title = fetishist_flavor.401.t
	desc = fetishist_flavor.401.d
	picture = PRAYING_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.401.a
		unlock_cult = islam_cult 
	}
}

#Unlocking Buddhism
country_event = {
	id = fetishist_flavor.402
	title = fetishist_flavor.402.t
	desc = fetishist_flavor.402.d
	picture = BUDDHA_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.402.a
		unlock_cult = buddhism_cult 
	}
}

#Unlocking Dharmic
country_event = {
	id = fetishist_flavor.403
	title = fetishist_flavor.403.t
	desc = fetishist_flavor.403.d
	picture = NEW_HEIR_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.403.a
		unlock_cult = dharmic_cult 
	}
}

#Unlocking Teotl
country_event = {
	id = fetishist_flavor.404
	title = fetishist_flavor.404.t
	desc = fetishist_flavor.404.d
	picture = COMET_SIGHTED_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.404.a
		unlock_cult = south_central_american_cult 
	}
}

#Unlocking Norse
country_event = {
	id = fetishist_flavor.405
	title = fetishist_flavor.405.t
	desc = fetishist_flavor.405.d
	picture = HORDE_ON_HORSEBACK_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.405.a
		unlock_cult = norse_cult 
	}
}

#Unlocking Jewish
country_event = {
	id = fetishist_flavor.406
	title = fetishist_flavor.406.t
	desc = fetishist_flavor.406.d
	picture = BIG_BOOK_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.406.a
		unlock_cult = jewish_cult 
	}
}

#Unlocking Zoroastrian
country_event = {
	id = fetishist_flavor.407
	title = fetishist_flavor.407.t
	desc = fetishist_flavor.407.d
	picture = PRAYING_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_dlc = "Rights of Man"
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = fetishist_flavor.407.a
		unlock_cult = zoroastrian_cult
	}
}

#Freyja: fertility
country_event = {
	id = fetishist_flavor.408
	title = fetishist_flavor.408.t
	picture = QUEEN_AT_COUNCIL_TABLE_eventPicture

	desc = {
		trigger = { is_female = no }
		desc = fetishist_flavor.408.d.a
	}
	desc = {
		trigger = { is_female = yes }
		desc = fetishist_flavor.408.d.b
	}

	trigger = {
		has_adopted_cult = norse_cult
		has_heir = no
		has_dlc = "Rights of Man"
		OR = {
			is_female = no
			AND = {
				is_female = yes
				NOT = { ruler_age = 39 }
			}
		}
	}

	mean_time_to_happen = {
		months = 450
	}

	#Perform ritual
	option = {
		name = fetishist_flavor.408.a
		custom_tooltip = fetishist_flavor.408.a.tt

		if = { 
			limit = { monthly_income = 20 }
			add_years_of_income = -0.2
		}
		if = {
			limit = { NOT = { monthly_income = 20 } }
			add_treasury = -50
		}

		hidden_effect = {
			random_list = {
				#Success
				60 = { country_event = { id = fetishist_flavor.409 days = 268 } } 
				#Failure
				40 = { country_event = { id = fetishist_flavor.410 days = 90 } } 				
			}
		}
	}

	#Don't
	option = {
		name = fetishist_flavor.408.b
		custom_tooltip = fetishist_flavor.408.b.tt

		add_country_modifier = {
			name = displeased_the_wotan
			duration = 3650
		}
	}
}

#Freyja gives you children
country_event = {
	id = fetishist_flavor.409
	title = fetishist_flavor.409.t
	picture = KING_DOING_GREAT_eventPicture

	desc = {
		trigger = { is_female = no }
		desc = fetishist_flavor.409.d.a
	}
	desc = {
		trigger = { is_female = yes }
		desc = fetishist_flavor.409.d.b
	}

	trigger = { 
		has_heir = no
		has_government_attribute = heir
	}

	is_triggered_only = yes

	#Heir 1
	option = {
		name = fetishist_flavor.409.a
		
		add_prestige = 10

		define_heir = {
			adm = 4
			religion = norse_pagan_reformed
			female = yes
			age = 0
			name = "Hnoss"
			dynasty = ROOT
		}
	}

	#Heir 2
	option = {
		name = fetishist_flavor.409.b
		
		add_prestige = 10

		define_heir = {
			mil = 4
			female = yes
			age = 0
			name = "Gersemi"
			religion = norse_pagan_reformed
			dynasty = ROOT
		}
	}
}

#No children
country_event = {
	id = fetishist_flavor.410
	title = fetishist_flavor.410.t
	picture = KINGS_CHOICE_eventPicture

	desc = {
		trigger = { is_female = no }
		desc = fetishist_flavor.410.d.a
	}
	desc = {
		trigger = { is_female = yes }
		desc = fetishist_flavor.410.d.b
	}

	trigger = {
		has_heir = no
	}

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.410.a

		add_prestige = -10
		add_stability = -1
	}
}

#Do seid magic?
country_event = {
	id = fetishist_flavor.411
	title = fetishist_flavor.411.t
	desc = fetishist_flavor.411.d
	picture = QUEEN_AT_COUNCIL_TABLE_eventPicture

	trigger = {
		any_country = { 
			war_with = ROOT 
			NOT = { has_adopted_cult = norse_cult }
		}
		has_dlc = "Rights of Man"
		has_adopted_cult = norse_cult

		NOT = { has_country_modifier = displeased_the_wotan }
		NOT = { has_country_modifier = freyjas_chosen }
		NOT = { has_country_modifier = greed_of_freyja }
		NOT = { has_country_modifier = beloved_diplomats }
		NOT = { has_country_modifier = scorned_diplomats }
	}

	mean_time_to_happen = {
		months = 300
	}

	immediate = {
		hidden_effect = {
			random_country = {
				limit = {
					war_with = ROOT
					NOT = { has_adopted_cult = norse_cult }
				}
				save_event_target_as = freyja_enemy
			}
		}
	}

	option = {
		name = fetishist_flavor.411.a
		custom_tooltip = fetishist_flavor.411.a.tt

		random_list = {
			67 = { 
				hidden_effect = { country_event = { id = fetishist_flavor.412 days = 30 } }
				custom_tooltip = fetishist_flavor.411.a.pos
			} 
			33 = { 
				hidden_effect = { country_event = { id = fetishist_flavor.413 days = 30 } }
				custom_tooltip = fetishist_flavor.411.a.neg
			}
		}
		
	}

	option = {
		name = fetishist_flavor.411.b
		custom_tooltip = fetishist_flavor.411.b.tt

		random_list = {
			67 = { 
				hidden_effect = { country_event = { id = fetishist_flavor.414 days = 30 } }
				custom_tooltip = fetishist_flavor.411.a.pos
			} 
			33 = { 
				hidden_effect = { country_event = { id = fetishist_flavor.415 days = 30 } }
				custom_tooltip = fetishist_flavor.411.a.neg
			}
		}
	}

	option = {
		name = fetishist_flavor.411.c
		custom_tooltip = fetishist_flavor.411.c.tt

		add_country_modifier = {
			name = displeased_the_wotan
			duration = 3650
		}
	}
}

#War seid success
country_event = {
	id = fetishist_flavor.412
	title = fetishist_flavor.412.t
	desc = fetishist_flavor.412.d
	picture = HORDE_ON_HORSEBACK_eventPicture

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.412.a

		add_country_modifier = {
			name = freyjas_chosen
			duration = 1825
		}
	}
}

#War seid failure
country_event = {
	id = fetishist_flavor.413
	title = fetishist_flavor.413.t
	desc = fetishist_flavor.413.d
	picture = WOUNDED_SOLDIERS_eventPicture

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.413.a

		add_country_modifier = {
			name = greed_of_freyja
			duration = 1825
		}
	}
}

#Diplomacy seid success
country_event = {
	id = fetishist_flavor.414
	title = fetishist_flavor.414.t
	desc = fetishist_flavor.414.d
	picture = QUEEN_AT_COUNCIL_TABLE_eventPicture

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.414.a

		add_country_modifier = {
			name = beloved_diplomats
			duration = 3650
		}
	}
}

#Diplomacy seid failure
country_event = {
	id = fetishist_flavor.415
	title = fetishist_flavor.415.t
	desc = fetishist_flavor.415.d
	picture = KINGS_CHOICE_eventPicture

	is_triggered_only = yes

	option = {
		name = fetishist_flavor.413.a

		add_country_modifier = {
			name = scorned_diplomats
			duration = 3650
		}
	}
}

#Buddhism: no killing
country_event = {
	id = fetishist_flavor.416
	title = fetishist_flavor.416.t
	desc = fetishist_flavor.416.d

	picture = {
		trigger = { has_dlc = "Common Sense" }
		picture = BUDDHISM_GOOD_eventPicture
	}
	picture = {
		trigger = { NOT = { has_dlc = "Common Sense" } }
		picture = POPE_PREACHING_eventPicture
	}

	trigger = {
		has_adopted_cult = buddhism_cult
		has_dlc = "Rights of Man"
		any_owned_province = {
			NOT = { has_province_modifier = doing_no_harm }
			NOT = { has_province_modifier = forced_conscription }
			religion = shamanism
		}
	}

	mean_time_to_happen = { months = 300 }

	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = {
					NOT = { has_province_modifier = doing_no_harm }
					NOT = { has_province_modifier = forced_conscription }
				}
				save_event_target_as = no_killing_province
			}
		}
	}

	option = {
		name = fetishist_flavor.416.a
		custom_tooltip = fetishist_flavor.416.a.tt

		event_target:no_killing_province = {
			area = {
				limit = { owned_by = ROOT }

				add_province_modifier = {
					name = doing_no_harm
					duration = 5475
				}
			}
		}
	}

	option = {
		name = fetishist_flavor.416.b
		custom_tooltip = fetishist_flavor.416.b.tt

		event_target:no_killing_province = {
			area = {
				limit = { owned_by = ROOT }

				add_province_modifier = {
					name = forced_conscription
					duration = 5475
				}
			}
		}
	}
}

#Buddhism: transferring merit
country_event = {
	id = fetishist_flavor.417
	title = fetishist_flavor.417.t
	desc = fetishist_flavor.417.d

	picture = {
		trigger = { has_dlc = "Common Sense" }
		picture = BUDDHISM_GOOD_eventPicture
	}
	picture = {
		trigger = { NOT = { has_dlc = "Common Sense" } }
		picture = POPE_PREACHING_eventPicture
	}

	trigger = {
		has_dlc = "Rights of Man"
		has_adopted_cult = buddhism_cult
	}

	mean_time_to_happen = { months = 300 }

	option = {
		name = fetishist_flavor.417.a
		custom_tooltip = fetishist_flavor.417.a.tt

		add_prestige = 10
		add_legitimacy = 10
	}

	option = {
		name = fetishist_flavor.417.b
		custom_tooltip = fetishist_flavor.417.b.tt

		add_ruler_modifier = {
			name = selfless_ruler
			duration = 3650
		}
	}
}


province_event = {
	id = fetishist_flavor.418
	title = fetishist_flavor.418.t
	desc = fetishist_flavor.418.d
	picture = KINGS_CHOICE_eventPicture
	
	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		is_capital = no
		owner = {
			has_adopted_cult = jewish_cult
		}

		NOT = { has_province_flag = fetishist_jewish_immigrants }
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 600
		modifier = {
			factor = 0.9
			any_neighbor_province = {
				religion = jewish
			}
		}
	}
	
	
	option = {
		name = fetishist_flavor.418.a
		custom_tooltip = fetishist_flavor.418.a.tt

		change_religion = jewish

		add_base_tax = 1

		add_province_modifier = {
			name = jewish_immigrants
			duration = 7300
		}

		hidden_effect = { province_event = { id = fetishist_flavor.419 days = 1 } }
		set_province_flag = fetishist_jewish_immigrants
	}

	option = {
		name = fetishist_flavor.418.b
		custom_tooltip = fetishist_flavor.418.b.tt

		owner = {
			add_prestige = 5
		}
	}
}

province_event = {
	id = fetishist_flavor.419
	title = fetishist_flavor.419.t
	desc = fetishist_flavor.419.d
	picture = POPE_PREACHING_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Rights of Man"
		religion = jewish
		owner = { has_adopted_cult = jewish_cult }
	}

	option = {
		name = fetishist_flavor.419.a
		owner = {
			add_meritocracy_effect = yes
			if = {
				limit = {
					monthly_income = 25
				}
				define_advisor = {
					name = "000"
					type = trader
					religion = jewish
					skill = 3
					discount = yes
				}
			}
			if = {
				limit = { NOT = { monthly_income = 25 } }
				define_advisor = {
					name = "000"
					type = trader
					religion = jewish
					skill = 2
					discount = yes
				}
			}
			add_country_modifier = {
				name = blasphemous_advisor
				duration = 3650
			}
		}
	}

	option = {
		name = fetishist_flavor.419.b

		add_province_modifier = {
			name = dissatisfied_jews
			duration = 3650
		}
	}
}

#Desecration of Sanbat (the Ge'ez word for Sabbath)
country_event = {
	id = fetishist_flavor.420
	title = fetishist_flavor.420.t
	desc = fetishist_flavor.420.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		has_dlc = "Rights of Man"
		religion = shamanism
		has_adopted_cult = jewish_cult
		
		OR = {
			advisor = artist
			advisor = inquisitor
			advisor = master_of_mint
			advisor = natural_scientist
			advisor = philosopher
			advisor = theologian
			advisor = treasurer			
		}
	}
	
	mean_time_to_happen = {
		months = 400
	}

	option = {
		name = fetishist_flavor.420.a

		add_adm_power = -40
		reduce_meritocracy_effect = yes
		if = {
			limit = { advisor = artist }
			remove_advisor = artist
		}
		if = {
			limit = { advisor = inquisitor }
			remove_advisor = inquisitor
		}
		if = {
			limit = { advisor = master_of_mint }
			remove_advisor = master_of_mint
		}
		if = {
			limit = { advisor = natural_scientist }
			remove_advisor = natural_scientist
		}
		if = {
			limit = { advisor = philosopher }
			remove_advisor = philosopher
		}
		if = {
			limit = { advisor = theologian }
			remove_advisor = theologian
		}
		if = {
			limit = { advisor = treasurer }
			remove_advisor = treasurer
		}
	}

	option = {
		name = fetishist_flavor.420.b

		add_country_modifier = {
			name = blasphemous_advisor
			duration = 3650
		}	
	}
}

#Unorthodoxy
country_event = {
	id = fetishist_flavor.450
	title = fetishist_flavor.450.t
	desc = fetishist_flavor.450.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		has_adopted_cult = christianity_cult
		religion = shamanism
		has_dlc = "Rights of Man"
		any_neighbor_country = {
			religion_group = christian
		}
	}
	
	mean_time_to_happen = {
		months = 380
	}
	
	immediate = {
		hidden_effect = {
			random_neighbor_country = {
				limit = { religion_group = christian }
				save_event_target_as = christian_neighbor
			}
		}
	}
	
	option = {
		name = fetishist_flavor.450.a #
		event_target:christian_neighbor = {
			add_opinion = {
				who = ROOT
				modifier = christian_unorthodoxy
			}
		}
	}
	option = {
		name = fetishist_flavor.450.b #
		add_dip_power = -50
	}
}

#The Christian Community Brings us Closer
country_event = {
	id = fetishist_flavor.451
	title = fetishist_flavor.451.t
	desc = fetishist_flavor.451.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		has_adopted_cult = christianity_cult
		religion = shamanism
		has_dlc = "Rights of Man"
		any_known_country = {
			religion_group = christian
		}
	}
	
	mean_time_to_happen = {
		months = 380
	}
	
	
	option = {
		name = fetishist_flavor.451.a #
		custom_tooltip = fetishist_flavor.451.a.tt
		hidden_effect = {
			every_known_country = {
				limit = { religion_group = christian }
				add_opinion = {
					who = ROOT
					modifier = christian_brotherhood
				}
			}
		}
	}
}

#Christian Missionaries
province_event = {
	id = fetishist_flavor.452
	title = fetishist_flavor.452.t
	desc = fetishist_flavor.452.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		is_capital = no
		owner = {
			has_adopted_cult = christianity_cult
			religion = shamanism
			any_known_country = {
				religion_group = christian
				num_of_cities = 5
				num_of_ports = 1
			}
		}
	}
	
	mean_time_to_happen = {
		months = 360
	}	
	
	immediate = {
		hidden_effect = {
			owner = {
				random_known_country = {
					limit = {
						religion_group = christian
						num_of_cities = 5
						num_of_ports = 1
					}
					save_event_target_as = christian_missionary_origin
				}
			}
		}
	}
	
	is_mtth_scaled_to_size = 1
	
	option = {
		name = fetishist_flavor.452.a #Allow it.
		change_religion = event_target:christian_missionary_origin
		add_province_modifier = {
			name = "christian_mission_fetishism"
			duration = 3650
		}
	}
	option = {
		name = fetishist_flavor.452.b #We must maintain control the Church of X
		custom_tooltip = fetishist_flavor.452.b.tt
		event_target:christian_missionary_origin = {
			add_opinion = {
				who = ROOT
				modifier = christian_unorthodoxy
			}
		}
	}
}

#Learned Judge
country_event = {
	id = fetishist_flavor.455
	title = fetishist_flavor.455.t
	desc = fetishist_flavor.455.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		has_adopted_cult = islam_cult
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_ruler_modifier = qadi_in_fetishist_lands }
	}
	
	mean_time_to_happen = {
		months = 500
	}
	
	
	option = {
		name = fetishist_flavor.455.a #
		add_ruler_modifier = {
			name = "qadi_in_fetishist_lands"
			duration = -1
		}
	}
	option = {
		name = fetishist_flavor.455.b #
		add_prestige = 10
	}
}

#Shirazi Merchants
province_event = {
	id = fetishist_flavor.456
	title = fetishist_flavor.456.t
	desc = fetishist_flavor.456.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		owner = { has_adopted_cult = islam_cult }
		religion = shamanism
		has_dlc = "Rights of Man"
		NOT = { has_province_modifier = shirazi_merchant_presence }
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 380
	}
	
	
	option = {
		name = fetishist_flavor.456.a #
		add_province_modifier = {
			name = "shirazi_merchant_presence"
			duration = 3650
		}
	}
}

#Religious Tensions
province_event = {
	id = fetishist_flavor.457
	title = fetishist_flavor.457.t
	desc = fetishist_flavor.457.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		religion_group = muslim
		owner = {
			religion = shamanism
			has_adopted_cult = islam_cult
		}
		has_dlc = "Rights of Man"
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 360
	}
	
	option = {
		name = fetishist_flavor.457.a #
		owner = {
			add_adm_power = -25
		}
	}
	
	option = {
		name = fetishist_flavor.457.b #
		if = {
			limit = { can_spawn_rebels = sunni_rebels }
			spawn_rebels = {
				type = sunni_rebels 
				size = 1
			}
		}
		if = {
			limit = { can_spawn_rebels = ibadi_rebels }
			spawn_rebels = {
				type = ibadi_rebels 
				size = 1
			}
		}
		if = {
			limit = { can_spawn_rebels = shiite_rebels }
			spawn_rebels = {
				type = shiite_rebels 
				size = 1
			}
		}
	}
}

#Spread of Islam
province_event = {
	id = fetishist_flavor.458
	title = fetishist_flavor.458.t
	desc = fetishist_flavor.458.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		owner = {
			has_adopted_cult = islam_cult
			any_known_country = {
				religion_group = muslim
				num_of_cities = 3
				num_of_ports = 1
			}
		}
	}
	
	immediate = {
		hidden_effect = {
			owner = {
				random_known_country = {
					limit = {
						religion_group = muslim
						num_of_cities = 3
						num_of_ports = 1
					}
					save_event_target_as = muslim_missionary_origin
				}
			}
		}
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 600
		modifier = {
			factor = 0.8
			has_province_modifier = shirazi_merchant_presence
		}
		modifier = {
			factor = 0.9
			owner = {
				has_ruler_modifier = qadi_in_fetishist_lands
			}
		}
		modifier = {
			factor = 0.9
			any_neighbor_province = {
				religion_group = muslim
			}
		}
	}
	
	
	option = {
		name = fetishist_flavor.458.a #
		change_religion = event_target:muslim_missionary_origin
	}
}

#Spread of Zoroastrianism
province_event = {
	id = fetishist_flavor.460
	title = fetishist_flavor.460.t
	desc = fetishist_flavor.460.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		is_capital = no
		NOT = { has_province_modifier = zoroastrian_migration_into_africa }
		owner = {
			has_adopted_cult = zoroastrian_cult
		}
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 600
		modifier = {
			factor = 0.9
			any_neighbor_province = {
				religion = zoroastrian
			}
		}
	}
	
	
	option = {
		name = fetishist_flavor.460.a #
		change_religion = zoroastrian
		add_province_modifier = {
			name = "zoroastrian_migration_into_africa"
			duration = 3650
		}
	}
	option = {
		name = fetishist_flavor.460.b #
		owner = {
			add_prestige = 5
		}
	}
}

#Fire Extinguished
province_event = {
	id = fetishist_flavor.461
	title = fetishist_flavor.461.t
	desc = fetishist_flavor.461.d
	picture = POPE_PREACHING_eventPicture
	
	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		is_capital = no
		NOT = { has_province_modifier = zoroastrian_unrest }
		owner = {
			has_adopted_cult = zoroastrian_cult
		}
	}
	
	is_mtth_scaled_to_size = 1
	
	mean_time_to_happen = {
		months = 460
	}
	
	immediate = {
		hidden_effect = {
			random_list = {
				60 = { set_province_flag = fetishist_zoroastrian_unrest }
				40 = { set_province_flag = fetishist_reaction }
			}
		}
	}
	
	option = {
		name = fetishist_flavor.461.a #
		trigger_switch = {
			on_trigger = has_province_flag
			fetishist_zoroastrian_unrest = {
				add_province_modifier = {
					name = "zoroastrian_unrest"
					duration = 1825
				}
				clr_province_flag = fetishist_zoroastrian_unrest
			}
			fetishist_reaction = {
				spawn_rebels = {
					type = shamanism_rebels
					size = 1
				}
				clr_province_flag = fetishist_reaction
			}
		}
		
	}
}

### Aztec (Teotl) cult flavor events 

# The Elders think we've grown soft
country_event = {
	id = fetishist_flavor.500
	title = fetishist_flavor.500.t
	desc = fetishist_flavor.500.d
	picture = ACCUSATION_eventPicture
	
	trigger = {
		has_adopted_cult = south_central_american_cult
		has_regency = no
		has_dlc = "Rights of Man"
		NOT = { had_recent_war = 2 } # Must be over two years since last war
		NOT = { has_ruler_modifier = warrior_of_the_sun }
		NOT = {
            any_owned_province = {
				has_province_modifier = observatory_building
            }
        }
		any_owned_province = {
			NOT = { has_province_modifier = rioting_workers }
			is_state = yes
		}
	}
	
	mean_time_to_happen = {
		months = 250
	}
	
	option = {
		name = fetishist_flavor.500.a # Build an observatory
		custom_tooltip = fetishist_flavor.500.a.tt

		ai_chance = {
			factor = 40
		}
		add_treasury = -50
		add_adm_power = -50
		random_list = {
			65 = { country_event = { id = fetishist_flavor.501 days = 65 } }
			35 = { country_event = { id = fetishist_flavor.503 days = 65 } }
		}
	}
	option = {
		name = fetishist_flavor.500.b # Sacrifice
		custom_tooltip = fetishist_flavor.500.b.tt
		ai_chance = {
			factor = 60
		}
		add_mil_power = -50
		
		random_list = {
			70 = { country_event = { id = fetishist_flavor.502 days = 25 } }
			30 = { country_event = { id = fetishist_flavor.504 days = 25 } }
		}
	}
}

# Observatory built
country_event = {
	id = fetishist_flavor.501
	title = fetishist_flavor.501.t
	desc = fetishist_flavor.501.d
	picture = INVENTION_eventPicture
	
	trigger = {
		has_adopted_cult = south_central_american_cult
		has_dlc = "Rights of Man"
	}
	
	is_triggered_only = yes
	
	option = {
		name = fetishist_flavor.501.a #Yay
		random_owned_province = {
			limit = {
				NOT = { has_province_modifier = observatory_building }
				is_state = yes
			}
			add_province_modifier = {
				name = observatory_building
				duration = 18250
			}
		}
	}
}

# Ruler auto-sacrifice SUCCESS
country_event = {
	id = fetishist_flavor.502
	title = fetishist_flavor.502.t
	desc = fetishist_flavor.502.d
	picture = ADVISOR_eventPicture
	
	trigger = {
		has_adopted_cult = south_central_american_cult
		has_dlc = "Rights of Man"
	}
	
	is_triggered_only = yes
	
	option = {
		name = fetishist_flavor.502.a #Yay

		add_mil_power = 100
		add_ruler_modifier = {
			name = warrior_of_the_sun
		}
	}
}


# Failed to build observatory
country_event = {
	id = fetishist_flavor.503
	title = fetishist_flavor.503.t
	desc = fetishist_flavor.503.d
	picture = BORDER_TENSION_eventPicture
	
	trigger = {
		has_adopted_cult = south_central_american_cult
		has_dlc = "Rights of Man"
	}
	
	is_triggered_only = yes
	
	option = {
		name = fetishist_flavor.503.a #Oh noes
		random_owned_province = {
			limit = {
				NOT = { has_province_modifier = rioting_workers }
			}
			add_province_modifier = {
				name = rioting_workers
				duration = 1825
			}
		}
	}
}

# Ruler auto-sacrifice FAILURE
country_event = {
	id = fetishist_flavor.504
	title = fetishist_flavor.504.t
	desc = fetishist_flavor.504.d
	picture = WOUNDED_SOLDIER_eventPicture
	
	trigger = {
		has_adopted_cult = south_central_american_cult
		has_dlc = "Rights of Man"
	}
	
	is_triggered_only = yes
	
	option = {
		name = fetishist_flavor.504.a #Oh noes
		change_mil = -1
		change_dip = -1
	}
}

# A great goldsmith appears
country_event = {
	id = fetishist_flavor.505
	title = fetishist_flavor.505.t
	desc = fetishist_flavor.505.d
	picture = ADVISOR_eventPicture
	
	trigger = {
		has_adopted_cult = south_central_american_cult
		has_dlc = "Rights of Man"
		any_owned_province = {
			NOT = { has_province_modifier = artisan_of_gold }
			has_owner_religion = yes
		}
	}
	
	mean_time_to_happen = {
		months = 350
	}
	
	option = {
		name = fetishist_flavor.505.a # The goldsmith becomes famous
		add_prestige = 15

		random_owned_province = {
			limit = {
				NOT = { has_province_modifier = artisan_of_gold }
				religion = owner

			}
			add_province_modifier = {
				name = artisan_of_gold
				duration = 1825
			}
		}
	}
}

# Sacrfifice event
country_event = {
	id = fetishist_flavor.506
	title = fetishist_flavor.506.t
	desc = fetishist_flavor.506.d
	picture = ACCUSATION_eventPicture
	
	trigger = {
		has_dlc = "Rights of Man"
		has_adopted_cult = south_central_american_cult
		has_regency = no
		any_owned_province = {
			NOT = { has_province_modifier = in_honor_of_the_sun_god }
			NOT = { has_province_modifier = distrust_of_the_elders }
			NOT = { has_province_modifier = blessed_rains }
			is_state = yes
		}
	}
	
	immediate = {
		hidden_effect = {
			random_owned_province = {
				limit = {
					NOT = { has_province_modifier = in_honor_of_the_sun_god }
					NOT = { has_province_modifier = distrust_of_the_elders }
					NOT = { has_province_modifier = blessed_rains }
					religion = owner
					is_state = yes
				}
				save_event_target_as = worried_province
			}
		}
	}

	mean_time_to_happen = {
		months = 360
	}
	
	option = {
		name = fetishist_flavor.506.a # Order sacrifice
		ai_chance = {
			factor = 60
			modifier = {
				factor = 0
				ruler_has_personality = kind_hearted_personality
			}
		}
		add_adm_power = -15
		random_list = {
			60 = { country_event = { id = fetishist_flavor.507 days = 40 } }
			40 = { country_event = { id = fetishist_flavor.508 days = 40 } }
		}
	}
	option = {
		name = fetishist_flavor.506.b # Opt out
		ai_chance = {
			factor = 40
		}
	}
}

# Sacrifice success!
country_event = {
	id = fetishist_flavor.507
	title = fetishist_flavor.507.t
	desc = fetishist_flavor.507.d
	picture = BORDER_TENSION_eventPicture
	
	is_triggered_only = yes
	
	option = {
		name = fetishist_flavor.507.a # Excellent - bless our harvests
		add_prestige = 15

		event_target:worried_province = {
			add_province_modifier = {
				name = blessed_rains
				duration = 2555
			}
		}
	}

	option = {
		name = fetishist_flavor.507.b # Excellent - bless our warriors
		add_prestige = 15

		event_target:worried_province = {
			add_province_modifier = {
				name = in_honor_of_the_sun_god
				duration = 1825
			}
		}
	}
}

# Sacrifice fail
country_event = {
	id = fetishist_flavor.508
	title = fetishist_flavor.508.t
	desc = fetishist_flavor.508.d
	picture = BORDER_TENSION_eventPicture
	
	is_triggered_only = yes
	
	option = {
		name = fetishist_flavor.508.a #Oh noes
		add_prestige = -10

		event_target:worried_province = {
			add_province_modifier = {
				name = distrust_of_the_elders
				duration = 1825
			}
		}
	}
}
### Dharmic cult events
# A Blessed Guru
country_event = {
	id = fetishist_flavor.510
	title = fetishist_flavor.510.t
	desc = fetishist_flavor.510.d
	picture = ADVISOR_eventPicture
	
	trigger = {
		has_dlc = "Rights of Man"
		has_adopted_cult = dharmic_cult
		NOT = { has_country_modifier = selfless_guru }
	}
	
	mean_time_to_happen = {
		months = 350
	}
	
	option = {
		name = fetishist_flavor.510.a # Make advisor
		add_meritocracy_effect = yes
		define_advisor = {
			skill = 2
			religion = hinduism
			type = philosopher
			discount = yes
		}
	}
	option = {
		name = fetishist_flavor.510.b # Keep him in his village

		add_country_modifier = {
			name = selfless_guru
			duration = 3650
		}
	}
}

# Charlatan monk
country_event = {
	id = fetishist_flavor.511
	title = fetishist_flavor.511.t
	desc = fetishist_flavor.511.d
	picture = FEUDALISM_eventPicture
	
	trigger = {
		has_adopted_cult = dharmic_cult
		has_dlc = "Rights of Man"
		any_neighbor_country = {
			religion_group = dharmic
		}
	}

	immediate = {
		hidden_effect = {
			random_neighbor_country = {
				limit = {
					religion_group = dharmic
				}
				save_event_target_as = dharmic_neighbor
			}
		}
	}
	
	mean_time_to_happen = {
		months = 350
	}
	
	option = {
		name = fetishist_flavor.511.a # So it is
		add_adm_power = -15
	
		event_target:dharmic_neighbor = {
			add_opinion = {
				who = ROOT
				modifier = dharmic_imitators
			}
		}
	}
}

##############################
# More Fetishist Flavor Events
#                            
# Written by Ogulcan Yildirim
##############################

# Heir can choose a new cult for them
country_event = {
	id = fetishist_flavor.600
	title = fetishist_flavor.600.t
	desc = fetishist_flavor.600.desc
	picture = FETISHIST_FIRE_eventPicture

	is_triggered_only = yes
	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
		has_country_flag = enabled_cult_for_heirs
		num_of_unlocked_cults = 1
	}

	option = {
		name = fetishist_flavor.600.a
		trigger = {
			has_unlocked_cult = yemoja_cult
		}
		add_country_modifier = {
			name = junior_yemoja_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.b
		trigger = {
			has_unlocked_cult = roog_cult
		}
		add_country_modifier = {
			name = junior_roog_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.c
		trigger = {
			has_unlocked_cult = nyame_cult
		}
		add_country_modifier = {
			name = junior_nyame_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.d
		trigger = {
			has_unlocked_cult = cwezi_cult
		}
		add_country_modifier = {
			name = junior_cwezi_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_diplomat
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.e
		trigger = {
			has_unlocked_cult = central_african_ancestor_cult
		}
		add_country_modifier = {
			name = junior_central_african_ancestor_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.f
		trigger = {
			has_unlocked_cult = mwari_cult
		}
		add_country_modifier = {
			name = junior_mwari_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.g
		trigger = {
			has_unlocked_cult = enkai_cult
		}
		add_country_modifier = {
			name = junior_enkai_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.h
		trigger = {
			has_unlocked_cult = waaq_cult
		}
		add_country_modifier = {
			name = junior_waaq_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_diplomat
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.i
		trigger = {
			has_unlocked_cult = zanahary_cult
		}
		add_country_modifier = {
			name = junior_zanahary_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.j
		trigger = {
			has_unlocked_cult = christianity_cult
		}
		add_country_modifier = {
			name = junior_christianity_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.k
		trigger = {
			has_unlocked_cult = islam_cult
		}
		add_country_modifier = {
			name = junior_islam_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.l
		trigger = {
			has_unlocked_cult = buddhism_cult
		}
		add_country_modifier = {
			name = junior_buddhism_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.m
		trigger = {
			has_unlocked_cult = dharmic_cult
		}
		add_country_modifier = {
			name = junior_dharmic_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.n
		trigger = {
			has_unlocked_cult = south_central_american_cult
		}
		add_country_modifier = {
			name = junior_south_central_american_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.o
		trigger = {
			has_unlocked_cult = norse_cult
		}
		add_country_modifier = {
			name = junior_norse_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.p
		trigger = {
			has_unlocked_cult = jewish_cult
		}
		add_country_modifier = {
			name = junior_jewish_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.600.q
		trigger = {
			has_unlocked_cult = zoroastrian_cult
		}
		add_country_modifier = {
			name = junior_zoroastrian_cult
			duration = -1
			desc = UNTIL_HEIR_SUCCESSION_OR_DEATH
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}
}

# Unlock cult of your choice
country_event = {
	id = fetishist_flavor.601
	title = fetishist_flavor.601.t
	desc = fetishist_flavor.601.desc
	picture = TRIBES_MEETING_eventPicture

	is_triggered_only = yes
	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
	}

	option = {
		name = fetishist_flavor.601.a
		trigger = {
			NOT = { has_unlocked_cult = yemoja_cult }
		}
		unlock_cult = yemoja_cult
		custom_tooltip = tooltip_yemoja_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.b
		trigger = {
			NOT = { has_unlocked_cult = roog_cult }
		}
		unlock_cult = roog_cult
		custom_tooltip = tooltip_roog_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.c
		trigger = {
			NOT = { has_unlocked_cult = nyame_cult }
		}
		unlock_cult = nyame_cult
		custom_tooltip = tooltip_nyame_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.d
		trigger = {
			NOT = { has_unlocked_cult = cwezi_cult }
		}
		unlock_cult = cwezi_cult
		custom_tooltip = tooltip_cwezi_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_diplomat
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.e
		trigger = {
			NOT = { has_unlocked_cult = central_african_ancestor_cult }
		}
		unlock_cult = central_african_ancestor_cult
		custom_tooltip = tooltip_central_african_ancestor_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.f
		trigger = {
			NOT = { has_unlocked_cult = mwari_cult }
		}
		unlock_cult = mwari_cult
		custom_tooltip = tooltip_mwari_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.g
		trigger = {
			NOT = { has_unlocked_cult = enkai_cult }
		}
		unlock_cult = enkai_cult
		custom_tooltip = tooltip_enkai_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.h
		trigger = {
			NOT = { has_unlocked_cult = waaq_cult }
		}
		unlock_cult = waaq_cult
		custom_tooltip = tooltip_waaq_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_diplomat
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.i
		trigger = {
			NOT = { has_unlocked_cult = zanahary_cult }
		}
		unlock_cult = zanahary_cult
		custom_tooltip = tooltip_zanahary_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.j
		trigger = {
			NOT = { has_unlocked_cult = christianity_cult }
			any_known_country = {
				OR = {
					has_unlocked_cult = christianity_cult
					religion_group = christian
				}
			}
		}
		unlock_cult = christianity_cult
		custom_tooltip = tooltip_christianity_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.k
		trigger = {
			NOT = { has_unlocked_cult = islam_cult }
			any_known_country = {
				OR = {
					has_unlocked_cult = islam_cult
					religion_group = muslim
				}
			}
		}
		unlock_cult = islam_cult
		custom_tooltip = tooltip_islam_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.l
		trigger = {
			NOT = { has_unlocked_cult = buddhism_cult }
			any_known_country = {
				OR = {
					has_unlocked_cult = buddhism_cult
					religion_group = eastern
				}
			}
		}
		unlock_cult = buddhism_cult
		custom_tooltip = tooltip_buddhism_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.m
		trigger = {
			NOT = { has_unlocked_cult = dharmic_cult }
			any_known_country = {
				OR = {
					has_unlocked_cult = dharmic_cult
					religion_group = dharmic
				}
			}
		}
		unlock_cult = dharmic_cult
		custom_tooltip = tooltip_dharmic_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.n
		trigger = {
			NOT = { has_unlocked_cult = south_central_american_cult }
			any_known_country = {
				OR = {
					has_unlocked_cult = south_central_american_cult
					religion = nahuatl
					religion = inti
					religion = mesoamerican_religion
				}
			}
		}
		unlock_cult = south_central_american_cult
		custom_tooltip = tooltip_south_central_american_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.o
		trigger = {
			NOT = { has_unlocked_cult = norse_cult }
			any_known_country = {
				OR = {
					has_unlocked_cult = norse_cult
					religion = norse_pagan_reformed
				}
			}
		}
		unlock_cult = norse_cult
		custom_tooltip = tooltip_norse_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.p
		trigger = {
			NOT = { has_unlocked_cult = jewish_cult }
			any_known_country = {
				OR = {
					has_unlocked_cult = jewish_cult
					religion = jewish
				}
			}
		}
		unlock_cult = jewish_cult
		custom_tooltip = tooltip_jewish_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.q
		trigger = {
			NOT = { has_unlocked_cult = zoroastrian_cult }
			any_known_country = {
				OR = {
					has_unlocked_cult = zoroastrian_cult
					religion = zoroastrian
				}
			}
		}
		unlock_cult = zoroastrian_cult
		custom_tooltip = tooltip_zoroastrian_cult

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.601.r
		custom_tooltip = fetishist_flavor.601.r.tt
		hidden_effect = {
			set_country_flag = can_choose_to_unlock_a_cult
		}

		ai_chance = {
			factor = 0
		}
	}
}

#Select a primary cult
country_event = {
	id = fetishist_flavor.602
	title = fetishist_flavor.602.t
	desc = fetishist_flavor.602.desc
	picture = FETISHIST_FIRE_eventPicture

	is_triggered_only = yes
	trigger = {
		religion = shamanism
		has_dlc = "Rights of Man"
	}

	immediate = {
		hidden_effect = { clr_country_flag = has_selected_a_primary_cult }
	}

	option = {	#Select Yemojya
		name = fetishist_flavor.602.a
		trigger = {
			has_unlocked_cult = yemoja_cult
			NOT = { has_primary_cult = { cult = yemoja_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = yemoja_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.b
		trigger = {
			has_unlocked_cult = roog_cult
			NOT = { has_primary_cult = { cult = roog_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = roog_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.c
		trigger = {
			has_unlocked_cult = nyame_cult
			NOT = { has_primary_cult = { cult = nyame_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = nyame_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.d
		trigger = {
			has_unlocked_cult = cwezi_cult
			NOT = { has_primary_cult = { cult = cwezi_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = cwezi_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_diplomat
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.e
		trigger = {
			has_unlocked_cult = central_african_ancestor_cult
			NOT = { has_primary_cult = { cult = central_african_ancestor_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = central_african_ancestor_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.f
		trigger = {
			has_unlocked_cult = mwari_cult
			NOT = { has_primary_cult = { cult = mwari_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = mwari_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.g
		trigger = {
			has_unlocked_cult = enkai_cult
			NOT = { has_primary_cult = { cult = enkai_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = enkai_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.h
		trigger = {
			has_unlocked_cult = waaq_cult
			NOT = { has_primary_cult = { cult = waaq_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = waaq_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_diplomat
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.i
		trigger = {
			has_unlocked_cult = zanahary_cult
			NOT = { has_primary_cult = { cult = zanahary_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = zanahary_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.j
		trigger = {
			has_unlocked_cult = christianity_cult
			NOT = { has_primary_cult = { cult = christianity_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = christianity_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.k
		trigger = {
			has_unlocked_cult = islam_cult
			NOT = { has_primary_cult = { cult = islam_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = islam_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.l
		trigger = {
			has_unlocked_cult = buddhism_cult
			NOT = { has_primary_cult = { cult = buddhism_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = buddhism_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_balanced
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.m
		trigger = {
			has_unlocked_cult = dharmic_cult
			NOT = { has_primary_cult = { cult = dharmic_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = dharmic_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.n
		trigger = {
			has_unlocked_cult = south_central_american_cult
			NOT = { has_primary_cult = { cult = south_central_american_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = south_central_american_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_militarist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.o
		trigger = {
			has_unlocked_cult = norse_cult
			NOT = { has_primary_cult = { cult = norse_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = norse_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.p
		trigger = {
			has_unlocked_cult = jewish_cult
			NOT = { has_primary_cult = { cult = jewish_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = jewish_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	option = {
		name = fetishist_flavor.602.q
		trigger = {
			has_unlocked_cult = zoroastrian_cult
			NOT = { has_primary_cult = { cult = zoroastrian_cult } }
		}
		clear_previous_primary_cults = yes
		select_primary_cult = {
			cult = zoroastrian_cult
		}

		ai_chance = {
			factor = 10
			modifier = {
				personality = ai_capitalist
				factor = 2
			}
		}
	}

	after = {
		set_country_flag = has_selected_a_primary_cult
	}
}

#Switch your active cult
country_event = {
	id = fetishist_flavor.603
	title = "fetishist_flavor.603.t"
	desc = "fetishist_flavor.603.desc"
	picture = PRAYING_eventPicture
	
	is_triggered_only = yes

	option = { name = fetishist_flavor.603.a
		trigger = {
			has_unlocked_cult = yemoja_cult
			NOT = { has_adopted_cult = yemoja_cult }
		}
		change_cult = yemoja_cult
	}

	option = { name = fetishist_flavor.603.b
		trigger = {
			has_unlocked_cult = roog_cult
			NOT = { has_adopted_cult = roog_cult }
		}
		change_cult = roog_cult
	}

	option = { name = fetishist_flavor.603.c
		trigger = {
			has_unlocked_cult = nyame_cult
			NOT = { has_adopted_cult = nyame_cult }
		}
		change_cult = nyame_cult
	}

	option = { name = fetishist_flavor.603.d
		trigger = {
			has_unlocked_cult = cwezi_cult
			NOT = { has_adopted_cult = cwezi_cult }
		}
		change_cult = cwezi_cult
	}

	option = { name = fetishist_flavor.603.e
		trigger = {
			has_unlocked_cult = central_african_ancestor_cult
			NOT = { has_adopted_cult = central_african_ancestor_cult }
		}
		change_cult = central_african_ancestor_cult
	}

	option = { name = fetishist_flavor.603.f
		trigger = {
			has_unlocked_cult = mwari_cult
			NOT = { has_adopted_cult = mwari_cult }
		}
		change_cult = mwari_cult
	}

	option = { name = fetishist_flavor.603.g
		trigger = {
			has_unlocked_cult = enkai_cult
			NOT = { has_adopted_cult = enkai_cult }
		}
		change_cult = enkai_cult
	}

	option = { name = fetishist_flavor.603.h
		trigger = {
			has_unlocked_cult = waaq_cult
			NOT = { has_adopted_cult = waaq_cult }
		}
		change_cult = waaq_cult
	}

	option = { name = fetishist_flavor.603.i
		trigger = {
			has_unlocked_cult = zanahary_cult
			NOT = { has_adopted_cult = zanahary_cult }
		}
		change_cult = zanahary_cult
	}

	option = { name = fetishist_flavor.603.j
		trigger = {
			has_unlocked_cult = christianity_cult
			NOT = { has_adopted_cult = christianity_cult }
		}
		change_cult = christianity_cult
	}

	option = { name = fetishist_flavor.603.k
		trigger = {
			has_unlocked_cult = islam_cult
			NOT = { has_adopted_cult = islam_cult }
		}
		change_cult = islam_cult
	}

	option = { name = fetishist_flavor.603.l
		trigger = {
			has_unlocked_cult = buddhism_cult
			NOT = { has_adopted_cult = buddhism_cult }
		}
		change_cult = buddhism_cult
	}

	option = { name = fetishist_flavor.603.m
		trigger = {
			has_unlocked_cult = dharmic_cult
			NOT = { has_adopted_cult = dharmic_cult }
		}
		change_cult = dharmic_cult
	}

	option = { name = fetishist_flavor.603.n
		trigger = {
			has_unlocked_cult = south_central_american_cult
			NOT = { has_adopted_cult = south_central_american_cult }
		}
		change_cult = south_central_american_cult
	}

	option = { name = fetishist_flavor.603.o
		trigger = {
			has_unlocked_cult = norse_cult
			NOT = { has_adopted_cult = norse_cult }
		}
		change_cult = norse_cult
	}

	option = { name = fetishist_flavor.603.p
		trigger = {
			has_unlocked_cult = jewish_cult
			NOT = { has_adopted_cult = jewish_cult }
		}
		change_cult = jewish_cult
	}

	option = { name = fetishist_flavor.603.q
		trigger = {
			has_unlocked_cult = zoroastrian_cult
			NOT = { has_adopted_cult = zoroastrian_cult }
		}
		change_cult = zoroastrian_cult
	}
	
	option = {
		name = fetishist_flavor.603.r
	}
	
	after = {
		clr_country_flag = swaps_cult_flag
	}
}