NEOW_set_bhakti_effect = { #reminder: patron gods will not remove on conversion until a specific base game event is replaced/overwritten. This folder is being created, rather than overwriting a base game folder to reduce overall complexity/troubleshooting
	# Remove any previous personal god relation.
	## Britannic
	#Leviathan
	if = {
		limit = { portrait_religious_faith_or_foundational_trigger = { FAITH = faith:leviathan } }
		if = {	
			limit = {
				has_character_modifier = bhakti_leviathan_nationalisators
			}
			remove_character_modifier = bhakti_leviathan_nationalisators
			add_piety = massive_piety_loss
		}
		else_if = {	
			limit = {
				has_character_modifier = bhakti_leviathan_technosaurs
			}
			remove_character_modifier = bhakti_leviathan_technosaurs
			add_piety = massive_piety_loss
		}
		else_if = {	
			limit = {
				has_character_modifier = bhakti_leviathan_mechasaurs
			}
			remove_character_modifier = bhakti_leviathan_mechasaurs
			add_piety = massive_piety_loss
		}
		else_if = {	
			limit = {
				has_character_modifier = bhakti_leviathan_petrosaurs
			}
			remove_character_modifier = bhakti_leviathan_petrosaurs
			add_piety = massive_piety_loss
		}
		else_if = {	
			limit = {
				has_character_modifier = bhakti_leviathan_metallurgicals
			}
			remove_character_modifier = bhakti_leviathan_metallurgicals
			add_piety = massive_piety_loss
		}
		else_if = {	
			limit = {
				has_character_modifier = bhakti_leviathan_nautiluses
			}
			remove_character_modifier = bhakti_leviathan_nautiluses
			add_piety = massive_piety_loss
		}
		else_if = {	
			limit = {
				has_character_modifier = bhakti_leviathan_aerosaurs
			}
			remove_character_modifier = bhakti_leviathan_aerosaurs
			add_piety = massive_piety_loss
		}
	}
	# Put other religions/modifiers down here
	else = {
		# If no current bhakti, cost is reduced.
		add_piety = medium_piety_loss
	}

	add_character_modifier = $BHAKTI$
}