Skip to content

ships.Interface.ValidationModule

github-actions[bot] edited this page Aug 26, 2026 · 73 revisions

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

Interface: ValidationModule

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

One fitted module reduced to what structural validation needs.

Properties

exclusionGroup?

readonly optional exclusionGroup?: ModuleExclusionGroup

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

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


fitConstraint?

readonly optional fitConstraint?: ModuleFitConstraint

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

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


fitError

readonly fitError: string | null

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

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:129

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:133

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


limitIncrease?

readonly optional limitIncrease?: ModuleLimitIncrease

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

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


requiresKnownSlot?

readonly optional requiresKnownSlot?: boolean

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

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


slot

readonly slot: string

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

Slot key in the input's own spelling.


symbol

readonly symbol: string

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

Module symbol.


thrusterMaxMass?

readonly optional thrusterMaxMass?: number

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

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.

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally