Skip to content

ships.Interface.LoadoutModule

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

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

Interface: LoadoutModule

Defined in: src/ships/slef.ts:132

One fitted module in a Loadout event.

Remarks

Ammunition state is not carried. A journal writes AmmoInClip and AmmoInHopper on every weapon that takes ammunition; both are dropped on import and never written back out, because they are the ship's rearm state at the instant of capture rather than part of the build — the same reason a re-export recomputes a build's credit figures by default instead of echoing the ones the capture carried. What a fitted weapon can hold is a property of the build, and ./ammunition answers it: ammunitionCapacity, or FittedModule.ammunition for a fitted one, post-engineering.

Properties

Engineering?

readonly optional Engineering?: BlueprintModuleEngineering

Defined in: src/ships/slef.ts:152

Engineering, present only when the module is modified.


Health?

readonly optional Health?: number

Defined in: src/ships/slef.ts:142

Module health, 0–1.


Item

readonly Item: string

Defined in: src/ships/slef.ts:136

The module's internal id, e.g. "int_hyperdrive_size5_class5" (lower-cased).


On?

readonly optional On?: boolean

Defined in: src/ships/slef.ts:138

Whether the module is powered on. Absent means on.


Priority?

readonly optional Priority?: number

Defined in: src/ships/slef.ts:140

The module's power-priority group (0–4).


Slot

readonly Slot: string

Defined in: src/ships/slef.ts:134

The slot it occupies, e.g. "FrameShiftDrive", "Slot07_Size5".


Value?

readonly optional Value?: number

Defined in: src/ships/slef.ts:150

What the capture says was paid for this module, in credits — net of whatever discount its owner had, and not the catalogue's list price. Absent where the capture said nothing, which is not the same as free. ShipLoadout.sourcePurchase keeps these figures as a stable record; the library's own exports quote list price.

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