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


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

focus_ed_diplomacy = {
	type = character
	
	modifier_name = "EDUCATION_FOCUS_DIPLOMACY"
	
	potential = {
		age = 12
		is_adult = no
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		is_adult = yes
	}
	
	abort_effect = {
	}
	
	# MODIFIERS
	diplomacy = 1
	
	good_traits = {
		affectionate
		curious
	}
	
	bad_traits = {
		willful
		fussy
	}
}

focus_ed_martial = {
	type = character
	
	modifier_name = "EDUCATION_FOCUS_MARTIAL"
	
	potential = {
		age = 12
		is_adult = no
	}
	
	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 = {
		is_adult = yes
	}
	
	abort_effect = {
	}
	
	# MODIFIERS
	martial = 1
	
	good_traits = {
		rowdy
		willful
	}
	
	bad_traits = {
		timid
		idolizer
	}
}

focus_ed_stewardship = {
	type = character
	
	modifier_name = "EDUCATION_FOCUS_STEWARDSHIP"
	
	potential = {
		age = 12
		is_adult = no
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		is_adult = yes
	}
	
	abort_effect = {
	}
	
	# MODIFIERS
	stewardship = 1
	
	good_traits = {
		brooding
		conscientious
	}
	
	bad_traits = {
		indolent
		haughty
	}
}

focus_ed_intrigue = {
	type = character
	
	modifier_name = "EDUCATION_FOCUS_INTRIGUE"
	
	potential = {
		age = 12
		is_adult = no
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		is_adult = yes
	}
	
	abort_effect = {
	}
	
	# MODIFIERS
	intrigue = 1
	
	good_traits = {
		playful
		fussy
	}
	
	bad_traits = {
		rowdy
		affectionate
	}
}

focus_ed_learning = {
	type = character
	
	modifier_name = "EDUCATION_FOCUS_LEARNING"
	
	potential = {
		age = 12
		is_adult = no
	}
	
	allow = {
	}
	
	# AI Pick chance
	chance = {
		factor = 100

	}
	
	# Focuses have no success conditions
	success = {
		always = no
	}
	
	abort = {
		is_adult = yes
	}
	
	abort_effect = {
	}
	
	# MODIFIERS
	learning = 1
	
	good_traits = {
		timid
		idolizer
	}
	
	bad_traits = {
		brooding
		playful
	}
}
