####################
# RELIGIOUS TRAITS
####################

ashari = {
	religious = yes # Lost immediately on religion change
	customizer = no
	random = no

	opposites = {
		mutazilite
	}

	monthly_character_piety = 1
	opposite_opinion = -30

}

bad_priest_aztec = {
	religious = yes
	customizer = no
	random = no

	potential = {
		religion_openly_aztec_or_reformed_trigger = yes

		OR = {
			controls_religion = yes
			is_theocracy = yes
			is_ruler = no
		}
	}

	monthly_character_piety = -1

	church_opinion = -10
	same_opinion_if_same_religion = 25

	male_insult = INSULT_SCARECROW
	female_insult = INSULT_SCARECROW
	child_insult = INSULT_SCARECROW
	male_insult_adj = INSULT_CORRUPT
	female_insult_adj = INSULT_CORRUPT
	child_insult_adj = INSULT_CRUMMY
}

bad_priest_christian = {
	religious = yes
	customizer = no
	random = no

	potential = {
		religion_group = christian

		OR = {
			is_theocracy = yes
			is_ruler = no
		}
	}

	monthly_character_piety = -1

	church_opinion = -10
	same_opinion_if_same_religion = 25

	male_insult = INSULT_SCARECROW
	female_insult = INSULT_SCARECROW
	child_insult = INSULT_SCARECROW
	male_insult_adj = INSULT_CORRUPT
	female_insult_adj = INSULT_CORRUPT
	child_insult_adj = INSULT_CRUMMY
}

bad_priest_muslim = {
	religious = yes
	customizer = no
	random = no

	potential = {
		controls_religion = yes
		religion_group = muslim
	}

	monthly_character_piety = -1

	church_opinion = -10
	same_opinion_if_same_religion = 25

	male_insult = INSULT_SCARECROW
	female_insult = INSULT_SCARECROW
	child_insult = INSULT_SCARECROW
	male_insult_adj = INSULT_CORRUPT
	female_insult_adj = INSULT_CORRUPT
	child_insult_adj = INSULT_CRUMMY
}

bad_priest_norse = {
	religious = yes
	customizer = no
	random = no

	potential = {
		religion_openly_norse_or_reformed_trigger = yes

		OR = {
			is_theocracy = yes
			is_ruler = no

			trigger_if = {
				limit = { controls_religion = yes }
				religion = norse_pagan_reformed
			}
		}
	}

	monthly_character_piety = -1

	church_opinion = -10
	same_opinion_if_same_religion = 25

	male_insult = INSULT_SCARECROW
	female_insult = INSULT_SCARECROW
	child_insult = INSULT_SCARECROW
	male_insult_adj = INSULT_CORRUPT
	female_insult_adj = INSULT_CORRUPT
	child_insult_adj = INSULT_CRUMMY
}

bad_priest_tengri = {
	religious = yes
	customizer = no
	random = no

	potential = {
		religion_openly_tengri_or_reformed_trigger = yes

		OR = {
			controls_religion = yes
			is_theocracy = yes
			is_ruler = no
		}
	}

	monthly_character_piety = -1

	church_opinion = -10
	same_opinion_if_same_religion = 25

	male_insult = INSULT_SCARECROW
	female_insult = INSULT_SCARECROW
	child_insult = INSULT_SCARECROW
	male_insult_adj = INSULT_CORRUPT
	female_insult_adj = INSULT_CORRUPT
	child_insult_adj = INSULT_CRUMMY
}

bad_priest_zoroastrian = {
	religious = yes
	customizer = no
	random = no

	potential = {
		religion_group = zoroastrian_group

		OR = {
			is_theocracy = yes
			is_ruler = no
		}
	}

	monthly_character_piety = -1

	church_opinion = -10
	same_opinion_if_same_religion = 25

	male_insult = INSULT_SCARECROW
	female_insult = INSULT_SCARECROW
	child_insult = INSULT_SCARECROW
	male_insult_adj = INSULT_CORRUPT
	female_insult_adj = INSULT_CORRUPT
	child_insult_adj = INSULT_CRUMMY
}

baptized_by_bishop = {
	religious = yes
	customizer = no
	random = no

	opposites = {
		baptized_by_patriarch
		baptized_by_pope
		baptized_by_satan
	}

	monthly_character_piety = 0.05
	church_opinion = 5
}

baptized_by_patriarch = { # Same as Pope, only used to prevent localization from breaking upon death.
	religious = yes
	customizer = no
	random = no

	opposites = {
		baptized_by_pope
		baptized_by_bishop
		baptized_by_satan
	}

	monthly_character_prestige = 0.05
	monthly_character_piety = 0.1
	christian_opinion = 5
}

baptized_by_pope = {
	religious = yes
	customizer = no
	random = no

	opposites = {
		baptized_by_patriarch
		baptized_by_bishop
		baptized_by_satan
	}

	monthly_character_prestige = 0.05
	monthly_character_piety = 0.1
	christian_opinion = 5
}

baptized_by_satan = { # Increases society influence output.
	customizer = no
	random = no

	opposites = {
		baptized_by_patriarch
		baptized_by_bishop
		baptized_by_pope
	}

	is_visible = {
		OR = {
			character = FROM
			society_member_of = the_satanists
		}
	}

	same_opinion = 15

	ai_zeal = -50
}

beatified = {
	religious = yes
	customizer = no
	random = no

	church_opinion = 25
}

blessed_ancestor = {
	religious = yes
	customizer = no
	random = no

	pagan_group_opinion = 50
}

bloodthirsty_gods_1 = { # 10 burned_hearts_points
	religious = yes
	customizer = yes
	random = no

	opposites = {
		bloodthirsty_gods_2
		bloodthirsty_gods_3
	}

	potential = {
		OR = {
			has_religion_feature = religion_ritual_sacrifice
			religion_openly_aztec_or_reformed_trigger = yes
		}
	}

	monthly_character_piety = 0.1

	castle_opinion = -5
	town_opinion = -5
	tribal_opinion = 5
	church_opinion = 5

	same_opinion = 5
	opposite_opinion = 5

	ai_rationality = -15
	ai_zeal = 30

	ruler_designer_cost = 10

	male_insult = INSULT_FANATIC
	female_insult = INSULT_FANATIC
	male_insult_adj = INSULT_NARROWMINDED
	female_insult_adj = INSULT_NARROWMINDED
	child_insult_adj = INSULT_NASTY
	male_compliment_adj = COMPL_RIGHTEOUS
	female_compliment_adj = COMPL_RIGHTEOUS
	child_compliment_adj = COMPL_GOOD
}

bloodthirsty_gods_2 = { # 50 burned_hearts_points
	religious = yes
	customizer = yes
	random = no

	opposites = {
		bloodthirsty_gods_1
		bloodthirsty_gods_3
	}

	potential = {
		OR = {
			has_religion_feature = religion_ritual_sacrifice
			religion_openly_aztec_or_reformed_trigger = yes
		}
	}

	monthly_character_piety = 0.2

	castle_opinion = -10
	town_opinion = -10
	tribal_opinion = 10
	church_opinion = 10

	same_opinion = 5
	opposite_opinion = 10

	ai_rationality = -30
	ai_zeal = 70

	ruler_designer_cost = 20

	male_insult = INSULT_FANATIC
	female_insult = INSULT_FANATIC
	male_insult_adj = INSULT_NARROWMINDED
	female_insult_adj = INSULT_NARROWMINDED
	child_insult_adj = INSULT_NASTY
	male_compliment_adj = COMPL_RIGHTEOUS
	female_compliment_adj = COMPL_RIGHTEOUS
	child_compliment_adj = COMPL_GOOD
}

bloodthirsty_gods_3 = { # 100 burned_hearts_points
	religious = yes
	customizer = yes
	random = no

	opposites = {
		bloodthirsty_gods_2
		bloodthirsty_gods_1
	}

	potential = {
		OR = {
			has_religion_feature = religion_ritual_sacrifice
			religion_openly_aztec_or_reformed_trigger = yes
		}
	}

	monthly_character_piety = 0.3

	castle_opinion = -15
	town_opinion = -15
	tribal_opinion = 15
	church_opinion = 15

	same_opinion = 5
	opposite_opinion = 15

	ai_rationality = -75
	ai_zeal = 100

	ruler_designer_cost = 40

	male_insult = INSULT_FANATIC
	female_insult = INSULT_FANATIC
	male_insult_adj = INSULT_NARROWMINDED
	female_insult_adj = INSULT_NARROWMINDED
	child_insult_adj = INSULT_NASTY
	male_compliment_adj = COMPL_RIGHTEOUS
	female_compliment_adj = COMPL_RIGHTEOUS
	child_compliment_adj = COMPL_GOOD
}

faqih = { # Muslim who is schooled in Islamic jurisprudence
	customizer = no
	lifestyle = yes
	religious = yes

	opposites = {
		scholar
	}

	potential = {
		religion_group = muslim
	}

	learning = 3
	stewardship = 1

	muslim_opinion = 5

	male_compliment = COMPL_FAQIH
	female_compliment = COMPL_FAQIH
	male_compliment_adj = COMPL_WISE
	female_compliment_adj = COMPL_WISE
}

hafiz = { # Muslim who has completely memorized the Qur'an
	customizer = no
	religious = yes

	potential = {
		religion_group = muslim
		NOT = { religion = druze }
	}

	learning = 2
	muslim_opinion = 5
	monthly_character_piety = 0.25

	male_compliment = COMPL_HAFIZ
	female_compliment = COMPL_HAFIZ
}

heresiarch = {
	rebel_inherited = yes
	religious = yes
	customizer = no

	combat_rating = 3 # new value!

	infidel_opinion = -15
	same_religion_opinion = 25

	male_insult = INSULT_HERESIARCH
	female_insult = INSULT_HERESIARCH
	child_insult = INSULT_PEABRAIN
}

mutazilite = {
	religious = yes # Lost immediately on religion change
	customizer = no
	random = no

	opposites = {
		ashari
	}

	learning = 5

	opposite_opinion = -30
}

saint = {
	religious = yes
	customizer = no
	random = no

	church_opinion = 100
}

saoshyant = {
	religious = yes
	customizer = no

	combat_rating = 20 # old value: 5

	zoroastrian_opinion = 10

	male_compliment = COMPL_SAOSHYANT
	female_compliment = COMPL_SAOSHYANT
}

# Ascetics
aryika = {
	religious = yes # Lost immediately on religion change
	cannot_marry = yes
	cannot_inherit = yes
	customizer = no
	random = no

	potential = {
		is_ruler = no
		is_female = yes
		religion = jain
	}

	monthly_character_piety = 0.3
	same_religion_opinion = 5

	female_compliment = COMPL_NUN
}

bhikkhu = {
	religious = yes # Lost immediately on religion change
	cannot_marry = yes
	cannot_inherit = yes
	customizer = no
	random = no

	potential = {
		is_ruler = no
		is_female = no
		religion = buddhist
	}

	monthly_character_piety = 0.3
	same_religion_opinion = 5

	male_compliment = COMPL_MONK
}

bhikkhuni = {
	religious = yes # Lost immediately on religion change
	cannot_marry = yes
	cannot_inherit = yes
	customizer = no
	random = no

	potential = {
		is_ruler = no
		is_female = yes
		religion = buddhist
	}

	monthly_character_piety = 0.3
	same_religion_opinion = 5

	female_compliment = COMPL_NUN
}

monk = {
	religious = yes # Lost immediately on religion change
	cannot_marry = yes
	cannot_inherit = yes
	customizer = no
	random = no

	potential = {
		is_ruler = no
		is_female = no
	}

	monthly_character_piety = 0.3
	same_religion_opinion = 5

	male_compliment = COMPL_MONK
}

muni = {
	religious = yes # Lost immediately on religion change
	cannot_marry = yes
	cannot_inherit = yes
	customizer = no
	random = no

	potential = {
		is_ruler = no
		is_female = no
		religion = jain
	}

	monthly_character_piety = 0.3
	same_religion_opinion = 5

	male_compliment = COMPL_MONK
}

nun = {
	religious = yes # Lost immediately on religion change
	cannot_marry = yes
	cannot_inherit = yes
	customizer = no
	random = no

	potential = {
		is_ruler = no
		is_female = yes
	}

	monthly_character_piety = 0.3
	same_religion_opinion = 5

	female_compliment = COMPL_NUN
}

sanyasi = {
	religious = yes # Lost immediately on religion change
	cannot_marry = yes
	cannot_inherit = yes
	customizer = no
	random = no

	potential = {
		is_ruler = no
		is_female = no
		religion = hindu
	}

	monthly_character_piety = 0.3
	same_religion_opinion = 5

	male_compliment = COMPL_MONK
}

sanyasini = {
	religious = yes # Lost immediately on religion change
	cannot_marry = yes
	cannot_inherit = yes
	customizer = no
	random = no

	potential = {
		is_ruler = no
		is_female = yes
		religion = hindu
	}

	monthly_character_piety = 0.3
	same_religion_opinion = 5

	female_compliment = COMPL_NUN
}

# Pagan Branches
pagan_branch_1 = {
	religious = yes
	random = no

	opposites = {
		pagan_branch_2
		pagan_branch_3
		pagan_branch_4
	}

	potential = { has_religion_feature = religion_no_leader }

	religious_branch = pagan_reformation

	christian_opinion = 10
	muslim_opinion = 10
	indian_group_opinion = 10
	jewish_group_opinion = 10
	zoroastrian_group_opinion = 10
	same_opinion_if_same_religion = 5
	opposite_opinion = -5

	ai_zeal = -30

	ruler_designer_cost = 0
}

pagan_branch_2 = {
	religious = yes
	random = no

	opposites = {
		pagan_branch_1
		pagan_branch_3
		pagan_branch_4
	}

	potential = { has_religion_feature = religion_no_leader }

	religious_branch = pagan_reformation

	monthly_character_piety = 0.25

	church_opinion = 10
	opposite_opinion = -5

	ai_zeal = 30

	ruler_designer_cost = 0
}

pagan_branch_3 = {
	religious = yes
	random = no

	opposites = {
		pagan_branch_2
		pagan_branch_1
		pagan_branch_4
	}

	potential = { has_religion_feature = religion_no_leader }

	religious_branch = pagan_reformation

	monthly_character_prestige = 0.3
	combat_rating = 10
	opposite_opinion = -5

	ai_ambition = 20

	ruler_designer_cost = 0
}

pagan_branch_4 = {
	religious = yes
	random = no

	opposites = {
		pagan_branch_2
		pagan_branch_3
		pagan_branch_1
	}

	potential = { has_religion_feature = religion_no_leader }

	religious_branch = pagan_reformation

	fertility = 0.1
	dynasty_opinion = 10
	opposite_opinion = -5

	ai_honor = 10

	ruler_designer_cost = 0
}

# Hindu Branches
shaivist_hindu = {
	religious = yes
	random = no

	opposites = {
		vaishnavist_hindu
		shaktist_hindu
		smartist_hindu
	}

	potential = { religion = hindu }

	religious_branch = hindu

	monthly_character_prestige = 0.5
	opposite_opinion = -5

	ruler_designer_cost = 0
}

shaktist_hindu = {
	religious = yes
	random = no

	opposites = {
		vaishnavist_hindu
		shaivist_hindu
		smartist_hindu
	}

	potential = { religion = hindu }

	religious_branch = hindu

	fertility = 0.2
	opposite_opinion = -5

	ruler_designer_cost = 0
}

smartist_hindu = {
	religious = yes
	random = no

	opposites = {
		vaishnavist_hindu
		shaktist_hindu
		shaivist_hindu
	}

	potential = { religion = hindu }

	religious_branch = hindu

	monthly_character_piety = 0.5
	opposite_opinion = -5

	ruler_designer_cost = 0
}

vaishnavist_hindu = {
	religious = yes
	random = no

	opposites = {
		shaivist_hindu
		shaktist_hindu
		smartist_hindu
	}

	potential = { religion = hindu }

	religious_branch = hindu

	vassal_opinion = 5
	opposite_opinion = -5

	ruler_designer_cost = 0
}

# Buddhist Branches
mahayana_buddhist = {
	religious = yes
	random = no

	opposites = {
		vajrayana_buddhist
		theravada_buddhist
	}

	potential = { religion = buddhist }

	religious_branch = buddhist

	vassal_opinion = 5
	opposite_opinion = -5

	ruler_designer_cost = 0
}

theravada_buddhist = {
	religious = yes
	random = no

	opposites = {
		vajrayana_buddhist
		mahayana_buddhist
	}

	potential = { religion = buddhist }

	religious_branch = buddhist

	learning = 1
	opposite_opinion = -5

	ruler_designer_cost = 0
}

vajrayana_buddhist = {
	religious = yes
	random = no

	opposites = {
		mahayana_buddhist
		theravada_buddhist
	}

	potential = { religion = buddhist }

	religious_branch = buddhist

	health = 1
	opposite_opinion = -5

	ruler_designer_cost = 0
}

# Jain Branches
digambara_jain = {
	religious = yes
	random = no

	opposites = {
		svetambara_jain
	}

	potential = { religion = jain }

	religious_branch = jain

	health = 1
	opposite_opinion = -5

	ruler_designer_cost = 0
}

svetambara_jain = {
	religious = yes
	random = no

	opposites = {
		digambara_jain
	}

	potential = { religion = jain }

	religious_branch = jain

	vassal_opinion = 5
	opposite_opinion = -5

	ruler_designer_cost = 0
}

# Hindu Caste System
brahmin = {
	# religious = yes
	customizer = no
	random = no

	opposites = {
		kshatriya
		vaishya
	}

	potential = {
		has_dharmic_religion_trigger = yes
	}

	caste_tier = 3

	monthly_character_piety = 0.1
}

kshatriya = {
	# religious = yes
	customizer = no
	random = no

	opposites = {
		brahmin
		vaishya
	}

	potential = {
		has_dharmic_religion_trigger = yes
	}

	caste_tier = 2

	monthly_character_prestige = 0.1
}

vaishya = {
	# religious = yes
	customizer = no
	random = no

	opposites = {
		brahmin
		kshatriya
	}

	potential = {
		has_dharmic_religion_trigger = yes
	}

	caste_tier = 1

	monthly_character_wealth = 0.03
}
