ships.modules core.Variable.CORE_MODULES - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships/modules-core / CORE_MODULES
constCORE_MODULES: readonlyOutfittingModule[]
Defined in: src/ships/modules-core.ts:38
Every core internal module, in Frontier's registry order.
Every record has category: 'core', added from the file it was read from
rather than repeated on every record. To keep the other three categories out of
your bundle, search this array directly — CORE_MODULES.find((m) => m.symbol.toLowerCase() === wanted), lower-cased because a journal's symbols are —
rather than with the lookups in ./modules, which default to the whole catalogue.
import { CORE_MODULES } from '@elite-dangerous-almanac/core/ships/modules-core';
CORE_MODULES.find((m) => m.symbol === 'Int_Powerplant_Size3_Class5')?.rating; // -> 'A'