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

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

Interface: OptionalSlotSpec

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

One optional-internal mount in a hull's layout.

Properties

name?

readonly optional name?: string

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

The mount's own journal slot key, when the numbering rules do not reproduce it — the Anaconda's Slot14_Size1, the Type-9 Heavy's Slot00_Size8, the Keelback's Slot03_Size3. Absent when the rules are right; see enumerateSlots for which hulls carry names and why.

Remarks

The _SizeN in the key may disagree with OptionalSlotSpec.size, which is always the mount's real class — the Keelback's Slot03_Size3 names a size-4 mount. That is Frontier's own text, kept verbatim.


restriction?

readonly optional restriction?: OptionalRestriction

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

A restriction, if this mount only takes one family of modules; see OptionalRestriction.


size

readonly size: number

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

Slot size (class), 1–8.

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