ary_remove_health_trait = {
    if = {
        limit = {
            has_trait = drunkard
        }
        remove_trait = drunkard
    }
    if = {
        limit = {
            has_trait = flagellant
        }
        remove_trait = flagellant
    }
    if = {
        limit = {
            has_trait = depressed_1
        }
        remove_trait = depressed_1
    }
    if = {
        limit = {
            has_trait = depressed_genetic
        }
        remove_trait = depressed_genetic
    }
    if = {
        limit = {
            has_trait = lunatic_1
        }
        remove_trait = lunatic_1
    }
    if = {
        limit = {
            has_trait = lunatic_genetic
        }
        remove_trait = lunatic_genetic
    }
    if = {
        limit = {
            has_trait = possessed_1
        }
        remove_trait = possessed_1
    }
    if = {
        limit = {
            has_trait = possessed_genetic
        }
        remove_trait = possessed_genetic
    }
    if = {
        limit = {
            has_trait = ill
        }
        remove_trait = ill
    }
    if = {
        limit = {
            has_trait = pneumonic
        }
        remove_trait = pneumonic
    }
    if = {
        limit = {
            has_trait = great_pox
        }
        remove_trait = great_pox
    }
    if = {
        limit = {
            has_trait = leper
        }
        remove_trait = leper
    }
    if = {
        limit = {
            has_trait = wounded_1
        }
        remove_trait = wounded_1
    }
    if = {
        limit = {
            has_trait = wounded_2
        }
        remove_trait = wounded_2
    }
    if = {
        limit = {
            has_trait = wounded_3
        }
        remove_trait = wounded_3
    }
    if = {
        limit = {
            has_trait = infirm
        }
        remove_trait = infirm
    }
    if = {
        limit = {
            has_trait = incapable
        }
        remove_trait = incapable
    }
    if = {
        limit = {
            has_trait = gout_ridden
        }
        remove_trait = gout_ridden
    }
    if = {
        limit = {
            has_trait = consumption
        }
        remove_trait = consumption
    }
    if = {
        limit = {
            has_trait = cancer
        }
        remove_trait = cancer
    }
    if = {
        limit = {
            has_trait = typhus
        }
        remove_trait = typhus
    }
    if = {
        limit = {
            has_trait = bubonic_plague
        }
        remove_trait = bubonic_plague
    }
    if = {
        limit = {
            has_trait = smallpox
        }
        remove_trait = smallpox
    }
    if = {
        limit = {
            has_trait = measles
        }
        remove_trait = measles
    }
    if = {
        limit = {
            has_trait = dysentery
        }
        remove_trait = dysentery
    }
    if = {
        limit = {
            has_trait = ergotism
        }
        remove_trait = ergotism
    }
    if = {
        limit = {
            has_trait = scarred
        }
        remove_trait = scarred
    }
    if = {
        limit = {
            has_trait = blind
        }
        remove_trait = blind
    }
    if = {
        limit = {
            has_trait = physique_bad_1
        }
        remove_trait = physique_bad_1
    }
    if = {
        limit = {
            has_trait = physique_bad_2
        }
        remove_trait = physique_bad_2
    }
    if = {
        limit = {
            has_trait = physique_bad_3
        }
        remove_trait = physique_bad_3
    }
    if = {
        limit = {
            has_trait = inbred
        }
        remove_trait = inbred
    }
    if = {
        limit = {
            has_trait = weak
        }
        remove_trait = weak
    }
    if = {
        limit = {
            has_trait = spindly
        }
        remove_trait = spindly
    }
    if = {
        limit = {
            has_trait = wheezing
        }
        remove_trait = wheezing
    }
    if = {
        limit = {
            has_trait = bleeder
        }
        remove_trait = bleeder
    }
    if = {
        limit = {
            has_trait = intellect_bad_1
        }
        remove_trait = intellect_bad_1
    }
    if = {
        limit = {
            has_trait = intellect_bad_2
        }
        remove_trait = intellect_bad_2
    }
    if = {
        limit = {
            has_trait = intellect_bad_3
        }
        remove_trait = intellect_bad_3
    }
    if = {
        limit = {
            has_trait = beauty_bad_1
        }
        remove_trait = beauty_bad_1
    }
    if = {
        limit = {
            has_trait = beauty_bad_2
        }
        remove_trait = beauty_bad_2
    }
    if = {
        limit = {
            has_trait = beauty_bad_3
        }
        remove_trait = beauty_bad_3
    }
    if = {
        limit = {
            has_trait = lisping
        }
        remove_trait = lisping
    }
    if = {
        limit = {
            has_trait = scaly
        }
        remove_trait = scaly
    }
    if = {
        limit = {
            has_trait = clubfooted
        }
        remove_trait = clubfooted
    }
    if = {
        limit = {
            has_trait = dwarf
        }
        remove_trait = dwarf
    }
    if = {
        limit = {
            has_trait = hunchbacked
        }
        remove_trait = hunchbacked
    }
    if = {
        limit = {
            has_trait = infertile
        }
        remove_trait = infertile
    }
    if = {
        limit = {
            has_trait = one_eyed
        }
        remove_trait = one_eyed
    }
    if = {
        limit = {
            has_trait = one_legged
        }
        remove_trait = one_legged
    }
    if = {
        limit = {
            has_trait = dull
        }
        remove_trait = dull
    }
    if = {
        limit = {
            has_trait = eunuch_1
        }
        remove_trait = eunuch_1
    }
    if = {
        limit = {
            has_trait = beardless_eunuch
        }
        remove_trait = beardless_eunuch
    }
    if = {
        limit = {
            has_trait = adulterer
        }
        remove_trait = adulterer
    }
    if = {
        limit = {
            has_trait = fornicator
        }
        remove_trait = fornicator
    }
    if = {
        limit = {
            has_trait = deviant
        }
        remove_trait = deviant
    }
    if = {
        limit = {
            has_trait = kinslayer_1
        }
        remove_trait = kinslayer_1
    }
    if = {
        limit = {
            has_trait = kinslayer_2
        }
        remove_trait = kinslayer_2
    }
    if = {
        limit = {
            has_trait = kinslayer_3
        }
        remove_trait = kinslayer_3
    }
    if = {
        limit = {
            has_trait = incestuous
        }
        remove_trait = incestuous
    }
    if = {
        limit = {
            has_trait = sodomite
        }
        remove_trait = sodomite
    }
    if = {
        limit = {
            has_trait = excommunicated
        }
        remove_trait = excommunicated
    }
    if = {
        limit = {
            has_trait = murderer
        }
        remove_trait = murderer
    }
    if = {
        limit = {
            has_trait = comfort_eater
        }
        remove_trait = comfort_eater
    }
    if = {
        limit = {
            has_trait = contrite
        }
        remove_trait = contrite
    }
    if = {
        limit = {
            has_trait = improvident
        }
        remove_trait = improvident
    }
    if = {
        limit = {
            has_trait = inappetetic
        }
        remove_trait = inappetetic
    }
    if = {
        limit = {
            has_trait = reclusive
        }
        remove_trait = reclusive
    }
    if = {
        limit = {
            has_trait = irritable
        }
        remove_trait = irritable
    }
    if = {
        limit = {
            has_trait = rakish
        }
        remove_trait = rakish
    }
    if = {
        limit = {
            has_trait = hashishiyah
        }
        remove_trait = hashishiyah
    }
    if = {
        limit = {
            has_trait = profligate
        }
        remove_trait = profligate
    }
    if = {
        limit = {
            has_trait = impotent
        }
        remove_trait = impotent
    }
    if = {
        limit = {
            has_trait = maimed
        }
        remove_trait = maimed
    }
    if = {
        limit = {
            has_trait = disfigured
        }
        remove_trait = disfigured
    }
    if = {
        limit = {
            has_trait = burdened
        }
        remove_trait = burdened
    }
    if = {
        limit = {
            has_trait = lovers_pox
        }
        remove_trait = lovers_pox
    }
    if = {
        limit = {
            has_trait = faltering_heart
        }
        remove_trait = faltering_heart
    }
    if = {
        limit = {
            has_trait = fragile_bones
        }
        remove_trait = fragile_bones
    }
    if = {
        limit = {
            has_trait = clouded_eyes
        }
        remove_trait = clouded_eyes
    }
    if = {
        limit = {
            has_trait = withering_mind
        }
        remove_trait = withering_mind
    }
}

ary_supreme_blood_healing = {
    hidden_effect = {
        if = { limit = { has_trait = faltering_heart } remove_trait = faltering_heart }
        if = { limit = { has_trait = fragile_bones } remove_trait = fragile_bones }
        if = { limit = { has_trait = clouded_eyes } remove_trait = clouded_eyes }
        if = { limit = { has_trait = withering_mind } remove_trait = withering_mind }
        if = { limit = { has_trait = infirm } remove_trait = infirm }
        if = { limit = { has_trait = eunuch_1 } remove_trait = eunuch_1 }
        if = { limit = { has_trait = incapable } remove_trait = incapable }
        if = { limit = { has_trait = impotent } remove_trait = impotent }
        if = { limit = { has_trait = leper } remove_trait = leper }
        if = { limit = { has_trait = maimed } remove_trait = maimed }
        if = { limit = { NOT = { has_trait = ary_molten_blood } } add_trait = ary_molten_blood }
    }
}