equipment.Interface.SuitLoadoutImportOutcome - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / equipment / SuitLoadoutImportOutcome
Defined in: src/equipment/suit-loadout.ts:166
Something an event states that the import could not use.
An event is taken as far as the catalogues allow. Every outcome reports one entry the import left out — a weapon it does not fit, or a modification it does not apply — so the loadout holds what the catalogues answer for. The suit is the one identity a miss refuses outright, because nothing else in the event stands without it; a malformed event is refused too, and parseSuitLoadout states what it checks.
readonlyaction:"unknownWeapon"|"unknownMount"|"refusedMount"|"unknownGrade"|"unknownModification"|"refusedModification"
Defined in: src/equipment/suit-loadout.ts:180
Why the entry is left out:
-
unknownWeapon— no catalogue weapon answers toModuleName. -
unknownMount— the suit carries no mount by thatSlotName. -
refusedMount— the weapon resolves, and the mount does not take its kind: a primary weapon in the secondary mount, or the reverse. -
unknownGrade—Classis not an integer from 1 through 5, so the weapon has no stats to report. -
unknownModification— no recipe answers to the symbol. -
refusedModification— the recipe resolves, and it belongs to the other equipment: a suit recipe underWeaponMods, or a weapon recipe underSuitMods.
readonlymount:string|null
Defined in: src/equipment/suit-loadout.ts:191
The mount the event named, in its own spelling, or null for a modification on
the suit itself.
readonlysourceSymbol:string
Defined in: src/equipment/suit-loadout.ts:193
The weapon or recipe symbol the event stated.