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

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

Interface: SuitLoadoutImportOutcome

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

Something an event states that the import could not use.

Remarks

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.

Properties

action

readonly action: "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 to ModuleName.
  • unknownMount — the suit carries no mount by that SlotName.
  • refusedMount — the weapon resolves, and the mount does not take its kind: a primary weapon in the secondary mount, or the reverse.
  • unknownGradeClass is 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 under WeaponMods, or a weapon recipe under SuitMods.

mount

readonly mount: 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.


sourceSymbol

readonly sourceSymbol: string

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

The weapon or recipe symbol the event stated.

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