country_decisions = {
	educate_heir = {
		color = { 230 126 34 }
		major = yes
		potential = {
			NOT = { government = theocracy }
			NOT = { heir_age = 20 }
			is_lesser_in_union = no
			has_heir = yes
			heir_age = 5
			NOT = {
				OR = {
					has_heir_flag = heir_started_education
					has_heir_flag = heir_finished_education
				}
			}
		}
		allow = {
			custom_trigger_tooltip = {
				tooltip = NOT_STARTED_HEIR_EDUCATION
				AND = {
					NOT = {
						has_heir_flag = heir_started_education
					}
					NOT = {
						has_heir_flag = heir_finished_education
					}
				}
			}
		}
		effect = {
			country_event = {
				id = cato_education_events_setup_hereditary.1
			}
			hidden_effect = {
				set_heir_flag = heir_started_education
			}
		}
	}
#	view_heir_education = {
#		color = { 230 126 34 }
#		major = yes
#		potential = {
#			OR = {
#				has_heir_flag = heir_started_education
#				has_heir_flag = heir_finished_education
#			}
#		}
#		allow = {
#			always = no
#		}
#		effect = {
#			if = {
#				limit = {
#					check_variable = {
#						which = heirEducationalLevel
#						value = 66
#					}
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_HIGH
#			}
#			else_if = {
#				limit = {
#					check_variable = {
#						which = heirEducationalLevel
#						value = 33
#					}
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_MEDIUM
#			}
#			else = {
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_LOW
#			}
#			if = {
#				limit = {
#					has_heir_flag = clerical_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_CLERICAL
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = administrative_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_ADMINISTRATIVE
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = scholastic_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_SCHOLASTIC
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = diplomacy_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_DIPLOMACY
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = intrigue_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_INTRIGUE
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = trade_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_TRADE
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = martial_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_MARTIAL
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = logistics_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_LOGISTICS
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = naval_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_NAVAL
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = industrial_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_INDUSTRIAL
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = colonial_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_COLONIAL
#			}
#			else_if = {
#				limit = {
#					has_heir_flag = modern_army_education
#				}
#				custom_tooltip = HEIR_EDUCATION_PROGRESS_MODERN_ARMY
#			}
#			###custom_tooltip = HEIR_EDUCATION_PROGRESS
#		}
#	}
}
