Skip to content

ships.Interface.ParsedSlot

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

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

Interface: ParsedSlot

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

What a journal slot key says about the mount, as parseSlotName reads it.

Properties

core?

readonly optional core?: CoreSlotType

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

For a core key, the core function it fills (MainEnginesthrusters).


kind

readonly kind: SlotKind

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

Which kind of mount the key names.


restriction?

readonly optional restriction?: SlotRestriction

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

The restriction the key implies (Military01military, LargeMiningHardpoint1mining). Frontier gives every restricted mount its own journal name, so a key alone is enough to tell.


size

readonly size: number | null

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

Slot size (class), 1–8, or null when the key does not encode one and the mount has one to encode (Radar, Military01, Cargo01, …) — the hull's layout carries the size instead.

Remarks

null is not the only "no size here" answer. A mount whose fit rules are not size-based reads 0 rather than nullTinyHardpoint1 and Armour both do, matching the size on a BuildSlot — and CargoHatch reads 1. So test parsed.size for falsiness, or against the ParsedSlot.kind you expect; === null alone treats a utility mount as a sized slot.

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