#everpreg Traits
everpreg_1 = {
	index = 712
# was 500

	minimum_age = 18
	health_trait = yes
	monthly_prestige = 0.1
	immortal = no
	health = -0.35
	fertility = 2.0
	diplomacy = 2
	prowess = -2
	# is_female = yes
	inherit_chance = 0
	birth = 0
	random_creation = 0

	opposites = {
		everpreg_2
		everpreg_3
	}

	ruler_designer_cost = 15

	genetic = no
	physical = yes
	good = yes

	valid_sex = female

	genetic_constraint_all = everpreg_1
	genetic_constraint_men = male_everpreg_1
	genetic_constraint_women = female_everpreg_1


	name = trait_everpreg_1

	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					NOT = { exists = this }
				}
				desc = trait_everpreg_1_desc
			}
			desc = trait_everpreg_character_1_desc
		}
	}

	compatibility = {
		deviant = @pos_compat_high
		lustful = @pos_compat_medium
		chaste = @neg_compat_medium
		celibate = @neg_compat_medium
	}

	ai_zeal = 10
	ai_energy = 20
	ai_boldness = 20

######## This is for setting up positive opinions only for antideluvian religionists, and negative opinions for non-antideluvians. Will replace zeal. ###############
#	triggered_opinion = {
#		parameter = allows_unrestricted_marriage
#		opinion_modifier = incest_intolerant
#		check_missing = yes
#		ignore_opinion_value_if_same_trait = yes
#	}
#######

}


everpreg_2 = {
	index = 713
# was 500

	minimum_age = 18
	health_trait = yes
	monthly_prestige = 0.2
	immortal = no
	health = -0.55
	fertility = 4.0
	diplomacy = 3
	prowess = -6
	# is_female = yes
	inherit_chance = 0
	birth = 0
	random_creation = 0

	opposites = {
		everpreg_1
		everpreg_3
	}

	ruler_designer_cost = 30

	genetic = no
	physical = yes
	good = yes

	genetic_constraint_all = everpreg_2
	genetic_constraint_men = male_everpreg_2
	genetic_constraint_women = female_everpreg_2


	valid_sex = female

	name = trait_everpreg_2

	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					NOT = { exists = this }
				}
				desc = trait_everpreg_2_desc
			}
			desc = trait_everpreg_character_2_desc
		}
	}

	compatibility = {
		deviant = @pos_compat_high
		lustful = @pos_compat_medium
		chaste = @neg_compat_medium
		celibate = @neg_compat_medium
	}

	ai_zeal = 20
	ai_energy = 20
	ai_boldness = 20

######## This is for setting up positive opinions only for antideluvian religionists, and negative opinions for non-antideluvians. Will replace zeal. ###############
#	triggered_opinion = {
#		parameter = allows_unrestricted_marriage
#		opinion_modifier = incest_intolerant
#		check_missing = yes
#		ignore_opinion_value_if_same_trait = yes
#	}
#######

}


everpreg_3 = {
	index = 714
# was 500

	minimum_age = 18
	fame = yes
	health_trait = yes
	monthly_prestige = 0.3
	same_faith_opinion = 10
	immortal = no
	health = -0.9
	fertility = 1000.0
	diplomacy = 4
	prowess = -8
	# is_female = yes
	inherit_chance = 0
	birth = 0
	random_creation = 0
	forced_portrait_age_index = 5

	opposites = {
		everpreg_1
		everpreg_2
	}

	ruler_designer_cost = 30

	genetic = no
	physical = yes
	good = yes

	genetic_constraint_all = everpreg_3
	genetic_constraint_men = male_everpreg_3
	genetic_constraint_women = female_everpreg_3


	valid_sex = female

	name = trait_everpreg_3

	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					NOT = { exists = this }
				}
				desc = trait_everpreg_3_desc
			}
			desc = trait_everpreg_character_3_desc
		}
	}

	compatibility = {
		deviant = @pos_compat_high
		lustful = @pos_compat_medium
		chaste = @neg_compat_medium
		celibate = @neg_compat_medium
	}

	ai_zeal = 50
	ai_energy = 20
	ai_boldness = 20

######## This is for setting up positive opinions only for antideluvian religionists, and negative opinions for non-antideluvians. Will replace same_faith_opinion. ###############
#	triggered_opinion = {
#		parameter = allows_unrestricted_marriage
#		opinion_modifier = incest_intolerant
#		check_missing = yes
#		ignore_opinion_value_if_same_trait = yes
#	}
#######

}


# immortality trait to try to change age during hpreg pilgrimage
hpreg_immortality = {
	index = 725

	immortal = yes
	health = 10

	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					NOT = { exists = this }
				}
				desc = trait_everpreg_immortality_desc
			}
			desc = trait_everpreg_immortality_character_desc
		}
	}
}


###Final Khan equivalent trait and descendant trait
# antideluvian version of the Savior-trait.
everpreg_saoshyant = {
	index = 715
	immortal = yes
	fame = yes
	opposites = {
		everpreg_saoshyant_descendant
	}
	diplomacy = 3
	learning = 2

	same_faith_opinion = 5

	shown_in_ruler_designer = no

	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					NOT = { exists = this }
				}
				desc = trait_everpreg_saoshyant_desc
			}
			desc = trait_everpreg_saoshyant_character_desc
		}
	}

	ai_honor = 40
	ai_zeal = 50
	ai_energy = 20
	ai_boldness = 20
}

# antideluvian version of the Divine Blood-trait.
everpreg_saoshyant_descendant = {
	index = 716
	fame = yes
	opposites = {
		everpreg_saoshyant
	}
	diplomacy = 1
	health = 0.50
	same_faith_opinion = 5

	shown_in_ruler_designer = no

	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					NOT = { exists = this }
				}
				desc = trait_everpreg_saoshyant_descendant_desc
			}
			desc = trait_everpreg_saoshyant_descendant_character_desc
		}
	}

	ai_honor = 40
	ai_zeal = 50
	ai_energy = 20
	ai_boldness = 20
}