
# this = country

is_plnmg_galaxy_laeder = {
    or = {
        is_galactic_emperor = yes
        is_galactic_custodian = yes
        and = {
            num_council_positions = 1
            is_part_of_galactic_council = yes
        }
    }
}

is_plnmg_galaxy_defender = {
    or = {
        has_ascension_perk = ap_defender_of_the_galaxy
        has_ascension_perk = ap_defender_of_the_galaxy_nomads
        has_civic = civic_final_defense_protocols
        is_country_type = sentinels
    }
}

is_plnmg_crisis_dominator = {
    or = {
        has_relic = r_prethoryn_queen
        has_relic = r_unbidden_warlock
        has_relic = r_contingency_core
        has_relic = r_cetanas_heart
    }
}

has_all_required_planetmega_advanced_techs = {
    has_technology = tech_planetmega_aeg_weapon
    has_technology = tech_planetmega_aeg_utility
    has_technology = tech_plnmg_nano_field_cntr
    has_technology = tech_planetmega_transfer
    has_technology = tech_planetmega_omnipotence_physics
    has_technology = tech_planetmega_omnipotence_society
    has_technology = tech_planetmega_omnipotence_engineering
    has_technology = tech_plnmg_interthought_plus
    #has_technology = tech_plnmg_ship_space_extension
}
