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

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

Interface: FittedPersonalWeapon

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

One weapon an event puts on a suit mount, resolved against the weapon catalogue.

Properties

grade

readonly grade: EquipmentGrade

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

The weapon's grade, from the event's Class.


metrics

readonly metrics: PersonalWeaponMetrics

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

What the weapon does per second at this grade, with modifiers folded in.


modifications

readonly modifications: readonly FittedPersonalModification[]

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

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


modifiers

readonly modifiers: readonly PersonalModifier[]

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

Every modifier that acts on this weapon, ready for applyPersonalModifiers.

Remarks

This includes the suit's own modifiers that name a stat the weapon carries: Extra Ammo Capacity is a suit modification and multiplies a weapon's reserveAmmo, so one list answers for the weapon and a consumer does not have to know which equipment the recipe sits on. That is also why nothing is ever concatenated onto it: adding SuitLoadout.modifiers multiplies those factors in a second time.


moduleId

readonly moduleId: number | null

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

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


mount

readonly mount: PersonalMountKey

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

The mount, in the catalogue's spelling, whatever spelling the event used.


reloadSpeed

readonly reloadSpeed: boolean

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

Whether Reload Speed is fitted, which selects weapon.reloadTime.upgraded.


scope

readonly scope: boolean

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

Whether Scope is fitted, which selects weapon.scopeMagnification.upgraded.


weapon

readonly weapon: PersonalWeapon

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

The weapon.

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