equipment.Interface.SuitLoadout - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / equipment / SuitLoadout
Defined in: src/equipment/suit-loadout.ts:204
One imported suit loadout: the suit, its modifications, and the weapon at each mount.
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.
readonlygrade:EquipmentGrade
Defined in: src/equipment/suit-loadout.ts:208
The suit's grade, from its Frontier symbol.
readonlyimportOutcomes: readonlySuitLoadoutImportOutcome[]
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.
readonlyloadoutId:number|null
Defined in: src/equipment/suit-loadout.ts:214
The saved loadout's id, or null when the event states none.
readonlymodifications: readonlyFittedPersonalModification[]
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.
readonlymodifiers: readonlyPersonalModifier[]
Defined in: src/equipment/suit-loadout.ts:237
Every modifier the suit's modifications carry, ready for applyPersonalModifiers.
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.
readonlyname:string|null
Defined in: src/equipment/suit-loadout.ts:216
The player-given loadout name, or null when the event states none.
readonlystats:SuitGrade
Defined in: src/equipment/suit-loadout.ts:210
The suit's stats at grade.
readonlysuit:Suit
Defined in: src/equipment/suit-loadout.ts:206
The suit model.
readonlysuitId:number|null
Defined in: src/equipment/suit-loadout.ts:212
The owned suit instance's id, or null when the event states none.
readonlyweapons: readonlyFittedPersonalWeapon[]
Defined in: src/equipment/suit-loadout.ts:239
The weapon at each occupied mount, in the order the event lists them.