ships.Interface.LoadoutModule - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / LoadoutModule
Defined in: src/ships/slef.ts:135
One fitted module in a Loadout event.
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.
readonlyoptionalEngineering?:BlueprintModuleEngineering
Defined in: src/ships/slef.ts:155
Engineering, present only when the module is modified.
readonlyoptionalHealth?:number
Defined in: src/ships/slef.ts:145
Module health, 0–1.
readonlyItem:string
Defined in: src/ships/slef.ts:139
The module's internal id, e.g. "int_hyperdrive_size5_class5" (lower-cased).
readonlyoptionalOn?:boolean
Defined in: src/ships/slef.ts:141
Whether the module is powered on. Absent means on.
readonlyoptionalPriority?:number
Defined in: src/ships/slef.ts:143
The module's power-priority group (0–4).
readonlySlot:string
Defined in: src/ships/slef.ts:137
The slot it occupies, e.g. "FrameShiftDrive", "Slot07_Size5".
readonlyoptionalValue?:number
Defined in: src/ships/slef.ts:153
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.