astro.nebulae all.Variable.ALL_NEBULAE - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / astro/nebulae-all / ALL_NEBULAE

Variable: ALL_NEBULAE

const ALL_NEBULAE: readonly Nebula[]

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).

Remarks

Filter on Nebula.type to narrow it down after the fact.

Example

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'
⚠️ **GitHub.com Fallback** ⚠️