ships.Interface.ShieldInput - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / ShieldInput
Defined in: src/ships/shields.ts:102
Everything shieldMetrics needs about a build.
readonlybaseShieldStrength:number
Defined in: src/ships/shields.ts:109
The hull's base shield strength, in megajoules (Ship.baseShieldStrength).
readonlyoptionalboosters?: readonlyShieldBoosterParams[]
Defined in: src/ships/shields.ts:113
Each fitted, powered shield booster. Defaults to none.
readonlyoptionalgenerator?:ShieldGeneratorParams|null
Defined in: src/ships/shields.ts:111
The fitted shield generator, or null/absent when the build has none.
readonlyhullMass:number
Defined in: src/ships/shields.ts:107
The hull's mass, in tonnes — Ship.hullMass, not the build's unladen mass.
Shields scale with the hull alone, so fitted modules and cargo do not weaken them.
readonlyoptionalreinforcement?:number
Defined in: src/ships/shields.ts:125
Megajoules added flat by Guardian shield reinforcement packages
(OutfittingModule.shieldAddition), summed. Defaults to 0.
This addition is not multiplied by the generator's curve or the boosters — it is
a flat top-up, and it stands alone when the generator's curve contributes nothing,
as it does for a hull past the generator's maximum mass. With no generator
fitted it is dropped entirely, and the reported
ShieldMetrics.reinforcement is 0.