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

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

Interface: ValidationModule

Defined in: src/ships/loadout-validation.ts:118

One fitted module reduced to what structural validation needs.

Properties

exclusionGroup?

readonly optional exclusionGroup?: ModuleExclusionGroup

Defined in: src/ships/loadout-validation.ts:135

One-per-ship family, when the resolved module belongs to one.


fitConstraint?

readonly optional fitConstraint?: ModuleFitConstraint

Defined in: src/ships/loadout-validation.ts:128

Stable reason for fitError, when supplied by the fitting implementation.


fitError

readonly fitError: string | null

Defined in: src/ships/loadout-validation.ts:126

Why the resolved module does not fit, or null when it fits.


fitParams?

readonly optional fitParams?: Readonly<Record<string, LoadoutIssueParam>>

Defined in: src/ships/loadout-validation.ts:133

Dynamic values used by the fitting explanation. slot, symbol and constraint are reserved: validation always supplies their canonical values.


limitGroup?

readonly optional limitGroup?: "experimentalWeapon"

Defined in: src/ships/loadout-validation.ts:137

Per-ship count family this resolved module consumes, when any.


limitIncrease?

readonly optional limitIncrease?: ModuleLimitIncrease

Defined in: src/ships/loadout-validation.ts:139

Per-ship count allowance increase this resolved module grants, when any.


requiresKnownSlot?

readonly optional requiresKnownSlot?: boolean

Defined in: src/ships/loadout-validation.ts:124

Whether this entry must name one of the hull's outfitting slots.


slot

readonly slot: string

Defined in: src/ships/loadout-validation.ts:120

Slot key in the input's own spelling.


symbol

readonly symbol: string

Defined in: src/ships/loadout-validation.ts:122

Module symbol.


thrusterMaxMass?

readonly optional thrusterMaxMass?: number

Defined in: src/ships/loadout-validation.ts:151

The mass this module can still move, in tonnes — a thruster's post-engineering maxMass, and the top of its mass curve.

Remarks

Present only on the fitted thrusters, and only where their record carries the figure. Above it the curve contributes nothing and the ship does not move, which is what LoadoutValidationInput.mass is weighed against. Leave it off every other module: a shield generator's curve has a maxMass of its own and is not a limit on the build's mass.

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