ships.Interface.OptionalSlotSpec - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / OptionalSlotSpec
Defined in: src/ships/slots.ts:303
One optional-internal mount in a hull's layout.
readonlyoptionalname?: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.
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.
readonlyoptionalrestriction?:OptionalRestriction
Defined in: src/ships/slots.ts:310
A restriction, if this mount only takes one family of modules; see OptionalRestriction.
readonlysize:number
Defined in: src/ships/slots.ts:305
Slot size (class), 1–8.