ships.modules utility.Variable.UTILITY_MODULES - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships/modules-utility / UTILITY_MODULES
constUTILITY_MODULES: readonlyOutfittingModule[]
Defined in: src/ships/modules-utility.ts:38
Every utility-mount module, in Frontier's registry order.
Every record has category: 'utility', 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 — UTILITY_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 { UTILITY_MODULES } from '@elite-dangerous-almanac/core/ships/modules-utility';
UTILITY_MODULES.find((m) => m.familyId === 'shieldBoosters')?.symbol; // -> 'Hpt_ShieldBooster_Size0_Class1'