draconic = { # level by winning wars
    category = lifestyle
	martial = 5
	prowess = 5
	dread_baseline_add = 5
	health = -3.5
	stress_gain_mult = 0.1
	drowned_god_religion_opinion = -20
	old_gods_religion_opinion = -20
	faith_of_the_seven_religion_opinion = -20
	high_valyrian_opinion = 20
	attraction_opinion = - 10
	genetic = yes
	good = yes
	inherit_chance = 15
	both_parent_has_trait_inherit_chance = 75


    shown_in_ruler_designer = yes
	ruler_designer_cost = 100

	track = {
		50 = {
			stress_gain_mult = 0.15
			negate_health_penalty_add = 0.5
			drowned_god_religion_opinion = -25
			old_gods_religion_opinion = -25
			faith_of_the_seven_religion_opinion = -25
			high_valyrian_opinion = 30
			health = 0.5
			life_expectancy = 50
			years_of_fertility = 50
			martial = 5
			prowess = 10
			dread_baseline_add = 10
			attraction_opinion = -15
			monthly_dynasty_prestige = 0.1
		}
		100 = {
			drowned_god_religion_opinion = -50
			old_gods_religion_opinion = -50
			faith_of_the_seven_religion_opinion = -50
			stress_gain_mult = 0.25
			health = 1.5
			martial = 10
			prowess = 25
			dread_baseline_add = 15
			attraction_opinion = -75
			high_valyrian_opinion = 50
			close_relative_opinion = 75
			immortal = yes
			# Dummy flags — just here for loc really.
			flag = is_immortal
			flag = immortal_visuals
			flag = immortal_fertility
			flag = immortal_incapability
			no_prowess_loss_from_age = yes
			monthly_dynasty_prestige = 0.15
			knight_effectiveness_per_dread = 0.01
		}
	}

	name = {
		first_valid = {
			#Dragon
			triggered_desc = {
				trigger = {
					exists = this
					has_trait_xp = {
						trait = draconic
						value >= 100
					}
				}
				desc = trait_draconic_3
			}
			#Wyrm
			triggered_desc = {
				trigger = { 
					exists = this
					has_trait_xp = {
						trait = draconic
						value >= 50
					}
				}
				desc = trait_draconic_2
			}
			#Snake
			desc = trait_draconic_1
		}
	}

	# Loc
	desc = {
		first_valid = {
			#The trait can never go higher than the first level if it's not assigned to a character
			triggered_desc = {
				trigger = { 
					NOT = { exists = this } 
				}
				desc = trait_draconic_1_character_desc
			}
			triggered_desc = {
				trigger = { 
					has_trait_xp = {
						trait = draconic
						value >= 100
					}
				}
				desc = trait_draconic_3_character_desc
			}
			triggered_desc = {
				trigger = { 
					has_trait_xp = {
						trait = draconic
						value >= 50
					}
				}
				desc = trait_draconic_2_character_desc
			}
			desc = trait_draconic_1_character_desc
		}
	}
}