########################################################################################################
# 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 = {
	potential = { always = no }
	
	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 = { always = no }
	
	muslim_opinion = 5
	monthly_character_piety = 0.1
	
	male_compliment = COMPL_HAJJAJ
	female_compliment = COMPL_HAJJAJ
}

# Muslim performing hajj.
on_hajj = {
	potential = { always = no }
	
	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 = {
	
	
	potential = { always = no }
	
	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 = { always = no }
	
	muslim_opinion = 5
	
	male_compliment = COMPL_HAFIZ
	female_compliment = COMPL_HAFIZ
}

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

# Christian/Dharmic who has completed a Pilgrimage
pilgrim = {
	potential = { always = no }
	
	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
	
	potential = { always = no }
	
	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
}
