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 = hermetic_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_christian_hermetic = 2

			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_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_people_of_the_book = 1
			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_singular_interpretation = 3

			loc_parameter_novelist_kinship = yes
			loc_parameter_fantastical_kinship_astray = 1
		}
	}

	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_people_of_the_book = 1
			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1

			hostility_override_special_doctrine_fae_and_folklore = 2
			hostility_override_special_doctrine_singular_interpretation = 3
			hostility_override_special_doctrine_christian_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_via_media = 1
			hostility_override_special_doctrine_people_of_the_book = 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_singular_interpretation = 3
			hostility_override_special_doctrine_christian_hermetic = 2		

			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_people_of_the_book = 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_singular_interpretation = 3

			loc_parameter_novelist_kinship = yes
			loc_parameter_islamic_kinship_astray = 1
		}
	}

	#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_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_radical_reform = 3
			
			hostility_override_special_doctrine_christian_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_roman_rite = 2
			hostility_override_special_doctrine_sevillian_rite = 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_christian_hermetic = 2				

			loc_parameter_reformation_roots_astray = 1
			loc_parameter_reformation_roots_hostile = 2
		}
	}

	#Hermetic Doctrines

	special_doctrine_christian_hermetic = {
		is_shown = {
			religion_tag = hermetic_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_christian_hermetic }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			
			hostility_override_special_doctrine_roman_rite = 1
			hostility_override_special_doctrine_independent_catholic = 1
			hostility_override_special_doctrine_sevillian_rite = 1

			hostility_override_special_doctrine_established_church = 1
			hostility_override_special_doctrine_reformation_roots = 1

			hostility_override_special_doctrine_via_media = 1

			hostility_override_special_doctrine_christian_kinship = 1

			hostility_override_special_doctrine_fae_and_folklore = 2

			hostility_override_special_doctrine_loyal_servants_of_the_queen = 2
		}
	}

	special_doctrine_nobelian_hermetic = {
		is_shown = {
			religion_tag = hermetic_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_christian_hermetic }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_fae_and_folklore = 3
			
			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_via_media = 1

			hostility_override_special_doctrine_sevillian_rite = 1

			hostility_override_special_doctrine_christian_kinship = 1

			hostility_override_special_doctrine_reformation_roots = 1

			hostility_override_special_doctrine_loyal_servants_of_the_queen = 2
		}
	}

	###Europeanists###

	special_doctrine_europeanist = {
		is_shown = {
			religion_tag = europeanist_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_christian_hermetic }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 2

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_fae_and_folklore = 3
			
			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_via_media = 1

			hostility_override_special_doctrine_sevillian_rite = 0

			hostility_override_special_doctrine_christian_kinship = 1

			hostility_override_special_doctrine_reformation_roots = 1

			hostility_override_special_doctrine_incorruptible_dogma = 3
		}
	}

	###Interfaith (shared) Doctrines###

	#Novelist friendship doctrine

	special_doctrine_people_of_the_book = {
		is_shown = {
			OR = {
				religion_tag = catholic_religion
				religion_tag = europeanist_religion
				religion_tag = islam_religion
				religion_tag = french_pantheon_religion
				has_doctrine = special_doctrine_people_of_the_book
			}
		}

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

		parameters = {
			hostility_override_special_doctrine_fantastical_kinship = 1
			hostility_override_special_doctrine_academic_kinship = 1
			hostility_override_special_doctrine_christian_kinship = 1
			hostility_override_special_doctrine_islamic_kinship = 1
			hostility_override_special_doctrine_people_of_the_book = 1

			loc_parameter_people_of_the_book_astray = 1
		}
	}

	#Druidics, Wiccans, Britannics, and Thelemites

	special_doctrine_fae_and_folklore = {
		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_people_of_the_book = 2
			hostility_override_special_doctrine_crowleyan_magic = 2
			hostility_override_special_doctrine_servants_of_the_regency = 2
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 2


			loc_parameter_fae_and_folklore_astray = 1
			loc_parameter_fae_and_folklore_hostile = 2
		}
	}

	special_doctrine_might_and_magick = {
		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_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_people_of_the_book = 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 = {
		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_people_of_the_book = 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 = {
		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_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_people_of_the_book = 2

			loc_parameter_goddesses_and_glory_astray = 1
			loc_parameter_goddesses_and_glory_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_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
		}
	}

	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_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
		}
	}

	#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_christian_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_nobelian_hermetic = 2
			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_nobelian_hermetic = 1
			hostility_override_special_doctrine_cult_of_saints = 1

			hostility_override_special_doctrine_established_church = 2
			hostility_override_special_doctrine_christian_hermetic = 2
			hostility_override_special_doctrine_heathen_revanchism = 2
			hostility_override_special_doctrine_reformation_roots = 2

			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
			
			hostility_override_special_doctrine_christian_hermetic = 1				

			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
		}
	}

	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
		}
	}
	
}