equipment.Interface.SuitLoadout - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / equipment / SuitLoadout

Interface: SuitLoadout

Defined in: src/equipment/suit-loadout.ts:204

One imported suit loadout: the suit, its modifications, and the weapon at each mount.

Remarks

Every field is a frozen fact the event stated or the catalogues resolved. Read a mount with loadout.weapons.find((fitted) => fitted.mount === 'PrimaryWeapon1'); an absent one holds no weapon, which is what the game writes for an empty mount.

Properties

grade

readonly grade: EquipmentGrade

Defined in: src/equipment/suit-loadout.ts:208

The suit's grade, from its Frontier symbol.


importOutcomes

readonly importOutcomes: readonly SuitLoadoutImportOutcome[]

Defined in: src/equipment/suit-loadout.ts:244

Everything the event stated that the import left out, as ships/ship-loadout reports its own import changes.


loadoutId

readonly loadoutId: number | null

Defined in: src/equipment/suit-loadout.ts:214

The saved loadout's id, or null when the event states none.


modifications

readonly modifications: readonly FittedPersonalModification[]

Defined in: src/equipment/suit-loadout.ts:221

Each modification the catalogues resolved, in the order the event lists them. Anything the event stated and this leaves out is in importOutcomes.


modifiers

readonly modifiers: readonly PersonalModifier[]

Defined in: src/equipment/suit-loadout.ts:237

Every modifier the suit's modifications carry, ready for applyPersonalModifiers.

Remarks

A modifier here names a stat of whatever the recipe changes. Most name a suit stat; Extra Ammo Capacity names a weapon's reserveAmmo and Reduced Tool Battery Consumption names a tool's toolEnergyDrain. applyPersonalModifiers reads one stat at a time, so pass the base the stat belongs to and the rest are skipped.

Never concatenate this list with a weapon's own. FittedPersonalWeapon.modifiers already carries the suit modifiers that act on that weapon, so a joined list multiplies them in twice: the reserve of a weapon behind Extra Ammo Capacity reads 1.5× from either list alone, and 2.25× from both. Use the weapon's list for a weapon stat, and this one for a suit or tool stat.


name

readonly name: string | null

Defined in: src/equipment/suit-loadout.ts:216

The player-given loadout name, or null when the event states none.


stats

readonly stats: SuitGrade

Defined in: src/equipment/suit-loadout.ts:210

The suit's stats at grade.


suit

readonly suit: Suit

Defined in: src/equipment/suit-loadout.ts:206

The suit model.


suitId

readonly suitId: number | null

Defined in: src/equipment/suit-loadout.ts:212

The owned suit instance's id, or null when the event states none.


weapons

readonly weapons: readonly FittedPersonalWeapon[]

Defined in: src/equipment/suit-loadout.ts:239

The weapon at each occupied mount, in the order the event lists them.

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