stmp_is_valid_star = {
	optimize_memory
	OR = {
		giga_is_o_star_for_megas = yes
		is_planet_class = pc_b_star
		is_planet_class = pc_m_giant_star
		is_planet_class = pc_a_star
		is_planet_class = pc_f_star
		is_planet_class = pc_g_star
		is_planet_class = pc_k_star
		is_planet_class = pc_m_star
		is_planet_class = pc_gigaignited_star

	}
}
stellarm_is_an_infusion_situation = {
	optimize_memory
OR = {
	is_situation_type = situation_stellar_infusion

}


}
stellarm_is_extraction_type_megastructure = {
	optimize_memory
	OR = {
		is_megastructure_type = stellar_harvester_on
		# is_megastructure_type = stellar_harvester_off
		is_megastructure_type = stellar_manipulator_2
		is_megastructure_type = stellar_manipulator_o_2
	}
}
stellarm_is_infusion_type_megastructure = {
	optimize_memory
	OR = {
		is_megastructure_type = stellar_manipulator_on
		# is_megastructure_type = stellar_manipulator_off
		is_megastructure_type = stellar_manipulator_3
	}
}

giga_is_o_star_for_megas = {
	optimize_memory
	or = {
		is_planet_class = pc_giga_o_star
		is_planet_class = pc_o_star
		is_planet_class = pc_o_super_star
		is_planet_class = pc_o_hyper_star
	}
}
