namespace = everpreg_classics

everpreg_classics.001 = { #Choice.
	type = character_event
	title = everpreg_classics.001.t
	desc = everpreg_classics.001.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = root
		animation = personality_bold
	}

	option = { #Interest in religion.
		name = everpreg_classics.001.a
		trigger = {
			NOT = { has_religion = religion:everpreg_antideleuvianism_religion }
		}
		#add_character_modifier = studying_everpreg_classics_religion_modifier
		trigger_event = everpreg_classics.002
	}
	option = { #Interest in war.
		name = everpreg_classics.001.b
		#add_character_modifier = studying_everpreg_classics_war_modifier
		trigger_event = everpreg_classics.003
	}
	option = { #Interest in government.
		name = everpreg_classics.001.c
		#add_character_modifier = studying_everpreg_classics_government_modifier
		trigger_event = everpreg_classics.004
	}
	option = { #Interest in orations.
		name = everpreg_classics.001.d
		#add_character_modifier = studying_everpreg_classics_orations_modifier
		trigger_event = everpreg_classics.005
	}
}

everpreg_classics.002 = { #Become Antideluvian.
	type = character_event
	desc = everpreg_classics.002.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = root
		animation = personality_bold
	}

	option = { #Interest in orations.
		name = everpreg_classics.002.a
		trigger = {
			NOT = { has_religion = religion:everpreg_antideleuvianism_religion }
			diplomacy >= 15
			OR = {
				learning >= 30
				has_trait = possessed_1
				has_trait = possessed_genetic
				has_trait = lunatic_1
				has_trait = lunatic_genetic
				has_trait = mystic_1
				has_trait = mystic_2
				has_trait = mystic_3
				has_trait = deviant
				has_trait = lunatic
				# has_trait = scholar
			}
		}
		if = {
			limit = { has_trait = zealous }
			remove_trait = zealous
		}
		#add_character_modifier = studying_everpreg_classics_orations_modifier
		trigger_event = everpreg_classics.006
	}

	option = { #Nevermind
		name = everpreg_classics.002.b
	}
}

everpreg_classics.003 = { #Studied War.
	type = character_event
	desc = everpreg_classics.003.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	option = {
		name = everpreg_classics.003.a

		add_character_modifier = {
			modifier = studied_everpreg_classics_war_modifier
			years = 15
		}
		add_trait = lunatic_genetic
	}
}

everpreg_classics.004 = { #Studied statecraft.
	type = character_event
	desc = everpreg_classics.004.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	option = {
		name = everpreg_classics.004.a
		add_character_modifier = {
			modifier = studied_everpreg_classics_government_modifier
			years = 15
		}
		add_trait = lunatic_genetic
	}
}

everpreg_classics.005 = { #Studied oration.
	type = character_event
	desc = everpreg_classics.005.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	option = {
		name = everpreg_classics.005.a
		add_character_modifier = {
			modifier = studied_everpreg_classics_orations_modifier
			years = 15
		}
		add_trait = lunatic_genetic
	}
}


everpreg_classics.006 = { #Studied oration.
	type = character_event
	desc = everpreg_classics.006.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = root
		animation = personality_bold
	}

	# immediate = {
	# 	add_gold = medium_gold_value
	# 	create_character = {
	# 		template = priest_character_template
	# 		location = root.location
	# 	}
	# }
	
	option = {
		name = everpreg_classics.006.a
		###Note: Consider whether I should remove "_with_conversion" to make this conversion more balanced.
		set_character_faith_with_conversion = faith:everpreg_antideleuvianism
	}
}