########################################################################################################
# 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 = {
	opposites = {
		crusader
		valhalla_bound
		eagle_warrior
		sun_warrior
		ukkos_shield
		nyames_shield
		peruns_chosen
		romuvas_own
		ares_own
		tengri_warrior
		shaddai
		gondi_shahansha
		kailash_guardian
	}
	
	martial = 2
	combat_rating = 10 #old value: 1
	
	muslim_opinion = 5
	same_opinion_if_same_religion = 15
	
	ai_zeal = 10
	
	male_compliment = COMPL_MUJAHID
	female_compliment = COMPL_MUJAHID
}

# Muslim who has completed the Hajj
hajjaj = {
	potential = {
		religion_group = muslim
	}
	
	muslim_opinion = 5
	monthly_character_piety = 0.1
	
	male_compliment = COMPL_HAJJAJ
	female_compliment = COMPL_HAJJAJ
}

# Muslim performing hajj.
on_hajj = {
	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.2
	
	pilgrimage = yes # Will need a regent, but can still be guardian to children
	customizer = no
}


# Muslim who is schooled in Islamic jurisprudence
faqih = {
	opposites = {
		scholar
	}
	
	potential = {
		religion_group = muslim
	}
	
	learning = 3
	
	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 = {
	potential = {
		religion_group = muslim
	}
	
	muslim_opinion = 5
	
	male_compliment = COMPL_HAFIZ
	female_compliment = COMPL_HAFIZ
}

# Muslim agnatically descended from Muhammed
sayyid = {
	agnatic = yes # Always inherited from fathers
	
	opposites =  {
		mirza
	}
	
	muslim_opinion = 5
	
	male_compliment = COMPL_SAYYID
	female_compliment = COMPL_SAYYIDA
}

# Christian/Dharmic who has completed a Pilgrimage
pilgrim = {
	potential = {
		religion_group = christian
	}
	
	same_religion_opinion = 5
	monthly_character_piety = 0.1
	
	male_compliment = COMPL_PILGRIM
	female_compliment = COMPL_PILGRIM
}

# Child of a Sayyida mother (hardcoded to be passed on from Sayyid trait)
mirza = {
	muslim_opinion = 5
	
	opposites =  {
		sayyid
	}
	
	male_compliment = COMPL_MIRZA
	female_compliment = COMPL_MIRZA
}

# The character is visibly scarred from an old wound
scarred = {
	opposites = {
		scarred_mid
		scarred_high
	}
	opposite_opinion = 10
	monthly_character_prestige = 0.1
}
