ships.Interface.ShieldInput - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / ships / ShieldInput

Interface: ShieldInput

Defined in: src/ships/shields.ts:102

Everything shieldMetrics needs about a build.

Properties

baseShieldStrength

readonly baseShieldStrength: number

Defined in: src/ships/shields.ts:109

The hull's base shield strength, in megajoules (Ship.baseShieldStrength).


boosters?

readonly optional boosters?: readonly ShieldBoosterParams[]

Defined in: src/ships/shields.ts:113

Each fitted, powered shield booster. Defaults to none.


generator?

readonly optional generator?: ShieldGeneratorParams | null

Defined in: src/ships/shields.ts:111

The fitted shield generator, or null/absent when the build has none.


hullMass

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


reinforcement?

readonly optional reinforcement?: number

Defined in: src/ships/shields.ts:125

Megajoules added flat by Guardian shield reinforcement packages (OutfittingModule.shieldAddition), summed. Defaults to 0.

Remarks

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.

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