﻿becoming_dragonborn_decision = {
	picture = { reference = "gfx/interface/illustrations/decisions/decision_misc.dds" }
	ai_check_interval = 120
	cooldown = { days = 5 }
	desc = becoming_dragonborn_decision_desc
	decision_group_type = major

	is_shown = {
		is_ai = no
		is_landed = yes
		faith = {
			OR = { #is available to faiths that worship the Divines or are otherwise part of the Divines religious sphere
				has_doctrine = doctrine_pantheon_divines
				has_doctrine = doctrine_pantheon_nord
				has_doctrine = doctrine_pantheon_redguard
				has_doctrine = doctrine_pantheon_nedic_aedra
				has_doctrine = special_doctrine_cyrodiilic_cult
			}
		}
		any_character_artifact = {
			has_artifact_modifier = aok_modifier
		}
		NOR = {
			has_trait = dragonborn
			has_character_flag = race_daedra
		}
	}
	is_valid = {
		age >= 16
		OR = {
			dynasty = { has_dynasty_perk = dragonblood_legacy_3 }
				AND = {
						OR = {
							has_trait = p_dv_akatosh
							has_trait = p_dv_talos
							}
					piety_level >= 2
					OR = {
						completely_controls =  title:c_imperial_city
						completely_controls =  title:c_balfiera
						completely_controls =  title:c_aldruhn
						completely_controls =  title:c_crystal
						completely_controls =  title:c_ivarstead
						completely_controls =  title:c_eldenroot
					}
						OR = {
							has_trait = ambitious
							has_trait = zealous
							has_trait = brave
							has_trait = just
							has_trait = diligent
							has_trait = conqueror
				}
			}
		}
	}
	effect = {
		custom_tooltip = {
			text = becoming_dragonborn_decision_effect_1
			trigger_event = { id = becoming_dragonborn.0001 }
		}
	}
	cost = {
		gold = 500
		prestige = 1000
		piety = 1000
	}
}

becoming_dragonborn_camp_decision = {
	picture = { reference = "gfx/interface/illustrations/decisions/decision_misc.dds" }
	ai_check_interval = 120
	cooldown = { days = 5 }
	desc = becoming_dragonborn_camp_decision_desc
	decision_group_type = adventurer

	is_shown = {
		is_ai = no
		is_landless_adventurer = yes
		faith = {
			OR = { #is available to faiths that worship the Divines or are otherwise part of the Divines religious sphere
				has_doctrine = doctrine_pantheon_divines
				has_doctrine = doctrine_pantheon_nord
				has_doctrine = doctrine_pantheon_redguard
				has_doctrine = doctrine_pantheon_nedic_aedra
				has_doctrine = special_doctrine_cyrodiilic_cult
			}
		}
		any_character_artifact = {
			has_artifact_modifier = aok_modifier
		}
		NOR = {
			has_trait = dragonborn
			has_character_flag = race_daedra
		}
	}
	is_valid = {
		age >= 16
		OR = {
			dynasty = { has_dynasty_perk = dragonblood_legacy_3 }
			AND = {
				OR = {
					has_trait = p_dv_akatosh
					has_trait = p_dv_talos
				}
				piety_level >= 2
				custom_tooltip = { 
					text = one_of_tower_desc_tt
					OR = {
						domicile.domicile_location.barony = title:b_white_gold
						domicile.domicile_location.barony = title:b_adamantine
						domicile.domicile_location.barony = title:b_under_skar
						domicile.domicile_location.barony = title:b_crystal
						domicile.domicile_location.barony = title:b_ivarstead
						domicile.domicile_location.barony = title:b_great_tree
					}
				}
				OR = {
					has_trait = ambitious
					has_trait = zealous
					has_trait = brave
					has_trait = just
					has_trait = diligent
					has_trait = conqueror
				}
			}
		}
	}
	effect = {
		custom_tooltip = {
			text = becoming_dragonborn_camp_decision_effect_1
			trigger_event = { id = becoming_dragonborn.0001 }
		}
	}
	cost = {
		gold = 200
		prestige = 1000
		piety = 1000
	}
}