ships.TypeAlias.ModuleSlot - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / ships / ModuleSlot

Type Alias: ModuleSlot

ModuleSlot = CoreSlotType | "armour"

Defined in: src/ships/slots.ts:158

The fixed mount a module is built for — OutfittingModule.slot.

Remarks

The eight core-internal mounts every hull has: the seven CoreSlotType functions plus armour, which is a fixed mount too but is sized per hull rather than by class, and so is not one of the seven.

A module carries this when it fills one particular mount and nothing else. Most do not: a hardpoint weapon, a utility fitting and an optional internal each fit any mount of their kind that is big enough, so there is no one mount to name.

Two records bend a rule each. A fuel tank bends this one — it is fuelTank and fits any optional slot as well, the one module built for two kinds of mount. The Guardian Hybrid power plants and distributors bend "a core module lives in CORE_MODULES": they carry powerPlant / powerDistributor from INTERNAL_MODULES, which is where Frontier's registry files them.

⚠️ **GitHub.com Fallback** ⚠️