﻿NCharacter = {
	# values for randomly generated characters they'll be set to BASE + random within SPAN
	
	RANDOM_CHARACTER_MIN_FERTILITY = 0.6
	RANDOM_CHARACTER_MAX_FERTILITY = 0.7

	RANDOM_CHARACTER_MIN_HEALTH = 3.8
	RANDOM_CHARACTER_MAX_HEALTH = 5.2
	RANDOM_CHARACTER_AGE_MIN_HEALTH = 2.5 # This is the minimum starting base health characters get after adjustments for age

	BASE_FERTILITY = 0.6 #CHANGED 0.5
	BASE_HEALTH = 5.0 #CHANGED 5.0
	
	MALE_ATTRACTION_CUTOFF_AGE = 60  #was 65
	FEMALE_ATTRACTION_CUTOFF_AGE = 50	#(was 50) After this age, the attraction of traits no longer have any effect



	PERCENTAGE_HOMOSEXUAL = 3.0				# chance (0-100%) of a randomly created character being homosexual
	PERCENTAGE_BISEXUAL = 4.0				# chance (0-100%) of a randomly created character being bisexual
	PERCENTAGE_ASEXUAL = 1.0				# chance (0-100%) of a randomly created character being asexual

	# How many concubines does a ruler of a given tier desire if their faith allows concubines
	DESIRED_CONCUBINES_PER_TIER = { 0 0 1 2 3 3 }
	PRESTIGE_LOSS_PER_MISSING_CONCUBINE = 0.2 # Monthly prestige loss per missing (fertile) concubine

}

NChildbirth = {
	BASE_NR_OF_CHILDREN_PER_COUPLE = { 5 5 5 5 5 5 } # Based on tier of character or parents; whichever is higher Unlanded, Baron, Count, ..., Emperor
	CHANCE_OF_LOWERED_CHILD_LIMIT = 0.2	# Chance that the child limit is lowered by 1
	EXTRA_CHILDREN_FOR_RULERS = 0 # If either character is a ruler, they get extra children
	
	CHILD_BIRTH_TO_PREGNANCY_WAIT = 1
	
	SECONDARY_SPOUSE_FERTILITY_MULTIPLIER = 1
	CONCUBINE_FERTILITY_MULTIPLIER = 1
	NOT_SPOUSE_FERTILITY_MULTIPLIER = 1
	NON_RULER_FERTILITY_MULTIPLIER = 1	# If neither parent is a ruler, resulting fertility gets multiplied by this
	FERTILITY_CHANCE_MULTIPLIER = 5.15 # Fertility is an average between the father and the mother (if the mother has 0.3 and the father 0.5, the average is 0.4), this number is then multiplied by this multiplier to produce the percentage chance of impregnation. Impregnation is checked every month. #CHANGED 4.75

	MAX_FERTILITY_CHANCE = 30

	TWIN_BONUS_MAX_AGE = 45
	TWIN_BONUS_MIN_AGE = 30

	TWIN_MOTHER_HAD_TWINS_BONUS = 0.06

	IDENTICAL_TWIN_CHANCE = 0.004

	FEMALE_CHANCE = 51

	NEWBORN_HEALTH_BASE = 2.5
	NEWBORN_HEALTH_SPAN = 2.5

	# Note that the recessive chance is checked only if inheriting it outright fails
	# Chances are in %. Values above 100% work and can make sense if there's modifiers that might reduce the chance
	ACTIVE_TRAIT_CHANCE_ACTIVE_ACTIVE = 55			# Chance of outright inheriting a genetic trait if both parents have it
	ACTIVE_TRAIT_CHANCE_ACTIVE_INACTIVE = 40		# Chance of outright inheriting a genetic trait if one parent has it, and one is carrying it recessively
	ACTIVE_TRAIT_CHANCE_ACTIVE_NONE = 25			# Chance of outright inheriting a genetic trait if one parent has it
	ACTIVE_TRAIT_CHANCE_INACTIVE_INACTIVE = 15		# Chance of outright inheriting a genetic trait if both parents are carrying it
	ACTIVE_TRAIT_CHANCE_INACTIVE_NONE = 5			# Chance of outright inheriting a genetic trait if one parent is carrying it
	INACTIVE_TRAIT_CHANCE_ACTIVE_ACTIVE = 100		# Chance of recessively inheriting a genetic trait if both parents have it. Deliberately over 100% so even if it is a bad trait, the modifiers to inheritance won't let you avoid it
	INACTIVE_TRAIT_CHANCE_ACTIVE_INACTIVE = 80		# Chance of recessively inheriting a genetic trait if one parent has it, and one is carrying it recessively
	INACTIVE_TRAIT_CHANCE_ACTIVE_NONE = 60     		# Chance of recessively inheriting a genetic trait if one parent has it
	INACTIVE_TRAIT_CHANCE_INACTIVE_INACTIVE = 45		# Chance of recessively inheriting a genetic trait if both parents are carrying it
	INACTIVE_TRAIT_CHANCE_INACTIVE_NONE = 30		# Chance of recessively inheriting a genetic trait if one parent is carrying it



	EXTRA_CHILDREN_FOR_PLAYERS = 0 # Num of extra children players can have before reaching living child limit
	EXTRA_CHILDREN_PER_EXTRA_SPOUSE = 2 # Num of extra children per spouse above one before reaching living child limit
	EXTRA_CHILDREN_PER_EXTRA_CONCUBINE = 2 # Num of extra children per concubine above one before reaching living child limit
	EXTRA_FERTILITY_FOR_FIRST_CHILD = 0.0 # Extra fertility if the couple are primary spouses and have no children together
	EXTRA_FERTILITY_FOR_FIRST_RULER_CHILD = 0.0 # Extra fertility if the couple are primary spouses and have no children together, and at least one of them is a ruler
	DIVINE_MARRIAGE_FERTILITY_MULTIPLIER = 1 # Multiplier if the couple is close or extended family and their faith allows divine marriage
	CLOSE_FAMILY_FERTILITY_MULTIPLIER = 0.8 # Multiplier if the couple is close family and their faith does not allow divine marriage
	EXTENDED_FAMILY_FERTILITY_MULTIPLIER = 1.2 # Multiplier if the couple is extended family and their faith does not allow divine marriage
	FERTILITY_IN_POOL_MULTIPLIER = 0.25	# Characters in the pool will have their fertility multiplied by this
}

NCharacterOpinion = {

	MOTHER = 25
	FATHER = 25
	SIBLING = 15
	CHILD = 25
	SPOUSE = 5
	CONCUBINE = 0
	CONCUBINIST = 0

	IS_ON_THE_COUNCIL = 5 #was 10

	DOMAIN_OVERRUN = 10 #I want to know what this means

	VIRTUOUS_TRAIT = 5
	SINFUL_TRAIT = -5
}

NPortrait = {
	PORTRAIT_MALE_ADULT_AGE = 17	# The boy -> male portrait change happens at this age
	PORTRAIT_FEMALE_ADULT_AGE = 15	# The girl -> female portrait change happens at this age
}

