﻿#DB NOTE: DB legends
ysmir_dragon_of_the_north = { #Legend for Ysmir
	type = db_ysmir
	quality = mythical
	is_shown = {
		has_dlc_feature = legends
		NOT = {
			has_global_variable = ysmir_dragon_of_the_north_legend
		}
		is_target_in_global_variable_list = {
			name = talos_patron_available
			target = flag:db_ysmir_dragon_of_the_north
		}
	}
	is_valid = {
		has_trait = dragonborn
		highest_held_title_tier >= tier_empire
		prestige_level >= very_high_prestige_level
	}

	chronicle = ysmir_chronicle
	chronicle_properties = {
		ancestor = root
		title = primary_title
	}
}

talos_new_deity = { #Legend for Talos
	type = db_talos
	quality = mythical
	is_shown = {
		has_dlc_feature = legends
		NOT = {
			has_global_variable = talos_new_deity_legend
		}
		is_target_in_global_variable_list = {
			name = talos_patron_available
			target = flag:db_emperor
		}
	}
	is_valid = {
		has_trait = dragonborn
		highest_held_title_tier >= tier_empire
		prestige_level >= very_high_prestige_level
		faith = { has_doctrine = doctrine_sp_dv_talos }
	}

	chronicle = talos_chronicle
	chronicle_properties = {
		religion = root.religion 
	}
}