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			
			#Britanic
			religion_tag = brittanic_religion	
			
			### Pagans
			#Druidics
			religion_tag = druidic_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_overridespecial_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
		}
	}

	#Interfaith (shared) Doctrines

	special_doctrine_people_of_the_book = {
		is_shown = {
			OR = {
				religion_tag = catholic_religion
				religion_tag = europeanist_religion
				religion_tag = islam_religion
				religion_tag = third_estatist_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
		}
	}

	special_doctrine_fae_and_folklore = {
		is_shown = {
			OR = {
				religion_tag = druidic_religion
				religion_tag = wicca_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

			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
			}
		}
		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_loyal_servants_of_the_queen_thelema = 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_might_and_magick_astray = 1
		}
	}

	special_doctrine_goddesses_and_glory = {
		is_shown = {
			OR = {
				religion_tag = druidic_religion
				religion_tag = wicca_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_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
		}
	}

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

	####Britanic and Thelema Doctrine####
	
	special_doctrine_loyal_servants_of_the_queen_thelema = {
		is_shown = {
			religion_tag = thelema_religion
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_loyal_servants_of_the_queen_thelema }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 0
			hostility_override_special_doctrine_true_servants_of_the_queen = 2
			hostility_override_special_doctrine_regicidal  = 3
			hostility_override_special_doctrine_true_servants_of_the_queen_regents = 3		

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_fae_and_folklore = 2

		}
	}	

	special_doctrine_loyal_servants_of_the_queen = {
		is_shown = {
			religion_tag = brittanic_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_loyal_servants_of_the_queen_thelema = 0
			hostility_override_special_doctrine_true_servants_of_the_queen = 0
			hostility_override_special_doctrine_regicidal = 3
			hostility_override_special_doctrine_true_servants_of_the_queen_regents = 3				

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_fae_and_folklore = 2
		}
	}

	special_doctrine_true_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_true_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_loyal_servants_of_the_queen_thelema = 2
			hostility_override_special_doctrine_true_servants_of_the_queen = 0
			hostility_override_special_doctrine_regicidal = 3
			hostility_override_special_doctrine_true_servants_of_the_queen_regents = 3				

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_fae_and_folklore = 2
		}
	}

	special_doctrine_true_servants_of_the_queen_regents = {
		is_shown = {
			OR = {
				religion_tag = brittanic_religion
			}
		}
		piety_cost = {
			value = faith_doctrine_cost_low
			if = {
				limit = { has_doctrine = special_doctrine_true_servants_of_the_queen_regents }
				multiply = faith_unchanged_tolerance_doctrine_cost_mult
			}
		}
		parameters = {
			hostility_override_special_doctrine_loyal_servants_of_the_queen = 3
			hostility_override_special_doctrine_loyal_servants_of_the_queen_thelema = 3
			hostility_override_special_doctrine_true_servants_of_the_queen = 3
			hostility_override_special_doctrine_regicidal = 3
			hostility_override_special_doctrine_true_servants_of_the_queen_regents = 3			

			hostility_override_special_doctrine_might_and_magick = 1
			hostility_override_special_doctrine_goddesses_and_glory = 1
			hostility_override_special_doctrine_fae_and_folklore = 2
		}
	}

	special_doctrine_regicidal = {
		is_shown = {
			religion_tag = brittanic_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_true_servants_of_the_queen = 3
			hostility_override_special_doctrine_true_servants_of_the_queen_regents = 3
			
			loc_parameter_is_regicidal = yes
		}
	}	

	####Hermetic Doctrine####
	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_loyal_servants_of_the_queen_thelema = 2

			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_roman_rite = 1
			hostility_override_special_doctrine_independent_catholic = 0

			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_incorruptible_dogma = 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_loyal_servants_of_the_queen_thelema = 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
		}
	}		
	####German/Adonist Doctrine#### Adonist should hate the christians(everyone kinda tbh), and deists. germanpagan probably dont need aything too fancy, cept maybe the folktero being astray with christians

	###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_thelema = 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
		}
	}	

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