ships.Interface.LoadoutEvent - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Interface: LoadoutEvent

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

A journal Loadout event — the data half of a SLEF entry.

Remarks

Only Ship and Modules are strictly required by SLEF; every other field is optional. Masses are in tonnes, ranges in light-years, values in credits.

event, timestamp, ShipID, HullHealth and Hot are deliberately outside the durable loadout shape. They name the journal line, or describe the capture or the ship instance/state, rather than its fit, so ShipLoadout.fromLoadout drops them and subsequent loadout/SLEF exports never write them. A tolerant parse still accepts an input object carrying those keys.

Properties

CargoCapacity?

readonly optional CargoCapacity?: number

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

Cargo rack capacity, in tonnes.


event?

readonly optional event?: string

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

"Loadout" when a journal line supplied it. Accepted on input, never written.


FuelCapacity?

readonly optional FuelCapacity?: object

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

Fuel-tank capacities, in tonnes.

Main

readonly Main: number

Reserve

readonly Reserve: number


HullValue?

readonly optional HullValue?: number

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

Hull cost in credits.


MaxJumpRange?

readonly optional MaxJumpRange?: number

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

The exporter's own best single-jump range, in light-years.


Modules

readonly Modules: readonly LoadoutModule[]

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

Every fitted module.


ModulesValue?

readonly optional ModulesValue?: number

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

Fitted-modules cost in credits.


Rebuy?

readonly optional Rebuy?: number

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

Insurance rebuy cost in credits.


Ship

readonly Ship: string

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

The hull's internal id, e.g. "explorer_nx" (lower-cased).


ShipIdent?

readonly optional ShipIdent?: string

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

The player-given ship ID plate.


ShipName?

readonly optional ShipName?: string

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

The player-given ship name.


UnladenMass?

readonly optional UnladenMass?: number

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

Hull + modules mass with an empty tank and no cargo, in tonnes.

⚠️ **GitHub.com Fallback** ⚠️