Skip to content

ships.Interface.HardpointBuildSlot

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

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

Interface: HardpointBuildSlot

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

A weapon hardpoint, optionally restricted to a weapon family.

Extends

Properties

core?

readonly optional core?: undefined

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

Hardpoints never name a core module function.


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 ten 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: "hardpoint"

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

Discriminator for a weapon hardpoint.


restriction?

readonly optional restriction?: "mining"

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

The weapon family this hardpoint requires, when 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

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