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

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

Interface: PowerConsumer

Defined in: src/ships/power.ts:49

One fitted module's claim on the power plant.

Properties

deployedOnly?

readonly optional deployedOnly?: boolean

Defined in: src/ships/power.ts:67

true for a module that only draws while the hardpoints are deployed — every weapon, and the utility fittings that are not always powered. Defaults to false.


draw

readonly draw: number

Defined in: src/ships/power.ts:51

Power draw, in megawatts, post-engineering. Must be finite and non-negative.


enabled?

readonly optional enabled?: boolean

Defined in: src/ships/power.ts:61

Whether the module is switched on. Defaults to true; a module switched off draws nothing.


label?

readonly optional label?: string

Defined in: src/ships/power.ts:69

Optional label for the module, ignored by the maths.


priority?

readonly optional priority?: number

Defined in: src/ships/power.ts:59

Priority group, 15, as the outfitting panel numbers them. Defaults to 1.

Remarks

The journal's Priority field is zero-based — its 0 is this 1. Values outside 15 are clamped into range.


symbol?

readonly optional symbol?: string

Defined in: src/ships/power.ts:71

Optional module symbol retained in PowerBudget.consumers.

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