ambusher = {
	customizer = no
}
pillager = {
	customizer = no
}

has_justinian_plague = {
	is_epidemic = yes
	is_illness = yes
	
	diplomacy_penalty = -2
	martial_penalty = -3
	stewardship_penalty = -2
	intrigue_penalty = -3
	learning_penalty = -2
	
	health_penalty = -7
	
	fertility_penalty = -0.50
	
	combat_rating = -100 #old value: -10
	
	customizer = no

	male_insult_adj = INSULT_DECAYING
	female_insult_adj = INSULT_DECAYING
	child_insult_adj = INSULT_SMELLY
	
	succession_gfx = yes
}

greens_supporter = {
	martial = 1
	stewardship = 1
	monthly_character_piety = 0.1

	opposites =  {
		blues_supporter 
	}
	
	same_opinion = 10
	opposite_opinion = -20
	church_opinion = 5
	town_opinion = 5
	castle_opinion = -5
	
	customizer = no
	random = no
}

blues_supporter = {
	monthly_character_piety = 0.1
	intrigue = 1
    diplomacy = 1

	opposites =  {
		greens_supporter 
	}
	
	same_opinion = 10
	opposite_opinion = -20
	church_opinion = -5
	town_opinion = -5
	castle_opinion = 5

	customizer = no
	random = no
}

mazdeist = {
	opposites = {
		zurvanist_trait
		siyavashist
	}

	opposite_opinion = -25
	
	monthly_character_piety = 0.5
	vassal_opinion = 5	
	
	potential = { religion = zoroastrian }
	religious_branch = zoroastrian
	random = no
	religious = yes
	ruler_designer_cost = 0
}

zurvanist_trait = {
	opposites = {
		siyavashist
		mazdeist
	}

	opposite_opinion = -25
	
	learning = 3
	martial = 3
	
	potential = { religion = zoroastrian }
	religious_branch = zoroastrian
	random = no
	religious = yes
	ruler_designer_cost = 0
}

siyavashist = {
	opposites = {
		zurvanist_trait
		mazdeist
	}

	opposite_opinion = 10
	
	fertility = 0.2
	global_tax_modifier = 0.2
	tolerates_pagan_group = yes
	
	potential = { religion = zoroastrian }
	religious_branch = zoroastrian 
	
	random = no
	religious = yes
	ruler_designer_cost = 0
}

apellian = {
	monthly_character_piety = 0.25

	opposites =  {
		potitian
		synerian 
	}
	
	opposite_opinion = -50
	ai_rationality = -25
	
	customizer = no
	random = no
}

potitian = {
	monthly_character_prestige = 0.25

	opposites =  {
		potitian
		synerian 
	}
	
	opposite_opinion = -50

	customizer = no
	random = no
}

synerian = {
	monthly_character_prestige = -0.05

	opposites =  {
		potitian
		synerian 
	}
	
	opposite_opinion = -50

	customizer = no
	random = no
}

### Special Specific Traits ###

convict = {
	diplomacy = -5

	customizer = yes
}

corrupt = {
	opposites =  {
		honest
	}
	diplomacy = -3
	global_tax_modifier = 0.5

	ai_honor = -100
	ai_greed = 200
	
	male_insult_adj = INSULT_DECEITFUL
	female_insult_adj = INSULT_DECEITFUL
	child_insult_adj = INSULT_WICKED
}

legendary_leader = {
	opposites = {
		corrupt
	}

	diplomacy = 3
	martial = 3
	stewardship = 3
	learning = 3
	
	general_opinion = 15
	opposite_opinion = -5
	same_opinion = 5
	
	ai_honor = 100
	ai_ambition = 300
	ai_greed = -300
	ai_zeal = 10
}

#gothic_loyalist = {
	#potential = {
		#age = 16
		#culture = ostrogothic
	#}
	#learning = 1
	#inherit_chance = 65
	#opposites = { 
		#roman_nostalgia
	#}
	#opposite_opinion = -15
	#same_opinion = 5
#}

the_prophet = {
	
	muslim_opinion = 25
	martial = 6
	learning = 12
 
	ai_ambition = 1000

	customizer = no
	random = no
}

servant_of_assur = {
	
	same_religion_opinion = 15
 
	ai_zeal = 25
	ai_ambition = 15
	ai_rationality = -5
	ai_honor = -10

	customizer = no
	random = no
}

roman_nostalgia = {

	martial = -2
	learning = 3
	
	same_opinion = 10
 
	ai_rationality = 20 #Careful to declare war
	ai_honor = 20 #See themselves as very honorable
	ai_ambition = -15 #More rarely declare war and more likely to build up infrastructure

	customizer = yes
	random = yes
	ruler_designer_cost = 20
}

nasrani = {
	opposites = {
		kshatriya
		vaishya
		brahmin 
	}
	
	#caste_tier = 3 #Conflicts with brahmin

	tolerates_christian = yes
	tolerates_indian_group = yes

	monthly_character_piety = 0.1

	learning = 1

	customizer = no
	random = no
}

newsalem = {
	monthly_character_prestige = 4
	monthly_character_piety = 2
	customizer = no
	random = no
	#priest = yes

	learning = 4

	potential = {
		religion = melchisedechianism
	}

	male_compliment = COMPL_MELCH_EARTH
	female_compliment = COMPL_MELCH_EARTH
	
	male_insult_adj = INSULT_MELCH_CAWING
	female_insult_adj = INSULT_MELCH_CAWING

	male_insult = INSULT_HERESIARCH
	female_insult = INSULT_HERESIARCH

	child_insult = INSULT_DESERT_RAT

	same_religion_opinion = 35
}

spawn_of_newsalem = {  ## all kids of restorer of K_MELCHISIDECHIANISM get it
	monthly_character_prestige = 0.25
	monthly_character_piety = 0.25
	customizer = no
	random = no
	agnatic = yes
	enatic = yes #trying to make like Saoyshant's Kid Trait

	opposites = {
		mystic
	}

	male_compliment = SALEMITE
	female_compliment = SALEMITE

	male_compliment_adj = COMPL_MELCH_SPAWN
	female_compliment_adj = COMPL_MELCH_SPAWN

	male_insult = INSULT_DESERT_RAT
	female_insult = INSULT_DESERT_RAT

	child_insult = INSULT_MELCH_KID

	same_religion_opinion = 5
}

enarei = {
	monthly_character_piety = 0.10
	learning = 1
	stewardship = 1
	fertility = 0.1
	scythian_pagan_reformed_opinion = 50
	scythian_pagan_opinion = 50

	customizer = no
	random = no
}

sympathy_hypsistarian = {
	opposites =  {
		zealous
	}
	
	potential = {
		NOT = { religion_group = bosporan_group }
	}

	tolerates_bosporan_group = yes	# Tolerates and is tolerated by Hypsistarians

	same_opinion_if_same_religion = 5

	customizer = no
	random = no

	male_insult = INSULT_LOVER_OF_HEATHENS
	female_insult = INSULT_LOVER_OF_HEATHENS
	male_insult_adj = INSULT_UNPRINCIPLED
	female_insult_adj = INSULT_UNPRINCIPLED
	child_insult_adj = INSULT_STUPID
}

bad_priest_donatism = {
	religious = yes

	potential = {
		OR = {
			is_theocracy = yes
			is_ruler = no
		}
		religion = donatism
	}

	can_hold_titles = no
	
	same_religion_opinion = -100
	church_opinion = -100
	
	vice = yes

	monthly_character_piety = -2

	ai_honor = -5
	ai_zeal = -10

	customizer = no
	random = no

	male_insult = INSULT_EVIL
	female_insult = INSULT_EVIL
	child_insult = INSULT_EVIL
	male_insult_adj = INSULT_DECADENT
	female_insult_adj = INSULT_CORRUPT
	child_insult_adj = INSULT_STUPID
}

bad_priest_bosporan = {
	
	religious = yes

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

	church_opinion = -10
	same_opinion_if_same_religion = 25

	monthly_character_piety = -1

	customizer = no
	random = no

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

bad_priest_chinese = {
	
	religious = yes

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

	church_opinion = -10
	same_opinion_if_same_religion = 25

	monthly_character_piety = -1

	customizer = no
	random = no

	male_insult = INSULT_SCARECROW
	female_insult = INSULT_SCARECROW
	child_insult = INSULT_SCARECROW
	male_insult_adj = INSULT_USELESS
	female_insult_adj = INSULT_USELESS
	child_insult_adj = INSULT_CRUMMY
}
great_holy_warrior = {
	opposites = {
		atens_chosen
		lughs_own
		crusader
		mujahid
		valhalla_bound
		eagle_warrior
		sun_warrior
		ukkos_shield
		nyames_shield
		peruns_chosen
		romuvas_own
		ares_own
		tengri_warrior
		shaddai
		gondi_shahansha
		warrior_of_hypsistos
		follower_of_the_dao
	}
	
	martial = 2
	combat_rating = 10 #old value: 1
	
	church_opinion = 15
	same_opinion_if_same_religion = 15
	
	ai_zeal = 10
	customizer = no
	
	male_insult = INSULT_FANATIC
	female_insult = INSULT_FANATIC
	male_insult_adj = INSULT_NARROWMINDED
	female_insult_adj = INSULT_NARROWMINDED
	male_compliment_adj = COMPL_RIGHTEOUS
	female_compliment_adj = COMPL_RIGHTEOUS
}
warrior_of_hypsistos = {
	opposites = {
		atens_chosen
		lughs_own
		crusader
		mujahid
		valhalla_bound
		eagle_warrior
		sun_warrior
		ukkos_shield
		nyames_shield
		peruns_chosen
		romuvas_own
		ares_own
		tengri_warrior
		shaddai
		gondi_shahansha
		great_holy_warrior
		follower_of_the_dao
	}
	
	martial = 2
	combat_rating = 10 #old value: 1
	
	church_opinion = 15
	same_opinion_if_same_religion = 15
	
	ai_zeal = 10
	customizer = no
	
	male_insult = INSULT_FANATIC
	female_insult = INSULT_FANATIC
	male_insult_adj = INSULT_NARROWMINDED
	female_insult_adj = INSULT_NARROWMINDED
	male_compliment_adj = COMPL_RIGHTEOUS
	female_compliment_adj = COMPL_RIGHTEOUS
}
follower_of_the_dao = {
	opposites = {
		atens_chosen
		lughs_own
		crusader
		mujahid
		valhalla_bound
		eagle_warrior
		sun_warrior
		ukkos_shield
		nyames_shield
		peruns_chosen
		romuvas_own
		ares_own
		tengri_warrior
		shaddai
		gondi_shahansha
		great_holy_warrior
		warrior_of_hypsistos
	}
	
	martial = 2
	combat_rating = 10 #old value: 1
	
	church_opinion = 15
	same_opinion_if_same_religion = 15
	
	ai_zeal = 10
	customizer = no
	
	male_insult = INSULT_FANATIC
	female_insult = INSULT_FANATIC
	male_insult_adj = INSULT_NARROWMINDED
	female_insult_adj = INSULT_NARROWMINDED
	male_compliment_adj = COMPL_RIGHTEOUS
	female_compliment_adj = COMPL_RIGHTEOUS
}

# Warrior lodge traits
berber_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = desert
		light_infantry = 0.2
		light_cavalry = 0.2
	}
}
semitic_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = desert
		light_infantry = 0.2
		light_cavalry = 0.2
	}
}
balkan_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = plains
		morale_defence = 0.2
		morale_offence = 0.2
	}
}
vasconic_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = mountain
		terrain = hills
		speed = 0.1
		light_infantry = 0.2
	}
}
east_african_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = desert
		light_infantry = 0.2
		light_cavalry = 0.2
	}
}
root_west_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = mountain
		terrain = hills
		speed = 0.1
		light_infantry = 0.2
	}
}
sanamahi_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = jungle
		morale_defence = 0.2
		morale_offence = 0.2
	}
}
georgian_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = mountain
		terrain = hills
		speed = 0.1
		light_infantry = 0.2
	}
}
dravidian_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = jungle
		morale_defence = 0.2
		morale_offence = 0.2
	}
}
assyrian_leader = {
	leader = yes
	random = no
	command_modifier = {
		terrain = desert
		light_infantry = 0.2
		light_cavalry = 0.2
	}
}