stellar_manip_is_active = { always = yes }

has_stellar_manip_ap = { has_ascension_perk = ap_stellar_manip }

has_stellar_manip_tech_2 = { # exists solely to reduce the error log entries in hyperquasaric megaconstruction
    has_technology = tech_gigas_stellar_manip_2
}

stellar_manip_is_valid_star = {
    optimize_memory
    OR = {
        giga_is_o_star_for_megas = yes
        giga_is_b_star_for_megas = yes
        giga_is_m_giant_star_for_megas = yes
        giga_is_a_star_for_megas = yes
        giga_is_f_star_for_megas = yes
        giga_is_g_star_for_megas = yes
        giga_is_k_star_for_megas = yes
        giga_is_m_star_for_megas = yes
    }
}

stellar_manip_is_stellar_mass_harvester = {
    OR = {
        is_megastructure_type = stellar_manipulator_2
        is_megastructure_type = stellar_manipulator_o_2
    }
}

stellar_manip_is_stellar_mass_injector = {
    is_megastructure_type = stellar_manipulator_3
}
