########################################################################################################
# WARNING: IF YOU DON'T ADD NEW TRAITS LAST (IN THE LAST READ TRAIT FILE), IT WILL BREAK OLD SAVE GAMES!
########################################################################################################

# Muslim equivalent of Crusader (HARD STATUS - DO NOT REMOVE!)
mujahid = {
	customizer = no
	potential = {
		religion_group = muslim
	}
	opposites = {
		crusader
		valhalla_bound
		eagle_warrior
		sun_warrior
		ukkos_shield
		nyames_shield
		peruns_chosen
		romuvas_own
		ares_own
		tengri_warrior
		shaddai
		gondi_shahansha
		holy_crusader
	}

	martial = 1
	combat_rating = 1

	muslim_opinion = 5
	same_opinion_if_same_religion = 15
	monthly_character_piety = 0.25

	ai_zeal = 10
	
	male_compliment = COMPL_MUJAHID
	female_compliment = COMPL_MUJAHID
}


# Muslim who has completed the Hajj
hajjaj = {
	customizer = no
	potential = {
		religion_group = muslim
	}

	muslim_opinion = 5
	monthly_character_piety = 0.25
	
	male_compliment = COMPL_HAJJAJ
	female_compliment = COMPL_HAJJAJ
}

# Muslim performing hajj.
on_hajj = {
	customizer = no
	potential = {
		religion_group = muslim
		NOT = { trait = hajjaj }
	}

	cached = yes # Keep a cache of all trait holders, to use with the corresponding event trigger

	muslim_opinion = 10
	monthly_character_piety = 0.5

	pilgrimage = yes # Will need a regent, but can still be guardian to children
}


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

	potential = {
		religion_group = muslim
	}
	opposites = {
		scholar
	}

	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
}

# Muslim who has completely memorized the Qur'an
hafiz = {
	customizer = no
	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
}

# Muslim agnatically descended from Muhammed
sayyid = {
	agnatic = yes # Always inherited from fathers
	potential = {
		religion_group = muslim
	}

	opposites =  {
		mirza
	}

	muslim_opinion = 5
	monthly_character_prestige = 0.5
	
	male_compliment = COMPL_SAYYID
	female_compliment = COMPL_SAYYIDA
}

# Christian/Dharmic who has completed a Pilgrimage
pilgrim = {
	customizer = no
	potential = {
		religion_group = christian
	}

	same_religion_opinion = 5
	monthly_character_piety = 0.25
}

# Child of a Sayyida mother (hardcoded to be passed on from Sayyid trait)
mirza = {
	customizer = no
	potential = {
		religion_group = muslim
	}

	opposites =  {
		sayyid
	}
	monthly_character_prestige = 0.25
	
	male_compliment = COMPL_MIRZA
	female_compliment = COMPL_MIRZA
}

# The character is visibly scarred from an old wound
scarred = {
	monthly_character_prestige = 0.1
}
