astro.nebulae all.Variable.ALL_NEBULAE - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / astro/nebulae-all / ALL_NEBULAE
constALL_NEBULAE: readonlyNebula[]
Defined in: src/astro/nebulae-all.ts:38
Every catalogued nebula — the concatenation of REAL_NEBULAE,
PLANETARY_NEBULAE and PROCGEN_NEBULAE, in that order (each class sorted by
name).
Filter on Nebula.type to narrow it down after the fact.
import { ALL_NEBULAE } from '@elite-dangerous-almanac/core/astro/nebulae-all';
ALL_NEBULAE.find((n) => n.name === 'Horsehead Nebula')?.type; // -> 'real'
ALL_NEBULAE.find((n) => n.name === 'Agnairt AA-A h36')?.type; // -> 'procgen'