# Supported types: character
#
# Note: if 'chance' evaluates to 0, an AI character will also abandon the focus
#


#################
# FOCUSES		#
#################

focus_ch_pride = {
	type = character
	
	modifier_name = "CHILDHOOD_FOCUS_PRIDE"
	
	potential = {
		NOT = { age = 12 }
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		age = 12
	}
	
	abort_effect = {
	}
	
	
	potential_traits = {
		haughty
		brooding
	}
}

focus_ch_humility = {
	type = character
	
	modifier_name = "CHILDHOOD_FOCUS_HUMILITY"
	
	potential = {
		NOT = { age = 12 }
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		age = 12
	}
	
	abort_effect = {
	}
	
	potential_traits = {
		timid
		affectionate
	}
}

focus_ch_duty = {
	type = character
	
	modifier_name = "CHILDHOOD_FOCUS_DUTY"
	
	potential = {
		NOT = { age = 12 }
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		age = 12
	}
	
	abort_effect = {
	}
	

	potential_traits = {
		conscientious
	}
}

focus_ch_etiquette = {
	type = character
	
	modifier_name = "CHILDHOOD_FOCUS_ETIQUETTE"
	
	potential = {
		NOT = { age = 12 }
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		age = 12
	}
	
	abort_effect = {
	}
	

	potential_traits = {
		playful
		indolent
	}
}

focus_ch_thrift = {
	type = character
	
	modifier_name = "CHILDHOOD_FOCUS_THRIFT"
	
	potential = {
		NOT = { age = 12 }
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		age = 12
	}
	
	abort_effect = {
	}
	

	potential_traits = {
		curious
		fussy
	}
}

focus_ch_faith = {
	type = character
	
	modifier_name = "CHILDHOOD_FOCUS_FAITH"
	
	potential = {
		NOT = { age = 12 }
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100
		modifier = {
			factor = 0
			is_ruler = yes
		}
		modifier = {
			factor = 0
			liege = {
				religion = ROOT
			}
		}
	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		age = 12
	}
	
	abort_effect = {
	}
	
	
	potential_traits = {
		idolizer
	}
}

focus_ch_struggle = {
	type = character
	
	modifier_name = "CHILDHOOD_FOCUS_STRUGGLE"
	
	potential = {
		NOT = { age = 12 }
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100
		modifier = {
			factor = 10
			liege = {
				is_nomadic = yes
			}
		}
		modifier = {
			factor = 20
			is_female = no
			is_feudal = yes
			male_can_hold_minor_title_trigger = yes
			top_liege = {
				government = roman_imperial_government
			}
		}
		modifier = {
			factor = 20
			is_female = yes
			is_feudal = yes
			top_liege = {
				government = roman_imperial_government
				OR = { 
					primary_title = { has_law = status_of_women_4 }
					primary_title = { has_law = enatic_cognatic_succession }
					primary_title = { has_law = enatic_succession }
					primary_title = { has_law = true_cognatic_succession }
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_equal
					culture = basque
					culture = zhangzhung
					culture = sumpa
					religion = cathar
					religion = bogomilist
					religion = messalian
					religion = mazdaki
					religion = buddhist
					religion = bon
					religion = bon_reformed
				}
			}
		}
	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		age = 12
	}
	
	abort_effect = {
	}
	

	potential_traits = {
		rowdy
		willful
	}
}

focus_ch_heritage = {
	type = character
	
	modifier_name = "CHILDHOOD_FOCUS_HERITAGE"
	
	potential = {
		NOT = { age = 12 }
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 500
		modifier = {
			factor = 0
			is_ruler = yes
		}
		modifier = {
			factor = 0
			liege = {
				culture = ROOT
				religion = ROOT
			}
		}
	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		age = 12
	}
	
	abort_effect = {
	}
	

}
