ships.Interface.CoreBuildSlot - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Interface: CoreBuildSlot

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

A core-internal mount, which always names the one module function it accepts.

Extends

Properties

core

readonly core: CoreSlotType

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

The core module function this mount accepts.


key

readonly key: string

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

Stable, journal-compatible slot key, e.g. "PowerPlant", "HugeHardpoint1", "TinyHardpoint2", "Slot01_Size6", "Military01", "PlanetaryApproachSuite", and on a restricted mount "LargeMiningHardpoint1", "Cargo01", "LimpetController01", "FighterBay01", "Passenger01".

Remarks

This is the string every slotKey argument takes. It is matched case-insensitively and otherwise exactly — no surrounding whitespace, no abbreviation — because a SLEF producer may lower-case the game's own identifier, as the specification's own example does. Enumerate keys with ShipLoadout.slots() rather than typing them. Note a core BuildSlot's core function name is a different string (thrusters vs the key MainEngines); see CoreSlotType.

Do not compute one. The numbering looks regular and on some hulls is not: the Anaconda's smallest optionals are Slot13_Size2 and Slot14_Size1 with no slots 11 or 12, the Type-9 Heavy starts at Slot00_Size8, the Type-7 Transporter uses the number 09 twice, and the Keelback's Slot03_Size3 sits on a size-4 mount. Such a mount carries its own name; see enumerateSlots.

Inherited from

BuildSlotBase.key


kind

readonly kind: "core"

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

Discriminator for a core-internal mount.


restriction?

readonly optional restriction?: undefined

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

Core mounts are never family-restricted.


size

readonly size: number

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

Slot size (class). Core/optional/hardpoint slots are 1–8; utility and armour use 0 placeholders because their fit rules are not size-based, while the fixed cargo hatch uses 1.

Inherited from

BuildSlotBase.size

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