# 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
			is_nomadic = yes
		}
	}
	
	# 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 = {
		educator = {
			OR = {
				NOT = { culture = FROM }
				NOT = { religion = FROM }
			}
		}
	}
	
	# 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 = {
	}
	

}
