ships.Interface.ShieldGeneratorParams - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / ShieldGeneratorParams
Defined in: src/ships/shields.ts:80
The shield generator constants a strength calculation needs — all post-engineering.
An OutfittingModule record satisfies this as-is, so a catalogue entry can be
passed straight in — the six curve fields and the resistances are exactly what a
generator's record carries. optMultiplier is what a Reinforced/Thermic blueprint
moves, and optMass what Enhanced Low Power moves. A recipe names those two alone and
the four endpoints follow them, so pass the whole moved curve rather than a moved
optimum on stock endpoints. FittedModule.effectiveStats carries it already.
Every field is optional because the type accepts those records; a generator
missing any of the six curve fields cannot be placed on the curve at all, and
raises no shield (shieldMassCurveMultiplier returns 0).
A generator that carries all six is held to the curve's shape: every value finite and
non-negative, masses strictly ordered minMass < optMass < maxMass (or all equal, for
a constant curve), multipliers strictly ordered
minMultiplier < optMultiplier < maxMultiplier (or all equal), and equal multipliers
wherever the masses are all equal. Anything else is a RangeError rather than a
plausible-looking number.
readonlyoptionalcausticResistance?:number
Defined in: src/ships/resistances.ts:94
Caustic resistance, as a fraction (negative is a weakness). Defaults to 0.
DamageResistanceParams.causticResistance
readonlyoptionalexplosiveResistance?:number
Defined in: src/ships/resistances.ts:92
Explosive resistance, as a fraction (negative is a weakness). Defaults to 0.
DamageResistanceParams.explosiveResistance
readonlyoptionalkineticResistance?:number
Defined in: src/ships/resistances.ts:88
Kinetic resistance, as a fraction (negative is a weakness). Defaults to 0.
DamageResistanceParams.kineticResistance
readonlyoptionalmaxMass?:number
Defined in: src/ships/shields.ts:86
Hull mass beyond which the generator cannot raise a shield, in tonnes.
readonlyoptionalmaxMultiplier?:number
Defined in: src/ships/shields.ts:92
Maximum strength multiplier, reached at minMass (the lightest hull).
readonlyoptionalminMass?:number
Defined in: src/ships/shields.ts:82
Hull mass at which the generator performs at maxMultiplier, in tonnes.
readonlyoptionalminMultiplier?:number
Defined in: src/ships/shields.ts:88
Minimum strength multiplier, reached at maxMass (the heaviest hull).
readonlyoptionaloptMass?:number
Defined in: src/ships/shields.ts:84
Hull mass at which the generator performs to spec, in tonnes.
readonlyoptionaloptMultiplier?:number
Defined in: src/ships/shields.ts:90
Strength multiplier at optMass.
readonlyoptionalthermalResistance?:number
Defined in: src/ships/resistances.ts:90
Thermal resistance, as a fraction (negative is a weakness). Defaults to 0.