﻿universal_tolerance = { #This is a complicated set of doctrines that determine the hostility levels of every faith in the mod
	group = "main_group"
	is_available_on_create = {
		OR = { #list of religions currently within the universal tolerance set. This should eventually include every religion. Please keep this updated and organized.
			### Abrahamics
			#Catholics
			religion_tag = catholic_religion
			#Novelist
			religion_tag = novelist_religion
			#Protestant
			religion_tag = protestant_religion

			### Esoterics
			#Wiccans
			religion_tag = wicca_religion
			#Thelema
			religion_tag = thelema_religion			
			#Britannic
			religion_tag = britannic_religion	
			
			### Pagans
			#Druidics
			religion_tag = druidic_religion
			#Germanics
			religion_tag = folkgerman_religion
			
			#Hermetic
			religion_tag = chronicler_religion		
			#Europeanist
			religion_tag = europeanist_religion

			# Temp measure before religion doctrines set up for religions w/ PotB access
			has_doctrine = special_doctrine_people_of_the_book
			}
		}

	#Catholic Doctrines

	special_doctrine_roman_rite = {
		is_shown = {
			religion_tag = catholic_religion
		}

		can_pick = { 
			custom_description = {
				text = TOO_DIVERGENT
				NOR = {
					doctrine:tenet_adorcism = { is_in_list = selected_doctrines }
					doctrine:tenet_carnal_exaltation = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_divine_marriage = { is_in_list = selected_doctrines }
					doctrine:tenet_gnosticism = { is_in_list = selected_doctrines }
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_exaltation_of_pain = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_consolamentum = { is_in_list = selected_doctrines }
					doctrine:tenet_sacrificial_ceremonies = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_sun_worship = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_ritual_cannibalism = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_fp3_fedayeen = { is_in_list = selected_doctrines } # I'm on the shorterlist!
				}
			}
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_roman_rite }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_override_special_doctrine_roman_rite = 0
			hostility_override_special_doctrine_independent_catholic = 1

			hostility_override_special_doctrine_established_church = 1

			hostility_override_special_doctrine_via_media = 1

			hostility_override_special_doctrine_sevillian_rite = 2

			hostility_override_special_doctrine_christian_kinship = 2

			hostility_override_special_doctrine_reformation_roots = 1

			hostility_override_special_doctrine_incorruptible_dogma = 3
			
			hostility_override_special_doctrine_hermetic = 1

			same_hof_hostility_override = 0
			loc_parameter_roman_rite_astray = 1
			loc_parameter_roman_rite_hostile = 2
		}
	}

	special_doctrine_sevillian_rite = {
		is_shown = {
			religion_tag = catholic_religion
		}

		can_pick = { 
			custom_description = {
				text = TOO_DIVERGENT
				NOR = {
					doctrine:tenet_adorcism = { is_in_list = selected_doctrines }
					doctrine:tenet_carnal_exaltation = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_divine_marriage = { is_in_list = selected_doctrines }
					doctrine:tenet_gnosticism = { is_in_list = selected_doctrines }
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_exaltation_of_pain = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_consolamentum = { is_in_list = selected_doctrines }
					doctrine:tenet_sacrificial_ceremonies = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_sun_worship = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_ritual_cannibalism = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_fp3_fedayeen = { is_in_list = selected_doctrines } # I'm on the shorterlist!
				}
			}
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_sevillian_rite }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_override_special_doctrine_sevillian_rite = 0
			hostility_override_special_doctrine_independent_catholic = 1
			hostility_override_special_doctrine_via_media = 1

			hostility_override_special_doctrine_roman_rite = 2

			hostility_override_special_doctrine_established_church = 2
			hostility_override_special_doctrine_reformation_roots = 2

			hostility_override_special_doctrine_incorruptible_dogma = 3

			same_hof_hostility_override = 0
			loc_parameter_sevillian_rite_astray = 1
			loc_parameter_sevillian_rite_hostile = 2
		}
	}

	special_doctrine_independent_catholic = {
		is_shown = {
			religion_tag = catholic_religion
		}

		can_pick = { 
			custom_description = {
				text = TOO_DIVERGENT
				NOR = {
					doctrine:tenet_adorcism = { is_in_list = selected_doctrines }
					doctrine:tenet_carnal_exaltation = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_divine_marriage = { is_in_list = selected_doctrines }
					doctrine:tenet_gnosticism = { is_in_list = selected_doctrines }
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_exaltation_of_pain = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_consolamentum = { is_in_list = selected_doctrines }
					doctrine:tenet_sacrificial_ceremonies = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_sun_worship = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_ritual_cannibalism = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_fp3_fedayeen = { is_in_list = selected_doctrines } # I'm on the shorterlist!
				}
			}
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_independent_catholic }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_override_special_doctrine_roman_rite = 1
			hostility_override_special_doctrine_sevillian_rite = 1
			hostility_override_special_doctrine_independent_catholic = 1

			hostility_override_special_doctrine_reformation_roots = 1
			
			hostility_override_special_doctrine_hermetic = 1

			hostility_override_special_doctrine_christian_kinship = 2

			hostility_override_special_doctrine_established_church = 2

			hostility_override_special_doctrine_via_media = 2

			hostility_override_special_doctrine_incorruptible_dogma = 3

			loc_parameter_independent_catholic_astray = 1
			loc_parameter_independent_catholic_hostile = 2
		}
	}

	#Novelist Doctrines

	special_doctrine_fantastical_kinship = {
		is_shown = {
			religion_tag = novelist_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_fantastical_kinship }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_fantastical_kinship = 0
			hostility_override_special_doctrine_academic_kinship = 0
			hostility_override_special_doctrine_christian_kinship = 0
			hostility_override_special_doctrine_islamic_kinship = 0

			hostility_override_special_doctrine_fae_and_folklore = 1
			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_optimates = 1
			
			hostility_override_special_doctrine_dionysian = 1
			
			hostility_override_special_doctrine_populares = 2

			hostility_override_special_doctrine_singular_interpretation = 3

			loc_parameter_novelist_kinship = yes
			loc_parameter_fantastical_kinship_astray = 1
			loc_parameter_fantastical_kinship_hostile = 2
		}
	}

	special_doctrine_academic_kinship = {
		is_shown = {
			religion_tag = novelist_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_academic_kinship }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_fantastical_kinship = 0
			hostility_override_special_doctrine_academic_kinship = 0
			hostility_override_special_doctrine_christian_kinship = 0
			hostility_override_special_doctrine_islamic_kinship = 0

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			
			hostility_override_special_doctrine_apollonian = 1
			

			hostility_override_special_doctrine_fae_and_folklore = 2
			hostility_override_special_doctrine_singular_interpretation = 3
			hostility_override_special_doctrine_hermetic = 1			

			loc_parameter_novelist_kinship = yes
			loc_parameter_academic_kinship_astray = 1
		}
	}

	special_doctrine_christian_kinship = {
		is_shown = {
			religion_tag = novelist_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_christian_kinship }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_fantastical_kinship = 0
			hostility_override_special_doctrine_academic_kinship = 0
			hostility_override_special_doctrine_christian_kinship = 0
			hostility_override_special_doctrine_islamic_kinship = 0

			hostility_override_special_doctrine_roman_rite = 1
			hostility_override_special_doctrine_sevillian_rite = 1
			hostility_override_special_doctrine_independent_catholic = 1

			hostility_override_special_doctrine_established_church = 1
			hostility_override_special_doctrine_reformation_roots = 1
			hostility_override_special_doctrine_optimates = 1

			hostility_override_special_doctrine_via_media = 1

			hostility_override_special_doctrine_fae_and_folklore = 2
			hostility_override_special_doctrine_might_and_magick = 2
			hostility_override_special_doctrine_goddesses_and_glory = 2
			hostility_override_special_doctrine_populares = 2

			hostility_override_special_doctrine_singular_interpretation = 3

			loc_parameter_novelist_kinship = yes
			loc_parameter_christian_kinship_astray = 1
		}
	}

	special_doctrine_islamic_kinship = {
		is_shown = {
				religion_tag = novelist_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_islamic_kinship }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_fantastical_kinship = 0
			hostility_override_special_doctrine_academic_kinship = 0
			hostility_override_special_doctrine_christian_kinship = 0
			hostility_override_special_doctrine_islamic_kinship = 0

			hostility_override_special_doctrine_fae_and_folklore = 2
			hostility_override_special_doctrine_might_and_magick = 2
			hostility_override_special_doctrine_goddesses_and_glory = 2

			hostility_override_special_doctrine_singular_interpretation = 3

			loc_parameter_novelist_kinship = yes
			#loc_parameter_islamic_kinship_astray = 1 #commented out until Islam is added.
			loc_parameter_islamic_kinship_hostile = 2
		}
	}
	
	#Pantheonic Doctrines
	
	special_doctrine_populares = {
		is_shown = {
			religion_tag = french_pantheon_religion
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_established_church }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_override_special_doctrine_optimates = 2
			hostility_override_special_doctrine_fantastical_kinship = 2
			hostility_override_special_doctrine_christian_kinship = 2
			
			hostility_override_special_doctrine_dionysian = 1
			hostility_override_special_doctrine_apollonian = 1

			loc_parameter_populares_astray = 1
			loc_parameter_populares_hostile = 1
		}
	}
	
	special_doctrine_optimates = {
		is_shown = {
			religion_tag = french_pantheon_religion
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_established_church }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_override_special_doctrine_fantastical_kinship = 1
			hostility_override_special_doctrine_christian_kinship = 1

			hostility_override_special_doctrine_populares = 2		
			hostility_override_special_doctrine_roman_rite = 2	
			hostility_override_special_doctrine_independent_catholic = 2	
			hostility_override_special_doctrine_hermetic = 2

			loc_parameter_optimates_astray = 1
			loc_parameter_optimates_hostile = 2
		}
	}

	#Protestant Doctrines

	special_doctrine_established_church = {
		is_shown = {
			religion_tag = protestant_religion
		}

		can_pick = { 
			custom_description = {
				text = TOO_DIVERGENT
				NOR = {
					doctrine:tenet_adorcism = { is_in_list = selected_doctrines }
					doctrine:tenet_carnal_exaltation = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_divine_marriage = { is_in_list = selected_doctrines }
					doctrine:tenet_gnosticism = { is_in_list = selected_doctrines }
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_exaltation_of_pain = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_consolamentum = { is_in_list = selected_doctrines }
					doctrine:tenet_sacrificial_ceremonies = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_sun_worship = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_ritual_cannibalism = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_fp3_fedayeen = { is_in_list = selected_doctrines } # I'm on the shorterlist!
				}
			}
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_established_church }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_override_special_doctrine_roman_rite = 1

			hostility_override_special_doctrine_established_church = 1
			hostility_override_special_doctrine_reformation_roots = 1
			hostility_override_special_doctrine_cult_of_saints = 1

			hostility_override_special_doctrine_via_media = 1

			hostility_override_special_doctrine_christian_kinship = 2

			hostility_override_special_doctrine_sevillian_rite = 2
			hostility_override_special_doctrine_independent_catholic = 2
			hostility_override_special_doctrine_old_lore = 2

			hostility_override_special_doctrine_radical_reform = 3
			
			hostility_override_special_doctrine_hermetic = 1	

			same_hof_hostility_override = 0
			loc_parameter_established_church_astray = 1
			loc_parameter_established_church_hostile = 1
		}
	}

	special_doctrine_reformation_roots = {
		is_shown = {
			religion_tag = protestant_religion
		}

		can_pick = { 
			custom_description = {
				text = TOO_DIVERGENT
				NOR = {
					doctrine:tenet_adorcism = { is_in_list = selected_doctrines }
					doctrine:tenet_carnal_exaltation = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_divine_marriage = { is_in_list = selected_doctrines }
					doctrine:tenet_gnosticism = { is_in_list = selected_doctrines }
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_exaltation_of_pain = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_consolamentum = { is_in_list = selected_doctrines }
					doctrine:tenet_sacrificial_ceremonies = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_sun_worship = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_ritual_cannibalism = { is_in_list = selected_doctrines } # I'm on the shorterlist!
					doctrine:tenet_fp3_fedayeen = { is_in_list = selected_doctrines } # I'm on the shorterlist!
				}
			}
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_established_church }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_override_special_doctrine_independent_catholic = 1

			hostility_override_special_doctrine_established_church = 1
			hostility_override_special_doctrine_reformation_roots = 1
			
			hostility_override_special_doctrine_cult_of_saints = 1

			hostility_override_special_doctrine_roman_rite = 2
			hostility_override_special_doctrine_sevillian_rite = 2
			
			hostility_override_special_doctrine_old_lore = 2

			hostility_override_special_doctrine_christian_kinship = 2

			hostility_override_special_doctrine_via_media = 2

			hostility_override_special_doctrine_radical_reform = 3
			
			hostility_override_special_doctrine_hermetic = 1				

			loc_parameter_reformation_roots_astray = 1
			loc_parameter_reformation_roots_hostile = 2
		}
	}

	#Hermetic Doctrines

	special_doctrine_hermetic = {
		is_shown = {
			religion_tag = chronicler_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_hermetic }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_hermetic = 1

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_crowleyan_magic = 1
			
			hostility_override_special_doctrine_academic_kinship = 1
			
			hostility_override_special_doctrine_cult_of_saints = 1
			hostility_override_special_doctrine_old_lore = 2
			
			hostility_override_special_doctrine_apollonian = 1
			hostility_override_special_doctrine_dionysian = 1
			
			hostility_override_special_doctrine_optimates = 2
			
			hostility_override_special_doctrine_roman_rite = 1
			hostility_override_special_doctrine_independent_catholic = 1

			hostility_override_special_doctrine_established_church = 1
			hostility_override_special_doctrine_reformation_roots = 1
			
			loc_parameter_hermetic_astray = 1
			loc_parameter_hermetic_hostile = 2
		}
	}
	
	### Europeanist Doctrines ###
	
	special_doctrine_apollonian = {
		is_shown = {
			religion_tag = europeanist_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_apollonian }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
		
			hostility_override_special_doctrine_apollonian = 0
			
			hostility_override_special_doctrine_hermetic = 1
			
			hostility_override_special_doctrine_academic_kinship = 1
			
			hostility_override_special_doctrine_dionysian = 1
			
			hostility_override_special_doctrine_populares = 1

			loc_parameter_apollonian_astray = 1
		}
	}
	
	special_doctrine_dionysian = {
		is_shown = {
			religion_tag = europeanist_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_dionysian }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
		
			hostility_override_special_doctrine_dionysian = 0
			hostility_override_special_doctrine_apollonian = 1
		
			hostility_override_special_doctrine_hermetic = 1
			
			hostility_override_special_doctrine_old_lore = 1

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_crowleyan_magic = 1
			
			hostility_override_special_doctrine_fantastical_kinship = 1
			
			hostility_override_special_doctrine_populares = 1
			
			loc_parameter_dionysian_astray = 1
		}
	}

	###Interfaith (shared) Doctrines###

	#Druidics, Wiccans, Britannics, and Thelemites

	special_doctrine_fae_and_folklore = { #Ancient Pact
		is_shown = {
			OR = {
				religion_tag = druidic_religion
				religion_tag = wicca_religion
				religion_tag = thelema_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_fae_and_folklore }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_fae_and_folklore = 1
			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1

			hostility_override_special_doctrine_fantastical_kinship = 1
			
			hostility_override_special_doctrine_academic_kinship = 2
			hostility_override_special_doctrine_christian_kinship = 2
			hostility_override_special_doctrine_islamic_kinship = 2

			hostility_override_special_doctrine_crowleyan_magic = 2
			hostility_override_special_doctrine_servants_of_the_regency = 2

			loc_parameter_fae_and_folklore_astray = 1
			loc_parameter_fae_and_folklore_hostile = 2
		}
	}

	special_doctrine_might_and_magick = { #Gardenarian
		is_shown = {
			OR = {
				religion_tag = druidic_religion
				religion_tag = wicca_religion
				religion_tag = thelema_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_fae_and_folklore }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_fae_and_folklore = 1
			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_crowleyan_magic = 1
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 1
			
			hostility_override_special_doctrine_dionysian = 1

			hostility_override_special_doctrine_academic_kinship = 1
			hostility_override_special_doctrine_fantastical_kinship = 1
			
			hostility_override_special_doctrine_hermetic = 1

			hostility_override_special_doctrine_christian_kinship = 2
			hostility_override_special_doctrine_islamic_kinship = 2
			hostility_override_special_doctrine_servants_of_the_regency = 2

			loc_parameter_might_and_magick_astray = 1
			loc_parameter_might_and_magick_hostile = 2
		}
	}

	special_doctrine_goddesses_and_glory = { #Arthurian
		is_shown = {
			OR = {
				religion_tag = druidic_religion
				religion_tag = wicca_religion
				religion_tag = thelema_religion
				religion_tag = brittanic_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_fae_and_folklore }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_fae_and_folklore = 1
			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_crowleyan_magic = 1
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 1

			hostility_override_special_doctrine_academic_kinship = 1
			hostility_override_special_doctrine_fantastical_kinship = 1

			hostility_override_special_doctrine_christian_kinship = 2
			hostility_override_special_doctrine_islamic_kinship = 2
			hostility_override_special_doctrine_servants_of_the_regency = 2

			loc_parameter_goddesses_and_glory_astray = 1
			loc_parameter_goddesses_and_glory_hostile = 2
		}
	}

	special_doctrine_crowleyan_magic = { #Crowleyan
		is_shown = {
			OR = {
				religion_tag = druidic_religion
				religion_tag = wicca_religion
				religion_tag = thelema_religion
				religion_tag = brittanic_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_crowleyan_magic }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_fae_and_folklore = 1
			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_crowleyan_magic = 1
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 1
			hostility_override_special_doctrine_servants_of_the_regency = 1
			
			hostility_override_special_doctrine_dionysian = 1
			
			hostility_override_special_doctrine_hermetic = 1

			hostility_override_special_doctrine_academic_kinship = 1
			hostility_override_special_doctrine_fantastical_kinship = 1

			hostility_override_special_doctrine_christian_kinship = 2
			hostility_override_special_doctrine_islamic_kinship = 2

			loc_parameter_crowleyan_magic_astray = 1
			loc_parameter_crowleyan_magic_hostile = 2
		}
	}

	special_doctrine_loyal_servants_of_the_queen = {
		is_shown = {
			OR = {
				religion_tag = brittanic_religion
				religion_tag = thelema_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_loyal_servants_of_the_queen }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 0

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_crowleyan_magic = 1

			hostility_override_special_doctrine_fae_and_folklore = 2

			hostility_override_special_doctrine_servants_of_the_regency = 3
			hostility_override_special_doctrine_regicidal = 3
			hostility_override_special_doctrine_truest_servants_of_the_queen = 3

			loc_parameter_loyal_servants_of_the_queen_astray = 1
			loc_parameter_loyal_servants_of_the_queen_hostile = 2

			loc_parameter_is_loyal_servant_of_queen = yes
		}
	}

	special_doctrine_servants_of_the_regency = {
		is_shown = {
			OR = {
				religion_tag = brittanic_religion
				religion_tag = thelema_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_servants_of_the_regency }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_servants_of_the_regency = 0

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_crowleyan_magic = 1

			hostility_override_special_doctrine_fae_and_folklore = 2

			hostility_override_special_doctrine_regicidal = 3
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 3
			hostility_override_special_doctrine_truest_servants_of_the_queen = 3
		
			loc_parameter_servants_of_the_regency_astray = 1
			loc_parameter_servants_of_the_regency_hostile = 2

			loc_parameter_is_servant_of_regent = yes
		}
	}

	#Germanic & Oceanic Doctrines
	
	special_doctrine_cult_of_saints = {
		is_shown = {
			OR = {
				religion_tag = folkgerman_religion
				religion_tag = oceanic_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_cult_of_saints }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_hermetic = 1
			hostility_override_special_doctrine_old_lore = 1
			hostility_override_special_doctrine_established_church = 1
			hostility_override_special_doctrine_reformation_roots = 1

			hostility_override_special_doctrine_roman_rite = 2
			hostility_override_special_doctrine_heathen_revanchism = 2


			loc_parameter_cult_of_saints_astray = 1
			loc_parameter_cult_of_saints_hostile = 2
		}
	}
	
	special_doctrine_old_lore = {
		is_shown = {
			OR = {
				religion_tag = folkgerman_religion
				religion_tag = oceanic_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_old_lore }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_cult_of_saints = 1

			hostility_override_special_doctrine_established_church = 2
			hostility_override_special_doctrine_hermetic = 2
			hostility_override_special_doctrine_heathen_revanchism = 2
			hostility_override_special_doctrine_reformation_roots = 2
			
			hostility_override_special_doctrine_dionysian = 1

			loc_parameter_old_lore_astray = 1
			loc_parameter_old_lore_hostile = 2
		}
	}

	#Prots & Caths

	special_doctrine_via_media = {
		is_shown = {
			OR = {
				religion_tag = catholic_religion
				religion_tag = protestant_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_via_media }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_via_media = 0
			hostility_override_special_doctrine_roman_rite = 1
			hostility_override_special_doctrine_sevillian_rite = 1
			hostility_override_special_doctrine_independent_catholic = 1

			hostility_override_special_doctrine_established_church = 1
			hostility_override_special_doctrine_reformation_roots = 1

			hostility_override_special_doctrine_incorruptible_dogma = 3
			hostility_override_special_doctrine_radical_reform = 3		

			loc_parameter_via_media = yes
			loc_parameter_via_media_astray = 1
		}
	}

	#Hate Everyone Doctrines
	special_doctrine_incorruptible_dogma = { #Catholic one
		is_shown = {
			religion_tag = catholic_religion
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_incorruptible_dogma }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_same_religion = 3
			hostility_same_family = 3
			hostility_others = 3

			hostility_override_tenet_christian_syncretism = 3
			hostility_override_abrahamic_hostility_doctrine = 3
		}
	}

	special_doctrine_radical_reform = { #Protestant one
		is_shown = {
			religion_tag = protestant_religion
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_radical_reform }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_same_religion = 3
			hostility_same_family = 3
			hostility_others = 3

			hostility_override_tenet_christian_syncretism = 3
			hostility_override_abrahamic_hostility_doctrine = 3
		}
	}

	special_doctrine_singular_interpretation = { #Novelist one
		is_shown = {
			religion_tag = novelist_religion
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_singular_interpretation }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_same_religion = 3
			hostility_same_family = 3
			hostility_others = 3

			hostility_override_pagan_hostility_doctrine = 3
			hostility_override_abrahamic_hostility_doctrine = 3
		}
	}

	special_doctrine_regicidal = { #Britannic/Thelemite one, hates Queen
		is_shown = {
			OR = {
				religion_tag = brittanic_religion
				religion_tag = druidic_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_regicidal }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_regicidal = 0

			hostility_override_special_doctrine_loyal_servants_of_the_queen = 3
			hostility_override_special_doctrine_servants_of_the_regency = 3
			hostility_override_special_doctrine_truest_servants_of_the_queen = 3
			
			loc_parameter_is_regicidal = yes
		}
	}

	special_doctrine_truest_servants_of_the_queen = { #Britannic/Thelemite one, loves Queen
		is_shown = {
			OR = {
				religion_tag = brittanic_religion
				religion_tag = thelema_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_truest_servants_of_the_queen }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 3
			hostility_override_special_doctrine_servants_of_the_regency = 3
			hostility_override_special_doctrine_regicidal = 3
			hostility_override_special_doctrine_truest_servants_of_the_queen = 3

			loc_parameter_is_truest_servant = yes
		}
	}

	special_doctrine_heathen_revanchism = { #Germanic/Oceanic one
		is_shown = {
			OR = {
				religion_tag = folkgerman_religion
				religion_tag = oceanic_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_heathen_revanchism }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_cult_of_saints = 2
			hostility_override_special_doctrine_old_lore = 2

			hostility_override_tenet_christian_syncretism = 3
			hostility_override_abrahamic_hostility_doctrine = 3

			loc_parameter_hates_abrahamics = yes
			loc_parameter_heathen_revanchism_hostile = 2
		}
	}


	#Fallback Doctrine
	special_doctrine_religion_fallback = {

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = novelist_religion
					}
					desc = special_doctrine_unorthodox_reading_name
				}
				desc = special_doctrine_religion_fallback_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = novelist_religion
					}
					desc = special_doctrine_unorthodox_reading_desc
				}
				desc = special_doctrine_religion_fallback_desc
			}
		}

		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_religion_fallback }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}

		character_modifier = {
			name = "special_doctrine_religion_fallback_opinion"
			same_faith_opinion = 5
		}
	}
	
}