
	###### NEOW TENETS ######
	
	###WICCA###
	
	tenet_divine_opulence = {
		icon = core_tenet_ritual_hospitality

		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_divine_opulence }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			believes_in_harmony_with_nature_invisible = yes
			piety_from_feasts_active = yes
			mandatory_feast_attendance = yes
			allows_brewery = yes
		}

		character_modifier = {
			county_opinion_add = -10
			vassal_opinion = 10
			stress_loss_mult = 0.25
		}
	}
	
	king_of_winter = {
		icon = core_tenet_songs_of_roland
		is_shown = {
			religion_tag = wicca_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = king_of_winter }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		character_modifier = {
			prowess = 4
			tolerance_advantage_mod = 2
		}
		
		parameters = {
			clergy_can_fight = yes
			unlock_voluntary_laampdom_faith = yes
		}

		traits = {
			virtues = { generous = 2 }
			sins = { greedy = 2 }
		}
	}
#	the_book_of_shadows = {
#		icon = core_tenet_alexandrian_catechism
#		is_shown = {
#			religion_tag = wicca_religion
#		}
#		piety_cost = {
#			value = faith_tenet_cost_low
#			# Multiplier for keeping same tenet
#			if = {
#				limit = { has_doctrine = the_book_of_shadows }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#		}
#
#		parameters = {
#			tenet_esotericism_mystic_education = yes
#		}
#		character_modifier = {
#			monthly_learning_lifestyle_xp_gain_mult = 0.2
#			learning_per_stress_level = 2
#		}
#
#		traits = {
#			virtues = { 
#				scholar 
#				lifestyle_mystic = { weight = 1 }
#			}
#		}
#	}
	
	
	
	###ANGLICAN###
	
	tenet_armed_resistance = {
		icon = core_tenet_armed_resistance

		is_shown = {
			OR = { 
				religion = religion:eastern_orthodox_religion
				religion = religion:catholic_religion
				religion = religion:protestant_religion
			}
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_armed_resistance }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			sanctioned_false_conversion = yes
		}

		character_modifier = {
			hills_attrition_mult = -0.2
			hills_levy_size = 0.2
			hills_advantage = 4
			forest_attrition_mult = -0.2
			forest_levy_size = 0.2
			forest_advantage = 4
		}

	}
	
#	for_king_and_country = {
#		icon = core_tenet_for_king_and_country
#		is_shown = {
#			has_doctrine = special_doctrine_english_anglican
#		}
#		piety_cost = {
#			value = faith_tenet_cost_low
#			# Multiplier for keeping same tenet
#			if = {
#				limit = { has_doctrine = tenet_armed_resistance }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#		}
#
#		parameters = {
#			legalism_modified_law_costs = yes
#			legalism_modified_law_costs_2 = yes
#			legalism_reduced_faction_virtues = yes
#			legalism_increased_faction_sins = yes
#			legalism_trust_just_leader_active = yes
#		}
#	}
#	last_knights_of_britain = {
#		icon = core_tenet_songs_of_roland
#		
#		is_shown = {
#			has_doctrine = special_doctrine_english_anglican
#		}
#		piety_cost = {
#			value = faith_tenet_cost_low
#			# Multiplier for keeping same tenet
#			if = {
#				limit = { has_doctrine = last_knights_of_britain }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#		}
#		character_modifier = {
#			prowess = 4
#			tolerance_advantage_mod = 2
#			accolade_glory_gain_mult = 0.1
#		}
#		
#		parameters = {
#			clergy_can_fight = yes
#			cheaper_holy_wars_active = yes
#			pilgrimage_decision_active = yes
#		}
#
#	}
	
	
	
	###BRITISH###
	
	tenet_rule_the_waves = {
		icon = core_tenet_rule_the_waves
		
		is_shown = {
			religion_tag = thelema_religion
			religion_tag = britannic_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_rule_the_waves }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			unlock_voluntary_laampdom_faith = yes
			can_travel_along_rivers = yes
			conquest_cb_enabled = yes
			invasion_cb_enabled = yes			
		}
		character_modifier = {
			title_creation_cost_mult = -0.25			
			naval_movement_speed_mult = 0.15
			sea_travel_danger = medium_sea_danger_reduction
		}
		traits = {
			virtues = { brave }
			sins = { craven }
		}		
	}
	

	tenet_terror_of_the_seas = {
		icon = core_tenet_terror_of_the_seas
		
		piety_cost = {
			value = faith_tenet_cost_mid

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_terror_of_the_seas }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			always = yes
		}

		parameters = {
			can_raid_at_sea_even_if_feudal = yes
			piety_for_forced_conversions_active = yes
			unlock_varangian_adventurer_cb = yes
			
			unlock_voluntary_laampdom_faith = yes
		}
		character_modifier = {
			raid_speed = 0.50
			no_disembark_penalty = yes
			domain_tax_mult = -0.2
		}
	}
	
	
	
	###THELEMA###
	
	tenet_true_will = {
		icon = core_tenet_adorcism

		is_shown = {
			religion_tag = thelema_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_true_will }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			conquest_cb_enabled = yes
			invasion_cb_enabled = yes
		}

		character_modifier = {
			title_creation_cost_mult = -0.5
			direct_vassal_opinion = -10
			liege_opinion = -10
		}

		#parameters = {
		#	natural_primitivism_law_cost_increase = yes
		#}
		traits = {
			virtues = {
				disloyal
			}
			sins = {
				loyal
			}
		}		

		character_modifier = {
			tyranny_gain_mult = 1
			stress_gain_mult = -0.25
			stress_loss_mult = 0.25
		}
	}
	tenet_love_under_will = {
		icon = core_tenet_love_under_will
		
		is_shown = {
			religion_tag = thelema_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_love_under_will }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		character_modifier = {
			fertility = 0.33
		}
		parameters = {
			no_unfaithfulness_penalty_active = yes
		}
		traits = {
			virtues = {
				lustful = { scale = 2 weight = 2 } 
				compassionate
			}
			sins = {
				callous = { scale = 2 weight = 2 } 
				murderer
			}
		}			
	}
	tenet_do_what_thou_wilt = {
		icon = core_tenet_literalism

		is_shown = {
			religion_tag = thelema_religion
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_base_thelema 
					}
					desc = tenet_do_what_thou_wilt_kismetic
				}
				desc = tenet_do_what_thou_wilt_desc
			}
		}
		
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_do_what_thou_wilt }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			meditation_mechanics_active = yes
			has_access_to_runestones = yes
			divine_the_stars_active = yes
			can_build_pyramids = yes
		}			
	}
	
	
	
	###EUROPEANIST###
	
	core_tenet_belle_epoque = {
		icon = core_tenet_belle_epoque
		is_shown = {
			religion_tag = europeanist_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = core_tenet_belle_epoque }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			host_honored_guests_active = yes
		}

		character_modifier = {
			county_opinion_add = 15
		}
		traits = {
			virtues = {
				generous
			}
			sins = {
				callous
			}
		}
	}
	
	###orionist###
	
	tenet_righteous_fury = {
		icon = tenet_righteous_fury

		piety_cost = {
			if = {
				limit = { has_doctrine = tenet_warmonger }
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_righteous_fury }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = { doctrine:tenet_pacifism = { is_in_list = selected_doctrines } }
			}
		}

		character_modifier = {
			prowess_per_piety_level = 1
			maa_damage_mult = 0.1
		}
		
		parameters = {
			successful_sieges_give_piety = yes
			human_sacrifice_active = yes
		}
		
		traits = {
			virtues = { wrathful }
		}
	}
	
	###mysteriosophy###
	
#	tenet_five_maxims = {
#		icon = core_tenet_pursuit_of_knowledge
#
#		is_shown = {
#			religion_tag = europeanist_religion
#		}
#		piety_cost = {
#			value = faith_tenet_cost_low
#			# Multiplier for keeping same tenet
#			if = {
#				limit = { has_doctrine = tenet_europa_regina  }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#		}
#
#		character_modifier = {
#			monthly_learning_lifestyle_xp_gain_mult = 0.25
#			learning_per_stress_level = 2
#		}
#
#		traits = {
#			virtues = {
#				education_learning_3
#				education_learning_4
#				education_learning_5
#				scholar
#			}
#		}
#
#		parameters = {
#			better_study_scheme = yes
#		}
#	}
	
	
	###TRENCHSINGER###
	
	core_tenet_peacekeeping = {
		icon = core_tenet_peacekeeping
		is_shown = {
			religion_tag = europeanist_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = core_tenet_peacekeeping }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			holy_wars_forbidden = yes
			pacifist_opinion_active = yes
			opinion_of_pacifist_opinion_active = 20
			#piety_from_long_peace = 1
			mendicant_preachers_conversion_active = yes
			unlock_voluntary_laampdom_faith = yes
		}

		traits = {
			virtues = { calm }
			sins = { wrathful }
		}
		
		character_modifier = {
			domain_limit = 1
			ai_war_chance = -0.25
			ai_war_cooldown = 5
		}
	}
	tenet_let_the_poppies_grow = {
		icon = core_tenet_let_the_poppies_grow

		is_shown = {
			religion_tag = europeanist_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_let_the_poppies_grow }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			believes_in_harmony_with_nature_invisible = yes
			cremation_funeral = yes
			less_plague_spread_culture = yes
		}

		character_modifier = {
			health = 0.1
			build_gold_cost = 0.15
			county_opinion_add = 15
		}
	}
	
	###DROOID###
	
	tenet_druidry = {
		icon = core_tenet_sanctity_of_nature

		piety_cost = {
			if = {
				limit = {
					religion_tag = druidic_religion

				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine

				}
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_druidry }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_sanctity_of_nature_trigger
				NOT = { doctrine:tenet_sanctity_of_nature = { is_in_list = selected_doctrines } }
				religion_tag = druidic_religion				
			}
		}
		parameters = {
			believes_in_harmony_with_nature_invisible = yes
		}
		
		traits = {
			virtues = { 
				lifestyle_mystic = { 
					scale = 3
					weight = 2 
				} 
			}
		}

		character_modifier = {
			forest_advantage = 5
			forest_development_growth_factor = 0.15
			forest_levy_size = 0.25
			wetlands_advantage = 5
			wetlands_development_growth_factor = 0.15
			wetlands_levy_size = 0.25
			hills_advantage = 5
			hills_development_growth_factor = 0.15
			hills_levy_size = 0.25			
			holding_build_gold_cost = 0.25
			holding_build_speed = 0.25
			county_opinion_add = 5
		}
	}
	

	####GIRONDIST#####

	tenet_liberte = {
		icon = core_tenet_carnal_exaltation
		is_shown = {
			religion_tag = french_pantheon_religion
		}
		can_pick = {
			NOT = { doctrine:tenet_legalism = { is_in_list = selected_doctrines } }
			NOT = { doctrine:tenet_alexandrian_catechism = { is_in_list = selected_doctrines } }
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_liberte }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			legalism_modified_law_costs = yes
			legalism_modified_law_costs_2 = yes
			legalism_reduced_faction_virtues = yes
			legalism_increased_faction_sins = yes
			legalism_trust_just_leader_active = yes
		}
		character_modifier = {
			monthly_learning_lifestyle_xp_gain_mult = 0.2
			learning_per_stress_level = 2
		}
		traits = {
			virtues = { scholar }
		}
	}
	
	tenet_egalite = {
		icon = core_tenet_legal_pronouncements
		is_shown = {
			religion_tag = french_pantheon_religion
		}
		can_pick = {
			NOT = { doctrine:tenet_household_gods = { is_in_list = selected_doctrines } }
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_egalite }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		
		parameters = {
			same_culture_conversion_bonus_active = yes
			same_faith_promote_culture_bonus_active = yes
		}

		character_modifier = {
			monthly_influence = 0.5
			levy_reinforcement_rate_same_faith = 0.25
			tyranny_gain_mult = 1
		}
	}
	
	tenet_fraternite = {
		icon = core_tenet_communism
		is_shown = {
			religion_tag = french_pantheon_religion
		}
		can_pick = {
			NOT = { doctrine:adaptive = { is_in_list = selected_doctrines } }
			NOT = { doctrine:tenet_alexandrian_catechism = { is_in_list = selected_doctrines } }
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_fraternite }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		
		parameters = {
			tenet_adaptive_conversion_resistance = yes
			reduced_vassal_religion_discontent = yes
			hostility_same_religion = 1
			hostility_same_family = 1
			hostility_others = 1
		}

		character_modifier = {
			different_faith_county_opinion_mult = -0.25
			different_faith_liege_opinion = 15
			opinion_of_different_faith_liege = 15
		}
	}
	
	
	
	###NOVELISTS###
	
	tenet_universal_scripture = {
		icon = core_tenet_literalism
		is_shown = {
			religion_tag = novelist_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_universal_scripture }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		character_modifier = {
			prowess = 4
			tolerance_advantage_mod = 2
		}
		parameters = {
			great_holy_wars_active = yes
			tenet_adaptive_conversion_resistance = yes
			clergy_can_fight = yes
		}
		traits = {
			virtues = {
				scholar
			}
		}
	}
	
	
	
	###ASLANITE###
	tenet_people_of_the_book = {
		icon = core_tenet_legalism
		is_shown = {
			religion_tag = novelist_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_people_of_the_book }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			pilgrimage_decision_active = yes
			take_vows_active = yes
		}
	}

	one_king_to_rule_them_all = {
		icon = one_king_to_rule_them_all
		is_shown = {
			religion_tag = novelist_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = one_king_to_rule_them_all }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			temporal_condemnation_enabled = yes
			legalism_modified_law_costs = yes
			legalism_modified_law_costs_2 = yes
			legalism_reduced_faction_virtues = yes
			legalism_increased_faction_sins = yes
			legalism_trust_just_leader_active = yes
		}
	}


	
	###CAROLINGIAN###
	
	tenet_restore_the_crown = {
		icon = core_tenet_restore_the_crown
		is_shown = {
			religion_tag = novelist_religion
		}

		piety_cost = {
			value = faith_tenet_cost_mid

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_restore_the_crown }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			conquest_cb_enabled = yes
			invasion_cb_enabled = yes
			warmonger = yes
			novelist_title_replace_active = yes
		}

		character_modifier = {
			title_creation_cost_mult = -0.2
			tyranny_gain_mult = -0.2
			direct_vassal_opinion = -10
		}
	}
#	tenet_songs_of_roland = {
#		icon = core_tenet_songs_of_roland
#		is_shown = {
#			religion_tag = novelist_religion
#		}
#
#		name = {
#			first_valid = {
#				triggered_desc = {
#					trigger = {
#						has_doctrine = special_doctrine_simurghi
#					}
#					desc = tenet_songs_of_roland_simurghi_name
#				}
#				desc = tenet_songs_of_roland_name
#			}
#		}
#
#		desc = {
#			first_valid = {
#				triggered_desc = {
#					trigger = {
#						has_doctrine = special_doctrine_simurghi
#					}
#					desc = tenet_songs_of_roland_simurghi_desc
#				}
#				desc = tenet_songs_of_roland_desc
#			}
#		}
#
#		piety_cost = {
#			value = faith_tenet_cost_mid
#
#			# Multiplier for keeping same tenet
#			if = {
#				limit = { has_doctrine = tenet_songs_of_roland }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#		}
#
#		character_modifier = {
#			county_opinion_add = 10 
#		}
#		parameters = {
#			unlock_voluntary_laampdom_faith = yes
#		}
#		traits = {
#			virtues = {
#				gallant
#				lifestyle_poet
#			}
#		}
#	}
	
	
	
	###ATLANTEAN###
	
#	tenet_the_first_age = {
#		icon = core_tenet_sanctity_of_nature
#		piety_cost = {
#			value = faith_tenet_cost_low
#
#			# Multiplier for keeping same tenet
#			if = {
#				limit = { has_doctrine = tenet_the_first_age }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#		}
#
#		is_shown = {
#			religion_tag = novelist_religion
#		}
#
#		parameters = {
#			pilgrimage_decision_active = yes
#			novelist_title_replace_active = yes
#			durandal_restoration_active = yes
#		}
#	}
	tenet_chivalric_ideals = {
		icon = core_tenet_chivalric_ideals
		
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_simurghi
					}
					desc = tenet_chivalric_ideals_simurghi_name
				}
				desc = tenet_chivalric_ideals_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_simurghi
					}
					desc = tenet_chivalric_ideals_simurghi_desc
				}
				desc = tenet_chivalric_ideals_desc
			}
		}
		piety_cost = {
			value = faith_tenet_cost_low

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_chivalric_ideals }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			always = yes
		}	
		
		character_modifier = {
			fertility = 0.1
			spouse_opinion = 20
		}

		parameters = {
			unlock_voluntary_laampdom_faith = yes
			neow_better_spouses = yes
		}
		
		traits = {
			virtues = {
				ambitious
				adventurer
				gallant
			}
			sins = {
				gallowsbait
				sadistic
				callous
			}
		}
	}



	###ABSURDIST###
	
	tenet_letranger = {
		icon = core_tenet_inner_journey
		is_shown = {
			religion_tag = novelist_religion
		}
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_letranger }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			literalist_debate_enabled = yes
			meditation_mechanics_active = yes
		}

		character_modifier = {
			learning_per_stress_level = 2
			ignore_opinion_of_different_faith = yes
		}

		traits = {
			virtues = { eccentric }
		}
	}

	tenet_the_search_for_a_meaning = {
		icon = core_tenet_mendicant_preachers
		is_shown = {
			religion_tag = novelist_religion
		}
		
		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_the_search_for_a_meaning }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = ADULTERY_MUST_BE_FULLY_ACCEPTED
				NOR = {
					doctrine:doctrine_adultery_women_crime = { is_in_list = selected_doctrines }
					doctrine:doctrine_adultery_women_shunned = { is_in_list = selected_doctrines }
					doctrine:doctrine_adultery_men_crime = { is_in_list = selected_doctrines }
					doctrine:doctrine_adultery_men_shunned = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			reduced_stress_from_torture = yes
			no_unfaithfulness_penalty_active = yes
			unlock_voluntary_laampdom_faith = yes
		}

		character_modifier = {
			monthly_learning_lifestyle_xp_gain_mult = 0.2
			tyranny_gain_mult = 0.50
		}
	}
	###Christian Adjacent non-christians###
	tenet_christian_hermeticism = {
		icon = core_tenet_christian_syncretism

		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = islam_religion
						religion_tag = chronicler_religion
#						religion_tag = dualism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_christian_hermeticism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOT = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } }
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_other_syncretism_trigger
				NOR = {
					doctrine:tenet_eastern_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_unreformed_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_islamic_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_jewish_syncretism = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			hostility_override_special_doctrine_is_christian_faith = 1
			#For loc:
			is_christian_faith_bilateral_loc_override = 1
			# This parameter is empty; the syncretic religious trigger checks against the doctrine, as that's much clearer in tooltips and allows us to use a unified syncretic trigger per-religion rather than having bitty situational triggers.
			can_use_christian_artefacts = yes
			christian_syncretic_actor_opinion_active = yes
			opinion_of_christian_syncretic_recipient_opinion_active = 30 #Sync this to syncretic_mutual_opinion_bonus_value
		}

		traits = {
			virtues = { compassionate }
			sins = { callous sadistic }
		}
	}
	
	
	###CATHOLICS###
	
	tenet_catholic_communion = {
		icon = core_tenet_communion
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = judaism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_communion }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		can_pick = {
			custom_description = {
				text = doctrine_requires_head_of_faith_trigger
				NOT = {
					doctrine:doctrine_no_head = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_sacred_shadows_trigger
				NOT = {
					doctrine:tenet_sacred_shadows = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			excommunication_active = yes
		}
		traits = {
			virtues = { honest }
			sins = { deceitful greedy }
		}
	}
	
	
	
	###NOBELIAN###
	
	tenet_scientific_discourse = {
		icon = core_tenet_pursuit_of_knowledge
		piety_cost = {
			value = faith_tenet_cost_mid

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_scientific_discourse }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = doctrine_pluralism_fundamentalist_trigger
				NOT = { doctrine:doctrine_pluralism_fundamentalist = { is_in_list = selected_doctrines } }
			}
		}

		character_modifier = {
			monthly_learning_lifestyle_xp_gain_mult = 0.1
			learning_per_stress_level = 2
		}

		traits = {
			virtues = { 
				scholar = { scale = 2 weight = 2 } 
				education_learning_3 
				education_learning_4 
				education_learning_5 
			}
		}
	}

#	tenet_giant_shoulders = {
#		icon = core_tenet_inner_journey
#
#		is_shown = {
#			#has_doctrine = eastern_hostility_doctrine
#			#NOT = { religion_tag = zoroastrianism_religion }
#		}
#
#		piety_cost = {
#			value = faith_tenet_cost_low
#
#			# Multiplier for keeping same tenet
#			if = {
#				limit = { has_doctrine = tenet_inner_journey }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#		}
#
#		traits = {
#			virtues = { patient }
#			sins = { impatient }
#		}
#
#		parameters = {
#			meditation_mechanics_active = yes
#			select_personal_god_active = yes
#		}
#	}

	###### GENERIC #####
	
	tenet_wandering_bards = {
		icon = tenet_wandering_bards

		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_wandering_bards  }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = europeanist_religion
					}
					desc = tenet_wandering_bards_europeanist_name
				}
				desc = tenet_wandering_bards_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = europeanist_religion
					}
					desc = tenet_wandering_bards_europeanist_desc
				}
				desc = tenet_wandering_bards_desc
			}
		}

		can_pick = {
			custom_description = {
				text = doctrine_pluralism_fundamentalist_trigger
				NOT = { doctrine:doctrine_pluralism_fundamentalist = { is_in_list = selected_doctrines } }
			}
		}
		parameters = {
			mendicant_preachers_conversion_active = yes
			unlock_voluntary_laampdom_faith = yes
		}
		traits = {
			virtues = { 
				lifestyle_poet = { 
					scale = 2
					weight = 1 
				} 
			}
		}
	}
	
	tenet_divine_progress = {
		icon = core_tenet_divine_progress

		piety_cost = {
			value = faith_tenet_cost_low
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_divine_progress  }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			always = yes
		}

		character_modifier = {
			monthly_learning_lifestyle_xp_gain_mult = 0.1
		}

		traits = {
			virtues = { ambitious }
			sins = { content }
		}
		parameters = {
			neow_innovation_from_learning_traits = yes
		}
	}

	##### CALVINIST ######

	tenet_five_points = {
		icon = core_tenet_five_points
		can_pick = {
			custom_description = {
				text = incompatible_doctrine_mummification_trigger
				NOT = { doctrine:doctrine_funeral_mummification = { is_in_list = selected_doctrines } }
			}
		}
		piety_cost = {
			if = {
				limit = {
					religion_tag = protestant_religion
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_massive
			}
			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_five_points }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		parameters = {
			reforging_artifacts_costs_piety = yes
			destroying_artifacts_is_pious = yes
			literalist_debate_enabled = yes
		}
		traits = {
			virtues = {
				scholar
			}
		}
	}

	tenet_theomonarchy = {
		icon = core_tenet_legal_pronouncements
		piety_cost = {
			if = {
				limit = {
					religion_tag = protestant_religion
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_theomonarchy }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			temporal_condemnation_enabled = yes
			religious_legal_pronouncements_law_cost_reduction = yes
			excommunication_active = yes
			has_access_to_theomonarchy_succession = yes
		}

		traits = {
			sins = {
				excommunicated = 3
			}
		}
	}

	###### VANILLA TENETS ######
	
	
	
	############################
	# Christian Faith Tenets	#
	############################

	tenet_aniconism = {
		icon = core_tenet_aniconism
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = judaism_religion
						religion_tag = islam_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_aniconism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			has_doctrine = abrahamic_hostility_doctrine
		}

		can_pick = {
			custom_description = {
				text = incompatible_doctrine_mummification_trigger
				NOT = { doctrine:doctrine_funeral_mummification = { is_in_list = selected_doctrines } }
			}
		}

		character_modifier = {
			church_holding_build_speed = -0.33
			church_holding_build_gold_cost = -0.33
			church_holding_holding_build_speed = -0.33
			church_holding_holding_build_gold_cost = -0.33
		}

		parameters = {
			reforging_artifacts_costs_piety = yes
			destroying_artifacts_is_pious = yes
		}
	}

	tenet_alexandrian_catechism = {
		icon = core_tenet_alexandrian_catechism
		piety_cost = {
			value = faith_tenet_cost_mid

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_alexandrian_catechism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
					}
					desc = tenet_alexandrian_catechism_name
				}
				desc = tenet_islamic_rationalism_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
					}
					desc = tenet_alexandrian_catechism_desc
				}
				desc = tenet_islamic_rationalism_desc
			}
		}

		is_shown = {
			OR = {
				OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
				religion_tag = islam_religion 
			}
		}

		can_pick = {
			custom_description = {
				text = doctrine_pluralism_fundamentalist_trigger
				NOT = { doctrine:doctrine_pluralism_fundamentalist = { is_in_list = selected_doctrines } }
			}
		}

		character_modifier = {
			monthly_learning_lifestyle_xp_gain_mult = 0.2
			learning_per_stress_level = 2
		}

		traits = {
			virtues = { scholar }
		}
	}

	tenet_armed_pilgrimages = {
		icon = core_tenet_armed_pilgrimages
		piety_cost = {
			if = {
				limit = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } }
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_armed_pilgrimages }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			OR = {
				OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
				religion_tag = judaism_religion
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = { doctrine:tenet_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_dharmic_pacifism_trigger
				NOT = { doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_armed_pilgrimages_vs_forbidden_pilgrimages
				NOT = { doctrine:doctrine_pilgrimage_forbidden = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			cheaper_holy_wars_active = yes
			great_holy_wars_active = yes
			ghw_no_hof_conversion_buffs_active = yes
			pilgrimage_decision_active = yes
		}
		character_modifier = {
			accolade_glory_gain_mult = 0.1
		}
	}

	tenet_carnal_exaltation = {
		icon = core_tenet_carnal_exaltation
		piety_cost = {
			if = {
				limit = {
					religion_tag = hinduism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = judaism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_massive
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_carnal_exaltation }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		character_modifier = {
			fertility = 0.25
		}

		traits = {
			virtues = { lustful }
			sins = { chaste }
		}
	}

	tenet_communal_identity = {
		icon = core_tenet_communal_identity
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_low
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_communal_identity }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = judaism_religion
					}
					desc = tenet_communal_identity_chosen_people_name
				}
				desc = tenet_communal_identity_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = judaism_religion
					}
					desc = tenet_communal_identity_chosen_people_desc
				}
				desc = tenet_communal_identity_desc
			}
		}

		can_pick = {
			always = yes
		}

		parameters = {
			same_culture_conversion_bonus_active = yes
			same_faith_promote_culture_bonus_active = yes
			other_culture_conversion_penalty_active = yes
		}

		character_modifier = {
			name = "tenet_communal_identity_opinion"
			same_faith_opinion = 10
		}
	}

	tenet_communion = {
		icon = core_tenet_communion
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = judaism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_communion }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		can_pick = {
			custom_description = {
				text = doctrine_requires_head_of_faith_trigger
				NOT = {
					doctrine:doctrine_no_head = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_sacred_shadows_trigger
				NOT = {
					doctrine:tenet_sacred_shadows = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			seek_indulgences_active = yes
			seek_indulgences_active_2 = yes
			excommunication_active = yes
		}
		traits = {
			virtues = { honest }
			sins = { deceitful }
		}
	}

	tenet_consolamentum = {
		icon = core_tenet_consolamentum

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
					}
					desc = tenet_consolamentum_name
				}
				desc = tenet_consolamentum_name_alternate
			}
		}

		piety_cost = {
			if = {
				limit = {
					has_doctrine = tenet_sacrificial_ceremonies
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
#						religion_tag = dualism_religion
						religion_tag = hinduism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_consolamentum }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOR = {
				religion_tag = islam_religion
				religion_tag = judaism_religion
				religion_tag = zoroastrianism_religion
				AND = {
					has_doctrine = pagan_hostility_doctrine
					NOT = { religion_tag = kushitism_religion }
				}
			}
		}
		
		can_pick = {
			custom_description = {
				text = incompatible_tenet_sacrificial_ceremonies_trigger
				NOT = { doctrine:tenet_sacrificial_ceremonies = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			consolamentum_active = yes
		}

		character_modifier = {
			short_reign_duration_mult = -0.5
		}
	}

	tenet_divine_marriage = {
		icon = core_tenet_divine_marriage
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = zoroastrianism_religion
					}
					desc = tenet_divine_marriage_xwedodah 
				}
				desc = tenet_divine_marriage_name
			}
		}
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = islam_religion
#						religion_tag = dualism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_divine_marriage }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}


		can_pick = {
			custom_description = {
				text = doctrine_unrestricted_consanguinity_trigger
				doctrine:doctrine_consanguinity_unrestricted = { is_in_list = selected_doctrines }
			}
		}

		parameters = {
			divine_marriage_opinion = 10
			divine_marriage_piety_gain_active = yes
		}

		traits = {
			virtues = {
				pure_blooded = 2
				incestuous
			}
		}
	}

	tenet_gnosticism = {
		icon = core_tenet_gnosticism
		piety_cost = {
			if = {
				limit = {
					OR = {
#						religion_tag = dualism_religion
						religion_tag = zoroastrianism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = judaism_religion
						religion_tag = islam_religion
						religion_tag = hinduism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_gnosticism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		traits = {
			virtues = { temperate }
			sins = { gluttonous }
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_eastern_syncretism_trigger
				NOT = {
					doctrine:tenet_eastern_syncretism = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			hostility_override_tenet_gnosticism = 0
			hostility_override_special_doctrine_is_gnostic_faith = 0
			granting_titles_gives_stress = yes
		}

		character_modifier = {
			learning = 2
			stewardship = -2
		}

		is_shown = {
			NOT = { has_doctrine = special_doctrine_is_gnostic_faith } # Can't be Gnostic if ye already are Gnostic
		}
	}

	tenet_mendicant_preachers = {
		icon = core_tenet_mendicant_preachers
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
#						religion_tag = dualism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = hinduism_religion
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_mendicant_preachers }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_hedonistic_trigger
				NOT = { doctrine:tenet_hedonistic = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			mendicant_preachers_conversion_active = yes
			pilgrimage_decision_active = yes
			unlock_voluntary_laampdom_faith = yes
		}
		traits = {
			virtues = { temperate }
			sins = { gluttonous }
		}
	}

	tenet_monasticism = {
		icon = core_tenet_monasticism
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
#						religion_tag = dualism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_monasticism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_hedonistic_trigger
				NOT = { doctrine:tenet_hedonistic = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			take_vows_active = yes
		}
		traits = {
			virtues = { temperate }
			sins = { gluttonous }
		}
	}

	tenet_militant_vows = {
		icon = core_tenet_armed_resistance
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
#						religion_tag = dualism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_militant_vows }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_hedonistic_trigger
				NOT = { doctrine:tenet_hedonistic = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			clergy_can_fight = yes
			NEOW_can_build_citadels = yes
		}
		traits = {
			virtues = { temperate }
			sins = { gluttonous }
		}
		character_modifier = {
			holy_order_hire_cost_mult = -0.25
		}
	}
	tenet_pacifism = {
		icon = core_tenet_pacifism
		piety_cost = {
			if = {
				limit = {
					OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
					religion_tag = taoism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion_tag = islam_religion
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_pacifism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOR = {
				religion_tag = buddhism_religion
				religion_tag = hinduism_religion
				religion_tag = jainism_religion
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_human_sacrifice_trigger
				NOT = { doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_armed_pilgrimages_trigger
				NOT = { doctrine:tenet_armed_pilgrimages = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_gruesome_festivals_trigger
				NOT = {
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			holy_wars_forbidden = yes
			pacifist_opinion_active = yes
			opinion_of_pacifist_opinion_active = 10
			piety_from_long_peace = 1
		}

		traits = {
			virtues = { calm }
			sins = { wrathful }
		}
		
		character_modifier = {
			domain_limit = 1
			ai_war_chance = -0.25
			ai_war_cooldown = 5
		}
	}

	tenet_pentarchy = {
		icon = core_tenet_pentarchy
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
					}
					desc = tenet_pentarchy_alternate_name
				}
				desc = tenet_pentarchy_name
			}
		}

		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = hinduism_religion
						religion_tag = zoroastrianism_religion
					}
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_pentarchy }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = doctrine_pluralism_pluralistic_trigger
				NOT = { doctrine:doctrine_pluralism_pluralistic = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			fervor_per_holy_site = 1
			pilgrimage_decision_active = yes
		}
	}

	tenet_unrelenting_faith = {
		icon = core_tenet_unrelenting_faith
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = judaism_religion
						religion_tag = islam_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_unrelenting_faith }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		character_modifier = {
			prowess = 4
			tolerance_advantage_mod = 2
		}
		
		parameters = {
			clergy_can_fight = yes
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						OR = { 
							has_doctrine = doctrine_heretic_branch_zandik
							has_doctrine = tenet_pastoral_isolation
						}
					}
					desc = tenet_unrelenting_faith_zandik_name
				}
				desc = tenet_unrelenting_faith_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						OR = { 
							has_doctrine = doctrine_heretic_branch_zandik
							has_doctrine = tenet_pastoral_isolation
						}
					}
					desc = tenet_unrelenting_faith_zandik_desc
				}
				desc = tenet_unrelenting_faith_desc
			}
		}
	}

	tenet_vows_of_poverty = {
		icon = core_tenet_vows_of_poverty
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
#						religion_tag = dualism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_vows_of_poverty }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			always = yes
		}

		parameters = {
			vows_of_poverty_active = yes
			unlock_voluntary_laampdom_faith = yes
		}

		traits = {
			virtues = { generous = 2 }
			sins = { greedy = 2 }
		}
	}

	tenet_pastoral_isolation = {
		icon = core_tenet_pastoral_isolation

		can_pick = {
			custom_description = {
				text = incompatible_tenet_false_conversion_sanction_trigger
				NOT = {
					doctrine:tenet_false_conversion_sanction = { is_in_list = selected_doctrines }
				}
			}
		}

		piety_cost = {
			value = faith_tenet_cost_low
		}

		parameters = {
			hostility_override_special_doctrine_is_christian_faith = 1
			#For loc:
			is_christian_faith_pastoral_isolation_loc_override = 1		
			sanctioned_false_conversion = yes
			unattractive_for_character_conversions = yes
			tenet_unlocks_t3_withdraw_from_view = yes
			christian_syncretic_actor_opinion_active = yes
			opinion_of_christian_syncretic_recipient_opinion_active = 30 #Sync this to syncretic_mutual_opinion_bonus_value			
		}

		character_modifier = {
			development_growth_factor = -0.1
			different_faith_liege_opinion = 10
			opinion_of_different_faith_liege = 10
		}

		traits = {
		}
	}

	tenet_rite = {
		icon = core_tenet_rite

		is_shown = {
			# Filter out religions that use a branch system.
			NOR = {
				religion = religion:islam_religion
				religion = religion:zoroastrianism_religion
			}
			# We also only want people with existing spiritual HoFs.
			exists = religious_head
			has_doctrine_parameter = spiritual_head_of_faith
		}

		can_pick = {
			# Must have a theocratic HoF.
			custom_description = {
				text = doctrine_requires_theocratic_head_of_faith_trigger
				doctrine:doctrine_spiritual_head = { is_in_list = selected_doctrines }
			}
			# !!! SECTION NOTE !!!
			## We check for tenets rather than doctrine parameters here because doctrine parameters cannot be checked in the selected_doctrines list, so we maintain such throughout the section for consistency.
			# Some tenet/doctrine configurations are mutually exclusive.
			## Pacifists vs. war-mongers.
			custom_description = {
				text = incompatible_tenet_shared_hof_pacifists_vs_warmongers
				NOR = {
					# Either you're trying to be pacifist and your HoF hates it...
					AND = {
						OR = {
							doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines }
							doctrine:tenet_pacifism = { is_in_list = selected_doctrines }
						}
						religious_head.faith = {
							OR = {
								has_doctrine = tenet_armed_pilgrimages
								has_doctrine = tenet_struggle_submission
								has_doctrine = tenet_warmonger
								has_doctrine = tenet_pursuit_of_power
							}
						}
					}
					# ... or your HoF is and hates your warmongering.
					AND = {
						OR = {
							doctrine:tenet_armed_pilgrimages = { is_in_list = selected_doctrines }
							doctrine:tenet_struggle_submission = { is_in_list = selected_doctrines }
							doctrine:tenet_warmonger = { is_in_list = selected_doctrines }
							doctrine:tenet_pursuit_of_power = { is_in_list = selected_doctrines }
						}
						religious_head.faith = {
							OR = {
								has_doctrine = tenet_dharmic_pacifism
								has_doctrine = tenet_pacifism
							}
						}
					}
				}
			}
			## Criminal witches vs. adorcists.
			custom_description = {
				text = incompatible_tenet_shared_hof_criminal_witches_vs_adorcists
				NOR = {
					# Either you're big on possessions but your HoF hates witchcraft...
					AND = {
						doctrine:tenet_adorcism = { is_in_list = selected_doctrines }
						religious_head.faith = { has_doctrine = doctrine_witchcraft_crime }
					}
					# ... or you hate witchcraft but your HoF likes possessions.
					AND = {
						doctrine:doctrine_witchcraft_crime = { is_in_list = selected_doctrines }
						religious_head.faith = { has_doctrine = tenet_adorcism }
					}
				}
			}
			## Hedonists vs. ascetics.
			custom_description = {
				text = incompatible_tenet_shared_hof_hedonists_vs_ascetics
				NOR = {
					# Either you like to indulge but your HoF believes less is more...
					AND = {
						doctrine:tenet_hedonistic = { is_in_list = selected_doctrines }
						religious_head.faith = { has_doctrine = tenet_asceticism }
					}
					# ... or your HoF throws constant wild parties whilst you prefer to sit and chill.
					AND = {
						doctrine:tenet_asceticism = { is_in_list = selected_doctrines }
						religious_head.faith = { has_doctrine = tenet_hedonistic }
					}
				}
			}
			## Cannibals vs. non-cannibals of any kind.
			custom_description = {
				text = incompatible_tenet_shared_hof_cannibals_vs_non_cannibals
				NOR = {
					# Cannibal-you doesn't get why your non-cannibal HoF freaks out when you offer them a hand...
					AND = {
						doctrine:tenet_ritual_cannibalism = { is_in_list = selected_doctrines }
						NOT = {
							religious_head.faith = { has_doctrine = tenet_ritual_cannibalism }
						}
					}
					# ... or cannibal-HoF thinks you need to chill the hell out whilst they eat this dude.
					AND = {
						religious_head.faith = { has_doctrine = tenet_ritual_cannibalism }						
						NOT = {
							doctrine:tenet_ritual_cannibalism = { is_in_list = selected_doctrines }
						}
					}
				}
			}
			# Some tenet/doctrine configurations are unilaterally exclusive.
			## HumSac/GruFes are disliked by anyone who doesn't also actively believe in such.
			custom_description = {
				text = incompatible_tenet_shared_hof_world_vs_humsac_grufes
				# Your HoF will not put up with your HumSackery if they don't also go in for it.
				trigger_if = {
					limit = {
						OR = {
							doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines }
							doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines }
						}
					}
					NOR = {
						religious_head.faith = { has_doctrine = tenet_gruesome_festivals }
						religious_head.faith = { has_doctrine = tenet_human_sacrifice }
					}
				}
			}
			## Monogamy doesn't like polygamy.
			custom_description = {
				text = incompatible_tenet_shared_hof_monogamy_vs_polygamy
				# Monogamous HoFs do not appreciate polygamy.
				trigger_if = {
					limit = {
						doctrine:doctrine_polygamy = { is_in_list = selected_doctrines }
					}
					NOT = {
						religious_head.faith = { has_doctrine = doctrine_monogamy }
					}
				}
			}
			## All lesser variations of incest don't like unrestricted incest.
			custom_description = {
				text = incompatible_tenet_shared_hof_world_vs_unrestricted_incest
				# Non-incestual HoFs really take issue with unrestricted incest.
				trigger_if = {
					limit = {
						doctrine:doctrine_consanguinity_unrestricted = { is_in_list = selected_doctrines }
					}
					religious_head.faith = { has_doctrine = doctrine_consanguinity_unrestricted }
				}
			}
		}

		piety_cost = {
			value = faith_tenet_cost_low
		}

		parameters = {
			maintains_head_of_faith_on_creation = yes
			# For loc:
			ecumenical_christians_keep_ecumenism = yes
			# And finally, you and your old faith see each other as astray.
			## Please note, unlike other hostility overrides, this is _bilateral_, not unilateral.
			same_hof_hostility_override = 1
		}

		character_modifier = {
			faith_creation_piety_cost_mult = -0.25
			opinion_of_same_faith = 5
			religious_head_opinion = -10
		}
	}

	############################
	#	Muslim Faith Tenets	#
	############################

	tenet_adaptive = {
		icon = core_tenet_adaptive
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = islam_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = judaism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_adaptive }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = doctrine_inverted_pluralism_pluralistic_trigger
				NOR = {
					doctrine:doctrine_pluralism_fundamentalist = { is_in_list = selected_doctrines }
					doctrine:doctrine_pluralism_righteous = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			tenet_adaptive_conversion_resistance = yes
			reduced_vassal_religion_discontent = yes
		}

		character_modifier = {
			different_faith_county_opinion_mult = -0.25
			different_faith_liege_opinion = 15
			opinion_of_different_faith_liege = 15
		}
	}

	tenet_esotericism = {
		icon = core_tenet_esotericism
		piety_cost = {
			if = {
				limit = {
					OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }

				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = hinduism_religion
						religion_tag = jainism_religion
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_esotericism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		traits = {
			virtues = {
				lifestyle_mystic = { weight = 1 }
			}
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = judaism_religion
					}
					desc = tenet_esotericism_kabbalah
				}
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_simurghi
					}
					desc = tenet_esotericism_simurghi_name
				}
				desc = tenet_esotericism_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = judaism_religion
					}
					desc = tenet_esotericism_kabbalah_desc
				}
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_simurghi
					}
					desc = tenet_esotericism_simurghi_desc
				}
				desc = tenet_esotericism_desc
			}
		}

		parameters = {
			tenet_esotericism_mystic_education = yes
		}
	}

	tenet_legalism = {
		icon = core_tenet_legalism
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = islam_religion
						religion_tag = judaism_religion
						religion_tag = zoroastrianism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_legalism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		traits = {
			virtues = { just = 2 }
			sins = { arbitrary = 2 }
		}

		parameters = {
			legalism_modified_law_costs = yes
			legalism_modified_law_costs_2 = yes
			legalism_reduced_faction_virtues = yes
			legalism_increased_faction_sins = yes
			legalism_trust_just_leader_active = yes
		}
	}

	tenet_literalism = {
		icon = core_tenet_literalism
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = islam_religion
						religion_tag = judaism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_literalism }
				multiply = faith_unchanged_doctrine_cost_mult
			}

			if = {
				limit = { NOT = { has_doctrine = abrahamic_hostility_doctrine } }
				multiply = 1.5
				round = yes
			}
		}

		traits = {
			virtues = {
				education_learning_3
				education_learning_4
				education_learning_5
				scholar
			}
		}
		
		character_modifier = {
			monthly_merit_mult = 0.1
		}

		parameters = {
			literalist_debate_enabled = yes
		}
	}

	tenet_reincarnation = {
		icon = core_tenet_reincarnation
		piety_cost = {
			if = {
				limit = {
					religion_tag = islam_religion

				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
#						religion_tag = dualism_religion
						religion_tag = hinduism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_reincarnation }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOR = {
				AND = {
					OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
				}
				religion_tag = judaism_religion
			}
		}

		parameters = {
			reincarnation_resistance_to_conversion = yes
			reincarnation_events_active = yes
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = zoroastrianism_religion
					}
					desc = tenet_reincarnation_zoroastrian_name
				}
				desc = tenet_reincarnation_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = zoroastrianism_religion
					}
					desc = tenet_reincarnation_zoroastrian_desc
				}
				desc = tenet_reincarnation_desc
			}
		}
	}

	tenet_religious_legal_pronouncements = {
		icon = core_tenet_legal_pronouncements
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = hinduism_religion
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = islam_religion
						religion_tag = judaism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_religious_legal_pronouncements }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = { this = faith:quranist }
					desc = tenet_religious_legal_pronouncements_hisbah
				}
				triggered_desc = {
					trigger = {
						religion_tag = islam_religion
					}
					desc = tenet_religious_legal_pronouncements_fatwa
				}
				triggered_desc = {
					trigger = {
						religion_tag = judaism_religion
					}
					desc = tenet_religious_legal_pronouncements_halakha
				}
				desc = tenet_religious_legal_pronouncements_name
			}
		}

		parameters = {
			temporal_condemnation_enabled = yes
			religious_legal_pronouncements_law_cost_reduction = yes
		}
	}

	tenet_struggle_submission = {
		icon = core_tenet_struggle_submission
		piety_cost = {
			if = {
				limit = {
					religion_tag = islam_religion
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_struggle_submission }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			OR = {
				religion_tag = islam_religion
#				religion_tag = dualism_religion
			}
		}

		parameters = {
			great_holy_wars_active = yes
			ghw_no_hof_conversion_buffs_active = yes
			bonus_holy_war_piety_active = yes
			pilgrimage_decision_active = yes
			unlock_voluntary_laampdom_faith = yes
		}
	}

	tenet_false_conversion_sanction = {
		icon = core_tenet_false_conversion_sanction
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = islam_religion
					}
					desc = tenet_temporal_condemnation_taqiya
				}
				triggered_desc = {
					trigger = {
						religion_tag = judaism_religion
					}
					desc = tenet_anusim
				}
				desc = tenet_false_conversion_sanction_name
			}
		}

		piety_cost = {
			if = {
				limit = {
					OR = {
#						religion_tag = dualism_religion
						religion_tag = hinduism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					religion_tag = zoroastrianism_religion

				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_false_conversion_sanction }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			sanctioned_false_conversion = yes
		}

		character_modifier = {
			monthly_intrigue_lifestyle_xp_gain_mult = 0.1 #FP3 addition to make this tenet more attractive
		}
	}

	tenet_tax_nonbelievers = {
		icon = core_tenet_tax_nonbelievers
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
#						religion_tag = dualism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = islam_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_tax_nonbelievers }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = islam_religion
					}
					desc = tenet_tax_nonbelievers_jizya_name
				}
				desc = tenet_tax_nonbelievers_name
			}
		}

		character_modifier = {
			domain_tax_different_faith_mult = 0.2
			levy_reinforcement_rate_same_faith = 0.25
			levy_reinforcement_rate_different_faith = -0.25
		}

		parameters = {
			unlock_jizya_contract = yes
		}

		is_shown = {
			NOT = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } }
			NOT = { has_doctrine = special_doctrine_jizya }
		}
	}

	#############################
	# Eastern Faith tenets 		#
	#############################

	tenet_asceticism = {
		icon = core_tenet_asceticism
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
#						religion_tag = dualism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
						religion_tag = taoism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_asceticism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		

		parameters = {
			meditation_mechanics_active = yes
			unlock_voluntary_laampdom_faith = yes
		}

		#name = { #FP3 - Removed and saved for posterity. Zurvanism would fit a future hypotetical "Fatalism" tenet, but Asceticism isn't a good fit, per beta input. Ola's note. 
		#	first_valid = {
		#		triggered_desc = {
		#			trigger = {
		#				religion_tag = zoroastrianism_religion
		#			}
		#			desc = tenet_zurvanism_name
		#		}
		#		desc = tenet_asceticism_name
		#	}
		#}

		#desc = {
		#	first_valid = {
		#		triggered_desc = {
		#			trigger = {
		#				religion_tag = zoroastrianism_religion
		#			}
		#			desc = tenet_zurvanism_desc
		#		}
		#		desc = tenet_asceticism_desc
		#	}
		#}

		traits = {
			virtues = {
				temperate
			}
			sins = {
				gluttonous
				greedy
				lifestyle_reveler
			}
		}
	}

	tenet_bhakti = {
		name = {
			first_valid = {
				triggered_desc = {
					trigger = { religion_tag = hinduism_religion }
					desc = tenet_bhakti_name
				}
				triggered_desc = {
					trigger = { religion_tag = eastern_orthodox_religion }
					desc = tenet_bhakti_orthodox_name
				}					
				triggered_desc = {
					trigger = { this = faith:folketro }
					desc = tenet_bhakti_folketro_name
				}
				triggered_desc = {
					trigger = { this = faith:leviathan }
					desc = tenet_bhakti_leviathan_name
				}					
				desc = tenet_bhakti_patron_god_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = { this = faith:folketro }
					desc = tenet_bhakti_folketro_desc
				}
				triggered_desc = {
					trigger = { religion_tag = eastern_orthodox_religion }
					desc = tenet_bhakti_orthodox_desc
				}
				triggered_desc = {
					trigger = { this = faith:leviathan }
					desc = tenet_bhakti_leviathan_desc
				}					
				desc = tenet_bhakti_desc
			}
		}		
		icon = core_tenet_bhakti

		piety_cost = faith_tenet_cost_mid

		is_shown = {
			OR = {
				religion_tag = hinduism_religion
				religion_tag = orthodox_religion
				# With FP1, Germanics also get personal deities.
				AND = {
					religion_tag = folkgerman_religion
					has_fp1_dlc_trigger = yes
				}
			}
		}

		parameters = {
			select_personal_god_active = yes
		}
	}

	tenet_dharmic_pacifism = { #Mix of reincarnation and pacifism rites
		icon = core_tenet_dharmic_pacifism
		is_shown = {
			has_doctrine = eastern_hostility_doctrine
			NOT = { religion_tag = zoroastrianism_religion }
		}

		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_dharmic_pacifism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_human_sacrifice_trigger
				NOT = { doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_armed_pilgrimages_trigger
				NOT = { doctrine:tenet_armed_pilgrimages = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_gruesome_festivals_trigger
				NOT = {
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines }
				}
			}
		}
		
		parameters = {
			reincarnation_resistance_to_conversion = yes
			holy_wars_forbidden = yes
			pacifist_opinion_active = yes
			opinion_of_pacifist_opinion_active = 10
			hostility_same_religion = 1
		}

		traits = {
			virtues = { calm }
			sins = { wrathful }
		}
		
		character_modifier = {
			domain_limit = 1
			ai_war_chance = -0.25
			ai_war_cooldown = 0.25
		}
	}

	tenet_inner_journey = {
		icon = core_tenet_inner_journey

		is_shown = {
			has_doctrine = eastern_hostility_doctrine
			NOT = { religion_tag = zoroastrianism_religion }
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_simurghi
					}
					desc = tenet_inner_journey_simurghi_name
				}
				desc = tenet_inner_journey_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_simurghi
					}
					desc = tenet_inner_journey_simurghi_desc
				}
				desc = tenet_inner_journey_desc
			}
		}

		piety_cost = {
			value = faith_tenet_cost_low

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_inner_journey }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		traits = {
			virtues = { patient }
			sins = { impatient }
		}

		parameters = {
			meditation_mechanics_active = yes
		}
	}

	tenet_ritual_hospitality = {
		icon = core_tenet_ritual_hospitality
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = hinduism_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_ritual_hospitality }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOT = {
				has_doctrine = abrahamic_hostility_doctrine
			}
		}

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = hinduism_religion
					}
					desc = tenet_ritual_hospitality_alternate_name
				}
				desc = tenet_ritual_hospitality_name
			}
		}

		parameters = {
			host_honored_guests_active = yes
		}

		traits = {
			virtues = {
				generous
			}
			sins = {
				callous
			}
		}

		character_modifier = {
			monthly_piety_gain_per_happy_powerful_vassal_add = 0.3
		}
	}

	############################
	# Pagan Faith Tenets  		#
	############################

	tenet_adorcism = {
		icon = core_tenet_adorcism

		piety_cost = {
			value = faith_tenet_cost_low

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_adorcism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			OR = {
#				religion_tag = west_african_bori_religion
#				religion_tag = akom_religion
#				religion_tag = muism_religion
#				religion_tag = dab_qhuas_religion
#				religion_tag = shamanism_religion
				has_doctrine = tenet_sun_worship #If you already have it
			}
		}

		parameters = {
			spirit_possession_active = yes
		}

		traits = {
			virtues = { possessed_1 = 2 possessed_genetic = 2 }
		}
	}

	tenet_ancestor_worship = {
		icon = core_tenet_ancestor_worship

		piety_cost = {
			value = faith_tenet_cost_low

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_ancestor_worship }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			has_doctrine = pagan_hostility_doctrine
		}

		parameters = {
			increased_dynasty_prestige_birth_mult = 1
			increased_dynasty_prestige_marriage_mult = 1
			increased_dynasty_prestige_long_reign_mult = 0.5
			pilgrimage_decision_active = yes
		}

		character_modifier = {
			close_relative_opinion = 5
		}
	}

	tenet_astrology = {
		icon = core_tenet_astrology
		name = { #FP3
			first_valid = {
				triggered_desc = {
					trigger = {
						OR = {
							religion_tag = islam_religion 
							religion_tag = zoroastrianism_religion
						}
					}
					desc = tenet_divination_name
				}
				desc = tenet_astrology_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						OR = {
							religion_tag = islam_religion 
							religion_tag = zoroastrianism_religion
						}
					}
					desc = tenet_divination_desc
				}
				desc = tenet_astrology_desc
			}
		}

		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = judaism_religion
						religion_tag = islam_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_astrology }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			divine_the_stars_active = yes
		}

		character_modifier = {
			naval_movement_speed_mult = 0.25
		}
	}

	tenet_hedonistic = {
		icon = core_tenet_hedonistic
		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_massive
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = islam_religion
						religion_tag = judaism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					religion_tag = hinduism_religion

				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_hedonistic }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
#			NOT = { religion_tag = dualism_religion }
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_monasticism_trigger
				NOT = { doctrine:tenet_monasticism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_mendicant_preachers_trigger
				NOT = { doctrine:tenet_mendicant_preachers = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			piety_from_feasts_active = yes
			piety_from_festivals_active = yes
		}

		traits = {
			virtues = { gluttonous = { scale = 2 weight = 2 } }
			sins = { temperate = { scale = 2 weight = 2 } }
		}

		character_modifier = {
			stress_loss_mult = 0.2
		}
	}

	tenet_human_sacrifice = {
		icon = core_tenet_human_sacrifice
		piety_cost = {
			if = {
				limit = {
					has_doctrine = tenet_sacrificial_ceremonies
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
				}
				value = faith_tenet_cost_mid
			}
			else_if = {
				limit = {
					religion_tag = hinduism_religion
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_human_sacrifice }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = cosmist_religion
					}
					desc = tenet_human_sacrifice_cosmist_name
				}
				desc = tenet_human_sacrifice_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = cosmist_religion
					}
					desc = tenet_human_sacrifice_cosmist_desc
				}
				desc = tenet_human_sacrifice_desc
			}
		}

		is_shown = {
			# No HumSac for Abrahamics: 'tis literally the religion-namer.
			NOR = {
				OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
				religion_tag = judaism_religion
				religion_tag = islam_religion
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = { doctrine:tenet_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_dharmic_pacifism_trigger
				NOT = { doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_gruesome_festivals_trigger
				NOT = {
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_sacrificial_ceremonies_trigger
				NOT = {
					doctrine:tenet_sacrificial_ceremonies = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			human_sacrifice_active = yes
			flower_war_cb_active = yes
		}

		character_modifier = {
			ai_war_chance = 1
			ai_war_cooldown = -0.5
		}
	}

	tenet_mystical_birthright = {
		icon = core_tenet_mystical_birthright

		piety_cost = {
			value = faith_tenet_cost_low

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_mystical_birthright }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			religion_tag = hungaric_religion
		}

		parameters = {
			mystic_birthright_active = yes
		}

		traits = {
			virtues = { 
				lifestyle_mystic = { 
					scale = 5 
					weight = 2 
				} 
			}
		}
	}

	tenet_ritual_celebrations = {
		icon = core_tenet_ritual_celebrations

		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = hinduism_religion
						religion_tag = zoroastrianism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_ritual_celebrations }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_heathen_revanchism
					}
					desc = tenet_ritual_celebrations_viking_name
				}
				desc = tenet_ritual_celebrations_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_heathen_revanchism
					}
					desc = tenet_ritual_celebrations_viking_desc
				}
				desc = tenet_ritual_celebrations_desc
			}
		}

		parameters = {
			piety_from_feasts_active = yes
			piety_from_festivals_active = yes
			mandatory_feast_attendance = yes
			allows_brewery = yes
		}

		character_modifier = {
			vassal_opinion = 5
			courtier_opinion = 5
		}
	}

	tenet_sacred_childbirth = {
		icon = core_tenet_sacred_childbirth
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = baltic_religion
					}
					desc = tenet_sacred_childbirth_alternate_name
				}
				desc = tenet_sacred_childbirth_name
			}
		}

		piety_cost = {
			value = faith_tenet_cost_low

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_sacred_childbirth }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			safer_childbirths_active = yes
			healthier_children_active = yes
			piety_from_childbirth_active = yes
		}

		character_modifier = {
			fertility = 0.1
		}

		traits = {
			virtues = { pregnant }
		}
	}

	tenet_sanctity_of_nature = {
		icon = core_tenet_sanctity_of_nature
		
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_numenor
					}
					desc = tenet_sanctity_of_nature_romanticist_name
				}
				desc = tenet_sanctity_of_nature_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						has_doctrine = special_doctrine_numenor
					}
					desc = tenet_sanctity_of_nature_romanticist_desc
				}
				desc = tenet_sanctity_of_nature_desc
			}
		}

		piety_cost = {
			if = {
				limit = {
					religion_tag = hinduism_religion

				}
				value = faith_tenet_cost_high
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine

				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = abrahamic_hostility_doctrine
				}
				value = faith_tenet_cost_massive
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_sanctity_of_nature }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			believes_in_harmony_with_nature_invisible = yes
		}

		character_modifier = {
			forest_advantage = 5
			forest_development_growth_factor = 0.1
			forest_levy_size = 0.2
			taiga_advantage = 5
			taiga_development_growth_factor = 0.15
			taiga_levy_size = 0.2
			jungle_advantage = 5
			jungle_development_growth_factor = 0.3
			jungle_levy_size = 0.2
			holding_build_gold_cost = 0.25
			holding_build_speed = 0.25
			county_opinion_add = 5
		}
	}

	tenet_sun_worship = {
		icon = core_tenet_sun_worship

		piety_cost = {
			value = faith_tenet_cost_mid

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_sun_worship }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

#		is_shown = {
#			OR = {
#				religion_tag = zunism_religion
#				has_doctrine = tenet_sun_worship #If you already have it
#				AND = {
#					religion_tag = hinduism_religion
#					this = faith:saura #If you're into Saurism
#				}
#				
#			}
#		}

		parameters = {
			summer_festivals_active = yes
			trial_by_sun_active = yes
		}

		character_modifier = {
			short_reign_duration_mult = -0.25
			monthly_piety_gain_per_legitimacy_level_add = 0.2
			farmlands_development_growth_factor = 0.2
			desert_development_growth_factor = 0.2
			drylands_development_growth_factor = 0.2
		}

		piety_cost = faith_tenet_cost_mid
	}

	tenet_warmonger = {
		icon = core_tenet_warmonger
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
						religion_tag = taoism_religion
					}
				}
				value = faith_tenet_cost_massive
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_warmonger }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOR = {
				OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
				religion_tag = islam_religion
				religion_tag = judaism_religion
#				religion_tag = dualism_religion
			}
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = { doctrine:tenet_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_dharmic_pacifism_trigger
				NOT = { doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			warmonger = yes
			conquest_cb_enabled = yes
			invasion_cb_enabled = yes
			great_holy_wars_active_if_reformed = yes
			clergy_can_fight = yes
		}
		
		character_modifier = {
			ai_war_chance = 0.5
			ai_war_cooldown = -0.25
			accolade_glory_gain_mult = 0.1
		}
	}

	tenet_gruesome_festivals = {
		name = {
			first_valid = {
				triggered_desc = {
					trigger = { religion_tag = folkgerman_religion }
					desc = tenet_gruesome_festivals_blot_name
				}
				desc = tenet_gruesome_festivals_name
			}
		}

		icon = core_tenet_gruesome_festivals

		piety_cost = {
			# If you've already got human sacrifice, this is a nice and easy jump.
			if = {
				limit = { 
					has_doctrine = tenet_human_sacrifice
				}
				value = faith_tenet_cost_low
			}
			# Otherwise, follow the same pricing tiers as tenet_human_sacrifice.
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
				}
				value = faith_tenet_cost_mid
			}
			else_if = {
				limit = {
					religion_tag = hinduism_religion
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_gruesome_festivals }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			# No HumSac for Abrahamics: 'tis literally the religion-namer.
			NOR = {
				OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
				religion_tag = judaism_religion
				religion_tag = islam_religion
			}
			# And DLC required.
			has_fp1_dlc_trigger = yes
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = {
					doctrine:tenet_pacifism = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_dharmic_pacifism_trigger
				NOT = {
					doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_human_sacrifice_trigger
				NOT = {
					doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_sacrificial_ceremonies_trigger
				NOT = {
					doctrine:tenet_sacrificial_ceremonies = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			human_sacrifice_active = yes
			gruesome_festivals_active = yes
		}
	}

	tenet_cthonic_redoubts = {
		icon = core_tenet_cthonic_redoubts

#		name = {
#			first_valid = {
#				triggered_desc = {
#					trigger = {
#						religion_tag = north_african_religion
#					}
#					desc = tenet_volcanic_veneration_name
#				}
#				desc = tenet_cthonic_redoubts_name
#			}
#		}
#
#		desc = {
#			first_valid = {
#				triggered_desc = {
#					trigger = {
#						religion_tag = north_african_religion
#					}
#					desc = tenet_volcanic_veneration_desc
#				}
#				desc = tenet_cthonic_redoubts_desc
#			}
#		}

		piety_cost = {
			value = faith_tenet_cost_mid

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_cthonic_redoubts }
				multiply = faith_unchanged_doctrine_cost_mult
			}
			# Multiplier for traditional mountain-based religions or faiths.
#			if = {
#				limit = {
#					OR = {
#						this = faith:bosnian_church
#						this = faith:armenian_apostolic
#						this = faith:lamaism
#						this = faith:vajrayana
#						this = faith:mahayana
#						this = faith:haymanot
#						religion = religion:basque_religion
#						religion = religion:kushitism_religion
#						religion = religion:zunism_religion
#						religion = religion:tani_religion
#						religion = religion:qiangic_religion
#						religion = religion:bon_religion
#					}
#				}
#				multiply = faith_tenet_discount_mountain_background_value
#			}
		}

		is_shown = { always = yes }

		parameters = {
			easier_to_convert_faith_in_mountains = yes
			easier_to_convert_culture_in_same_faith_mountains = yes
			harder_to_convert_faith_away_in_mountains = yes
		}

		character_modifier = {
			mountains_attrition_mult = -0.5
			mountains_levy_size = 0.3
			mountains_advantage = 5
			desert_mountains_attrition_mult = -0.5
			desert_mountains_levy_size = 0.3
			desert_mountains_advantage = 5
		}

		piety_cost = faith_tenet_cost_mid

		traits = {
			virtues = {
				# For the Jentillaks et al.
				giant
			}
		}
	}

	tenet_household_gods = {
		icon = core_tenet_household_gods

		name = tenet_household_gods_name

		desc = tenet_household_gods_desc

		piety_cost = faith_tenet_cost_mid

		is_shown = {
			religion_tag = theomach_religion
		}

		can_pick = {
			custom_description = {
				text = rome_must_be_faithfully_restored_trigger
				has_global_variable = household_gods_tenet_unlocked
			}
		}

		parameters = {
			same_culture_conversion_bonus_active = yes
			same_faith_promote_culture_bonus_active = yes
		}

		character_modifier = {
			monthly_influence = 0.5
			ignore_opinion_of_different_faith = yes
			different_faith_county_opinion_mult = -0.1
			levy_reinforcement_rate_same_faith = 0.25
			faith_conversion_piety_cost_mult = -0.15
		}

		traits = {
			virtues = { augustus born_in_the_purple }
		}
	}

	#############################
	# Syncretic Faith Tenets	#
	#############################

	tenet_sinitic_syncretism = {
		icon = core_tenet_harmonious_society
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = buddhism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion_tag = islam_religion
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_sinitic_syncretism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			OR = {
				has_doctrine = abrahamic_hostility_doctrine
				has_doctrine = pagan_hostility_doctrine
				has_doctrine = eastern_hostility_doctrine
			}
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_gnosticism_trigger
				NOT = {
					doctrine:tenet_gnosticism = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_other_syncretism_trigger
				NOR = {
					doctrine:tenet_eastern_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_unreformed_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_christian_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_islamic_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_jewish_syncretism = { is_in_list = selected_doctrines }
				}
			}
		}
		parameters = {
			hostility_override_sinitic_hostility_doctrine = 1
			#For loc:
			is_eastern_faith_bilateral_loc_override = 1
			eastern_syncretic_actor_opinion_active = yes
			opinion_of_eastern_syncretic_recipient_opinion_active = 30 #Sync this to syncretic_mutual_opinion_bonus_value
		}
		traits = {
			virtues = { honest }
			sins = { wrathful }
		}
	}

	tenet_eastern_syncretism = {
		icon = core_tenet_eastern_syncretism
		piety_cost = {
			if = {
				limit = {
					OR = {
#						religion_tag = dualism_religion
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion_tag = islam_religion
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_eastern_syncretism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			OR = {
				has_doctrine = abrahamic_hostility_doctrine
				has_doctrine = pagan_hostility_doctrine
			}
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_gnosticism_trigger
				NOT = {
					doctrine:tenet_gnosticism = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_other_syncretism_trigger
				NOR = {
					doctrine:tenet_unreformed_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_christian_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_islamic_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_jewish_syncretism = { is_in_list = selected_doctrines }
				}
			}
		}
		parameters = {
			hostility_override_eastern_hostility_doctrine = 1
			#For loc:
			is_eastern_faith_bilateral_loc_override = 1
			eastern_syncretic_actor_opinion_active = yes
			opinion_of_eastern_syncretic_recipient_opinion_active = 30 #Sync this to syncretic_mutual_opinion_bonus_value
		}
		traits = {
			virtues = { honest }
			sins = { wrathful }
		}
	}

	tenet_unreformed_syncretism = {
		icon = core_tenet_unreformed_syncretism 
		piety_cost = {
			if = {
				limit = { doctrine:doctrine_pluralism_pluralistic = {is_in_list = selected_doctrines} }
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = { doctrine:doctrine_pluralism_fundamentalist = {is_in_list = selected_doctrines} }
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_unreformed_syncretism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}


		is_shown = {
			NOT = { has_doctrine = pagan_hostility_doctrine }
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_other_syncretism_trigger
				NOR = {
					doctrine:tenet_eastern_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_christian_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_islamic_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_jewish_syncretism = { is_in_list = selected_doctrines }
				}
			}
		}
		parameters = {
			hostility_override_unreformed_faith_doctrine = 2
			hostility_override_west_african_unreformed_faith_doctrine = 2
			unreformed_syncretic_actor_opinion_active = yes
			opinion_of_unreformed_syncretic_recipient_opinion_active = 30 #Sync this to syncretic_mutual_opinion_bonus_value
			unreformed_syncretic_conversion_malus_active = yes
		}
		traits = {
			virtues = { humble }
			sins = { arrogant }
		}
	}

	tenet_christian_syncretism = {
		icon = core_tenet_christian_syncretism

		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = islam_religion
#						religion_tag = dualism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_christian_syncretism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOT = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } }
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_other_syncretism_trigger
				NOR = {
					doctrine:tenet_eastern_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_unreformed_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_islamic_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_jewish_syncretism = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			hostility_override_special_doctrine_is_christian_faith = 2
			#For loc:
			is_christian_faith_bilateral_loc_override = 2
			# This parameter is empty; the syncretic religious trigger checks against the doctrine, as that's much clearer in tooltips and allows us to use a unified syncretic trigger per-religion rather than having bitty situational triggers.
			can_use_christian_artefacts = yes
			christian_syncretic_actor_opinion_active = yes
			opinion_of_christian_syncretic_recipient_opinion_active = 30 #Sync this to syncretic_mutual_opinion_bonus_value
		}

		traits = {
			virtues = { compassionate }
			sins = { callous sadistic }
		}
	}

	tenet_islamic_syncretism = {
		icon = core_tenet_islamic_syncretism

		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
#						religion_tag = dualism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_islamic_syncretism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOT = { religion_tag = islam_religion }
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_other_syncretism_trigger
				NOR = {
					doctrine:tenet_eastern_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_unreformed_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_christian_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_jewish_syncretism = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			hostility_override_special_doctrine_is_islamic_faith = 2
			# This parameter is empty; the syncretic religious trigger checks against the doctrine, as that's much clearer in tooltips and allows us to use a unified syncretic trigger per-religion rather than having bitty situational triggers.
			can_use_islamic_artefacts = yes
			islamic_syncretic_actor_opinion_active = yes
			opinion_of_islamic_syncretic_recipient_opinion_active = 30 #Sync this to syncretic_mutual_opinion_bonus_value
		}

		traits = {
			virtues = { generous }
			sins = { greedy arbitrary }
		}
	}

	tenet_jewish_syncretism = {
		icon = core_tenet_jewish_syncretism

		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = judaism_religion
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
#						religion_tag = dualism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_jewish_syncretism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			NOT = { religion_tag = judaism_religion }
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_other_syncretism_trigger
				NOR = {
					doctrine:tenet_eastern_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_unreformed_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_christian_syncretism = { is_in_list = selected_doctrines }
					doctrine:tenet_islamic_syncretism = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			hostility_override_special_doctrine_is_jewish_faith = 2
			# This parameter is empty; the syncretic religious trigger checks against the doctrine, as that's much clearer in tooltips and allows us to use a unified syncretic trigger per-religion rather than having bitty situational triggers.
			can_use_jewish_artefacts = yes
			jewish_syncretic_actor_opinion_active = yes
			opinion_of_jewish_syncretic_recipient_opinion_active = 30 #Sync this to syncretic_mutual_opinion_bonus_value
		}

		traits = {
			virtues = { patient }
			sins = { cynical greedy }
		}
	}

	#############################
	# Custom Faith Tenets		#
	#############################

	tenet_exaltation_of_pain = {
		icon = core_tenet_human_sacrifice

		is_shown = {}

		piety_cost = {
			if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_mid
			}
			else_if = {
				limit = {
					religion_tag = hinduism_religion

				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_exaltation_of_pain }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			torturing_prisoners_grants_piety = yes
			reduced_stress_from_torture = yes
			self_mutilation_active = yes
		}

		traits = {
			virtues = {
				sadistic
				flagellant
			}
			sins = {
				compassionate
			}
		}
	}

	tenet_natural_primitivism = {
		icon = core_tenet_natural_primitivism

		can_pick = {
			custom_description = {
				text = incompatible_with_crimes_trigger
				NOR = {
					doctrine:doctrine_adultery_women_crime = { is_in_list = selected_doctrines }
					doctrine:doctrine_homosexuality_crime = { is_in_list = selected_doctrines }
					doctrine:doctrine_adultery_men_crime = { is_in_list = selected_doctrines }
					doctrine:doctrine_witchcraft_crime = { is_in_list = selected_doctrines }
					doctrine:doctrine_deviancy_crime = { is_in_list = selected_doctrines }
				}
				OR = {
					doctrine:doctrine_kinslaying_accepted = { is_in_list = selected_doctrines }
					doctrine:doctrine_kinslaying_shunned = { is_in_list = selected_doctrines }
				}
			}
		}

		piety_cost = {
			if = {
				limit = {
					religion = religion:hinduism_religion
					religion = religion:jainism_religion
				}
				value = faith_tenet_cost_mid
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
					religion = religion:buddhism_religion
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
#					religion = religion:dualism_religion
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_natural_primitivism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			natural_primitivism_law_cost_increase = yes
		}

		character_modifier = {
			tyranny_gain_mult = 1.00
			stress_gain_mult = -0.25
			stress_loss_mult = 0.25
		}
	}

	tenet_pursuit_of_power = {
		icon = core_tenet_pursuit_of_power

		piety_cost = {
			if = {
				limit = {
					OR = {
						has_doctrine = pagan_hostility_doctrine
						religion_tag = hinduism_religion
						religion_tag = islam_religion
					}
				}
				value = faith_tenet_cost_mid
			}
			else_if = {
				limit = {
					religion_tag = judaism_religion

				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_pursuit_of_power }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = europeanist_religion
					}
					desc = tenet_pursuit_of_power_europeanist_name
				}
				desc = tenet_pursuit_of_power_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = europeanist_religion
					}
					desc = tenet_pursuit_of_power_europeanist_desc
				}
				desc = tenet_pursuit_of_power_desc
			}
		}

		parameters = {
			conquest_cb_enabled = yes
			invasion_cb_enabled = yes
		}

		character_modifier = {
			title_creation_cost_mult = -0.5
			tyranny_gain_mult = -0.5
			direct_vassal_opinion = -10
		}

		traits = {
			virtues = {
				ambitious
				disloyal
			}
			sins = {
				content
				loyal
			}
		}
	}

	tenet_ritual_cannibalism = {
		icon = core_tenet_ritual_cannibalism

		piety_cost = {
			if = {
				limit = {
					has_variable = accepted_cannibalism
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						has_doctrine = pagan_hostility_doctrine
					}
				}
				value = faith_tenet_cost_mid
			}
			else_if = {
				limit = {
					religion_tag = hinduism_religion
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_ritual_cannibalism }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		traits = {
			virtues = {
				cannibal = 2
			}
		}

		parameters = {
			cannibalism_legal = yes
		}
	}

	tenet_sacred_shadows = {
		icon = core_tenet_sacred_shadows

		piety_cost = {
			if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine

				}
				value = faith_tenet_cost_mid
			}
			else_if = {
				limit = {
					OR = {
						religion_tag = islam_religion
						religion_tag = judaism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_sacred_shadows }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		
		can_pick = {
			custom_description = {
				text = incompatible_tenet_communion_trigger
				NOT = {
					doctrine:tenet_communion = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			piety_gain_from_successful_intrigue_schemes = yes
			adherents_more_likely_to_join_schemes = yes
			tenet_unlocks_t4_bounties_for_whispers = yes
		}

		traits = {
			virtues = { deceitful }
			sins = { honest }
		}
	}

	tenet_polyamory = {
		icon = core_tenet_polyamory
		piety_cost = {
			if = {
				limit = {
					religion_tag = hinduism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					OR = {
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
						religion_tag = judaism_religion
						religion_tag = islam_religion
						religion_tag = buddhism_religion
						religion_tag = jainism_religion
					}
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_polyamory }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		can_pick = {
			custom_description = {
				text = ADULTERY_MUST_BE_FULLY_ACCEPTED
				NOR = {
					doctrine:doctrine_adultery_women_crime = { is_in_list = selected_doctrines }
					doctrine:doctrine_adultery_women_shunned = { is_in_list = selected_doctrines }
					doctrine:doctrine_adultery_men_crime = { is_in_list = selected_doctrines }
					doctrine:doctrine_adultery_men_shunned = { is_in_list = selected_doctrines }
				}
			}
		}

		parameters = {
			no_unfaithfulness_penalty_active = yes
		}
	}
	
	tenet_sacrificial_ceremonies = {
		icon = core_tenet_human_sacrifice

		name = {
			first_valid = {
				desc = tenet_sacrificial_ceremonies_name
			}
		}

		piety_cost = {
			if = {
				limit = {
					has_doctrine = tenet_human_sacrifice
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_massive
			}
			
			#We already practice sacrificial ceremonies
			if = {
				limit = { has_doctrine = tenet_sacrificial_ceremonies }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			always = no
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = { doctrine:tenet_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_dharmic_pacifism_trigger
				NOT = { doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_gruesome_festivals_trigger
				NOT = {
					doctrine:tenet_gruesome_festivals = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_human_sacrifice_trigger
				NOT = {
					doctrine:tenet_human_sacrifice = { is_in_list = selected_doctrines }
				}
			}
			custom_description = {
				text = incompatible_tenet_consolamentum_trigger
				NOT = { doctrine:tenet_consolamentum = { is_in_list = selected_doctrines } }
			}
		}

		parameters = {
			human_sacrifice_active = yes
			consolamentum_active = yes
		}

		character_modifier = {
			short_reign_duration_mult = -0.5
			ai_war_chance = 1
			ai_war_cooldown = -0.5
		}
	}
	
	tenet_megaliths = {
		icon = core_tenet_megaliths

		name = {
			first_valid = {
				desc = tenet_megaliths_name
			}
		}

		piety_cost = {
			if = {
				limit = {
					has_doctrine = tenet_natural_primitivism
				}
				value = faith_tenet_cost_low
			}
#			else_if = {
#				limit = { #Reduction in cost for Celtic Christianity because of stone circle shenanigans
#					this = faith:insular_celtic
#				}
#				value = faith_tenet_cost_mid
#			}
			else = {
				value = faith_tenet_cost_high
			}
			
			#We already practice megaliths
			if = {
				limit = { has_doctrine = tenet_megaliths }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			
		}

		can_pick = {
			
		}

		parameters = {
			can_build_megaliths = yes
		}

		character_modifier = {
			hills_development_growth_factor = 0.15
			hills_tax_mult = 0.1
			hills_levy_size = 0.3
			hills_advantage = 5
		}
	}

	#############################
	# FP3 Tenets 		#        
	#############################

	tenet_fp3_fedayeen = {
		icon = core_tenet_assassin

		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = islam_religion
					}
					desc = tenet_fp3_fedayeen_name
				}
				desc = tenet_fp3_sacred_murder_name
			}
		}

		is_shown = { }

		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = { doctrine:tenet_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_dharmic_pacifism_trigger
				NOT = { doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = fedayeen_required_doctrines_trigger
				OR = {
					doctrine:tenet_warmonger = { is_in_list = selected_doctrines }
					doctrine:tenet_unrelenting_faith = { is_in_list = selected_doctrines }
					doctrine:tenet_consolamentum = { is_in_list = selected_doctrines }
					doctrine:tenet_armed_pilgrimages = { is_in_list = selected_doctrines }
					doctrine:tenet_struggle_submission = { is_in_list = selected_doctrines } 
					doctrine:tenet_pursuit_of_power = { is_in_list = selected_doctrines }
				}
			}
		}

		piety_cost = {
			if = {
				limit = {
					AND = {
						OR = {
							has_doctrine = muhammad_succession_shia_doctrine
							has_doctrine = muhammad_succession_muhakkima_doctrine
						}
						OR = {
							has_doctrine = tenet_warmonger
							has_doctrine = tenet_unrelenting_faith
							has_doctrine = tenet_consolamentum
						}
					}

				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_fp3_fedayeen }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			master_assassin_court_position_unlocked = yes 
			death_is_glory = yes
			sanctioned_assassinations = yes
			unlock_voluntary_laampdom_faith = yes
		}

		character_modifier = {
			controlled_province_advantage = 5
			monthly_piety_gain_per_dread_add = 0.01
			prowess = 2
		}

		traits = {
			virtues = { vengeful = 1 }
			sins = { craven = 1 }
		}
	}

	tenet_communal_possessions = {
		icon = core_tenet_communism
		is_shown = {}
		can_pick = {
			always = yes
		}
		
		name = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = folkgerman_religion
					}
					desc = tenet_communal_possessions_oceanic_name
				}
				desc = tenet_communal_possessions_name
			}
		}

		desc = {
			first_valid = {
				triggered_desc = {
					trigger = {
						religion_tag = folkgerman_religion
					}
					desc = tenet_communal_possessions_oceanic_desc
				}
				desc = tenet_communal_possessions_desc
			}
		}
		
		piety_cost = {
			if = {
				limit = {
					OR = {
						has_doctrine = tenet_mendicant_preachers
						has_doctrine = tenet_gnosticism 
						OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } 
						religion_tag = zoroastrianism_religion
					}
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_high 
			}

			#Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_communal_possessions }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			piety_from_gifts_active = yes
			piety_from_marrying_lowborn_active = yes
			#allows_communal_settlement = yes
			#faith_use_farmer_republics = yes
		}

		character_modifier = {
			monthly_county_control_growth_factor = -0.2
			build_gold_cost = -0.1
			county_opinion_add = 10 
			#tyranny_gain_mult = 0.25
			#tyranny_loss_mult = -0.5
			#dread_decay_mult = 0.25
			#city_holding_build_gold_cost = -0.05
			#city_holding_holding_build_gold_cost = -0.05
		}

		traits = {
			virtues = { peasant_leader = 2 } #because communism! 
			sins = { arrogant }
		}
	}

	############################
	# TGP Tenets				#
	############################

	tenet_pure_land = {
		icon = core_tenet_pure_land
		piety_cost = {
			if = {
				limit = {
					religion_tag = buddhism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_pure_land }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		name = tenet_pure_land_name
		
		is_shown = {
		}

		parameters = {
			sanctioned_false_conversion = yes
			peasant_and_populist_factions_more_common = yes
		}

		character_modifier = {
			different_faith_opinion = -10
			stress_loss_per_prestige_level = -0.1
			stress_loss_mult = 0.35
		}

		traits = {
			sins = {
				greedy
			}
		}
	}

	tenet_no_mind = { # Zen
		icon = core_tenet_no_mind
		piety_cost = {
			if = {
				limit = {
					OR = {
						religion_tag = buddhism_religion
						religion_tag = taoism_religion
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
				}
				value = faith_tenet_cost_high
			}
			else = {
				value = faith_tenet_cost_mid
			}
		}

		name = tenet_no_mind_name
		
		is_shown = {
		}

		parameters = {
			better_artifacts = yes
			less_likely_to_become_infirm = yes
		}

		character_modifier = {
			negate_prowess_penalty_add = 5
			stress_gain_mult = -0.1
		}
	}

	tenet_mountain_worship = {
		icon = core_tenet_mountain_worship
		piety_cost = {
			if = {
				limit = {
					religion_tag = shintoism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					has_doctrine = pagan_hostility_doctrine
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_mountain_worship }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}
		
		is_shown = {
		}

		parameters = {
			mountain_trait_bonuses = yes
			piety_from_hills_and_mountains_pilgrimages = yes
		}

		character_modifier = {
			mountains_holding_construction_gold_cost = -0.35
			desert_mountains_holding_construction_gold_cost = -0.35
		}
	}
	tenet_extinction_of_dharma = {
		icon = core_tenet_extinction_of_dharma

		is_shown = {
			religion_tag = buddhism_religion
			has_tgp_dlc_trigger = yes
		}
		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = { doctrine:tenet_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_dharmic_pacifism_trigger
				NOT = { doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines } }
			}
		}

		piety_cost = {
			if = {
				limit = {
					always = no
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_extinction_of_dharma }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			hostility_same_religion = 3
			destroying_artifacts_is_pious = yes
			awaiting_the_maitreya_savior = yes
			killing_buddhists_is_pious = yes
		}

		character_modifier = {
			monthly_piety_gain_mult = -1
		}
	}
	tenet_cranial_trophies = {
		icon = core_tenet_cranial_trophies

		is_shown = {
			has_tgp_dlc_trigger = yes
		}

		piety_cost = {
			if = {
				limit = {
					always = no
				}
				value = faith_tenet_cost_low
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_cranial_trophies }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			killing_bestows_heads = yes
			decapitation_steals_prestige_as_piety = yes
		}

		character_modifier = {
			jungle_advantage = 5
			jungle_attrition_mult = -0.25
			jungle_min_combat_roll = 1
			monthly_piety_gain_per_dread_add = 0.01
			prowess = 3
		}
	}
 	tenet_pursuit_of_knowledge = {
		icon = core_tenet_pursuit_of_knowledge

		is_shown = {
			has_tgp_dlc_trigger = yes
			religion = {
				OR = {
					this = religion:buddhism_religion
					is_in_family = rf_sinitic
				}
			}
		}

		piety_cost = {
			if = {
				limit = {
					religion = religion:confucianism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion = {
						is_in_family = rf_sinitic
					}
				}
				value = faith_tenet_cost_mid
			}
			else_if = {
				limit = {
					religion = religion:buddhism_religion
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_pursuit_of_knowledge }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		traits = {
			virtues = {
				education_learning_3
				education_learning_4
				education_learning_5
				scholar
				confucian_education
			}
		}

		parameters = {
			better_study_scheme = yes
		}

		character_modifier = {
			monthly_learning_lifestyle_xp_gain_mult = 0.2
		}
	}
 	tenet_benevolent_governance = {
		icon = core_tenet_benevolent_governance

		is_shown = {
			has_tgp_dlc_trigger = yes
			religion = {
				OR = {
					this = religion:buddhism_religion
					is_in_family = rf_sinitic
				}
			}
		}

		piety_cost = {
			if = {
				limit = {
					religion = religion:confucianism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion = {
						is_in_family = rf_sinitic
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion = religion:buddhism_religion
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_benevolent_governance }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			inspections_unlocked_and_costs_piety = yes
			inspection_gives_devotion = yes
		}

		character_modifier = {
			dread_gain_mult = -0.75
		}

		traits = {
			virtues = { loyal }
			sins = { disloyal }
		}
	}
	tenet_filial_piety = {
		icon = core_tenet_filial_piety 

		is_shown = {
			has_tgp_dlc_trigger = yes
			religion = {
				OR = {
					this = religion:buddhism_religion
					is_in_family = rf_sinitic
				}
			}
		}
		can_pick = {
			always = yes
		}

		piety_cost = {
			if = {
				limit = {
					religion = religion:confucianism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion = {
						is_in_family = rf_sinitic
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion = religion:buddhism_religion
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_filial_piety }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			parents_get_hooks_on_children = yes
			children_less_likely_to_be_burdened = yes
		}

		character_modifier = {
			opinion_of_parents = 20
		}
	}
	tenet_harmonious_society = {
		icon = core_tenet_harmonious_society
		is_shown = {
			has_tgp_dlc_trigger = yes
			religion = {
				OR = {
					this = religion:buddhism_religion
					is_in_family = rf_sinitic
				}
			}
		}
		can_pick = {
			always = yes
		}

		piety_cost = {
			if = {
				limit = {
					religion = religion:confucianism_religion
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion = {
						is_in_family = rf_sinitic
					}
				}
				value = faith_tenet_cost_low
			}
			else_if = {
				limit = {
					religion = religion:buddhism_religion
				}
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_massive
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_harmonious_society }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		parameters = {
			sway_scheme_better = yes
			sway_scheme_piety = yes
			more_often_zealots = yes
		}
		
		traits = {
			virtues = { temperate }
			sins = { gluttonous }
		}
	}

	tenet_sacred_destruction = {
		icon = core_tenet_sacred_destruction

		piety_cost = {
			if = {
				limit = { has_doctrine = tenet_warmonger }
				value = faith_tenet_cost_mid
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_sacred_destruction }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			religion_tag = hinduism_religion
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_pacifism_trigger
				NOT = { doctrine:tenet_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_dharmic_pacifism_trigger
				NOT = { doctrine:tenet_dharmic_pacifism = { is_in_list = selected_doctrines } }
			}
			custom_description = {
				text = incompatible_tenet_tenet_preservation_trigger
				NOT = { doctrine:tenet_preservation = { is_in_list = selected_doctrines } }
			}
		}

		character_modifier = {
			prowess_per_piety_level = 1
			maa_damage_mult = 0.1
		}
		
		parameters = {
			successful_sieges_give_piety = yes
		}
		
		traits = {
			virtues = { wrathful }
		}
	}
	
	tenet_preservation = {
		icon = core_tenet_preservation

		piety_cost = {
			if = {
				limit = { has_doctrine = tenet_sanctity_of_nature }
				value = faith_tenet_cost_massive
			}
			else = {
				value = faith_tenet_cost_high
			}

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_preservation }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		is_shown = {
			religion_tag = hinduism_religion
		}

		can_pick = {
			custom_description = {
				text = incompatible_tenet_tenet_sacred_destruction_trigger
				NOT = { doctrine:tenet_sacred_destruction = { is_in_list = selected_doctrines } }
			}
		}

		character_modifier = {
			church_holding_build_gold_cost = -0.15
			church_holding_holding_build_speed = -0.15
			temple_citadel_holding_holding_build_gold_cost = -0.15
			temple_citadel_holding_holding_build_speed = -0.15
		}
		
		parameters = {
			building_temples_gives_development = yes
			monastic_schools_allowed_in_every_holding_type = yes
		}
		
		traits = {
			virtues = { architect }
		}
	}
	
	tenet_takamin = {
		icon = core_tenet_bear

		is_shown = {
			has_tgp_dlc_trigger = yes
			has_doctrine = pagan_hostility_doctrine
		}
		can_pick = {
		}

		piety_cost = {
			value = faith_tenet_cost_high

			# Multiplier for keeping same tenet
			if = {
				limit = { has_doctrine = tenet_takamin }
				multiply = faith_unchanged_doctrine_cost_mult
			}
		}

		character_modifier = {
			taiga_travel_danger = taiga_high_danger_reduction
		}
		
		parameters = {
			frequent_bear_sightings = yes
			efficient_hunt_cornering = yes
			allows_bear_sacrifice = yes
			chance_to_gain_prowess_during_bear_hunts = yes
		}
		
		traits = {
			virtues = { lifestyle_hunter }
		}
	}

	#############################
	# Empty Template Tenet 		#
	#############################

	#tenets = {
	#	is_shown = {
	#		always = no
	#	}
	#	can_pick = {
	#		always = yes
	#	}

	#	piety_cost = {
	#		if = {
	#			limit = {
	#				always = no
	#			}
	#			value = faith_tenet_cost_low
	#		}
	#		else = {
	#			value = faith_tenet_cost_massive
	#		}

	#		# Multiplier for keeping same tenet
	#		if = {
	#			limit = { has_doctrine = tenets }
	#			multiply = faith_unchanged_doctrine_cost_mult
	#		}
	#	}

	#	parameters = {
	#		tenets_active = yes
	#	}

	#	character_modifier = {

	#	}

	#	traits = {
	#		virtues = { brave = 2}
	#		sins = { craven = 2}
	#	}
	#}
