Skip to content

ships.Interface.OptionalSlotSpec

github-actions[bot] edited this page Aug 26, 2026 · 74 revisions

@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.

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally