
#Use: [Root.GetAutokratorHimHer]
defined_text = {
    name = GetAutokratorHimHer

    text = {
        localisation_key = AUTOKRATOR
        trigger = {
            is_female = no
        }
    }
    text = {
        localisation_key = AUTOKRATEIRA
        trigger = {
            is_female = yes
        }
    }
}
#Use: [Root.GetBasileusHimHer]
defined_text = {
    name = GetBasileusHimHer

    text = {
        localisation_key = BASILEUS
        trigger = {
            is_female = no
        }
    }
    text = {
        localisation_key = BASILISSA
        trigger = {
            is_female = yes
        }
    }
}
#Use: [Root.GetPorphyrogennetosHimHer]
defined_text = {
    name = GetPorphyrogennetosHimHer

    text = {
        localisation_key = string_porphyrogennetos
        trigger = {
			government = roman_autocracy
            has_female_heir = no
			has_ruler_flag = byz_purple_born
        }
    }
    text = {
        localisation_key = string_porphyrogennete
        trigger = {
			government = roman_autocracy
            has_female_heir = yes
			has_ruler_flag = byz_purple_born
        }
    }
}

#Use: [Root.GetSymbasileiusHimHer]
defined_text = {
    name = GetSymbasileusHimHer

    text = {
        localisation_key = string_symbasileus
        trigger = {
			government = roman_autocracy
            has_female_heir = no
        }
    }
    text = {
        localisation_key = string_symbasilissa
        trigger = {
			government = roman_autocracy
            has_female_heir = yes
        }
    }
}
#Unused as EU4 currently only dabbles with first heir - rest is hidden
# #Use: [Root.GetDespotHimHer]
# defined_text = {
    # name = GetSecondHeirHimHer

    # text = {
        # localisation_key = string_despotes
        # trigger = {
			# government = roman_autocracy
            # has_female_heir = no
        # }
    # }
    # text = {
        # localisation_key = string_despoina
        # trigger = {
			# government = roman_autocracy
            # has_female_heir = yes
        # }
    # }
# }
# #Use: [Root.GetSymbasileiusHimHer]
# defined_text = {
    # name = GetThirdHeirHimHer

    # text = {
        # localisation_key = string_sebastokrator
        # trigger = {
			# government = roman_autocracy
            # has_female_heir = no
        # }
    # }
    # text = {
        # localisation_key = string_sebastokratorissa
        # trigger = {
			# government = roman_autocracy
            # has_female_heir = yes
        # }
    # }
# }

# #Use: [Root.GetSymbasileiusHimHer]
# defined_text = {
    # name = GetFourthHeirHimHer

    # text = {
        # localisation_key = string_kaisar
        # trigger = {
			# government = roman_autocracy
            # has_female_heir = no
        # }
    # }
    # text = {
        # localisation_key = string_kaisarissa
        # trigger = {
			# government = roman_autocracy
            # has_female_heir = yes
        # }
    # }
# }