Skip to content

ships.Function.getPreEngineeredJournalModifiers

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

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

Function: getPreEngineeredJournalModifiers()

getPreEngineeredJournalModifiers(variant): EngineeringModifier[]

Defined in: src/ships/pre-engineered-stats.ts:150

The journal-shaped fixed modifiers a pre-engineered variant reports when fitted.

Primitive recipe labels are translated to the labels a Loadout event uses for the variant's exact base module. A baked damage conversion is expanded into the journal's per-damage-type modifiers. Festive variants therefore resolve through the same path as every other fixed article.

Parameters

variant

PreEngineeredVariant

A pre-engineered variant.

Returns

EngineeringModifier[]

Its computable fixed modifiers in journal representation, or an empty array when its symbol is unknown or no fixed stat block is published.

Example

import { getPreEngineeredVariants } from '@elite-dangerous-almanac/core/ships/pre-engineered';
import { getPreEngineeredJournalModifiers } from '@elite-dangerous-almanac/core/ships/pre-engineered-stats';

const red = getPreEngineeredVariants('Hpt_FlakMortar_Turret_Medium')
    .find((variant) => variant.blueprintSymbol === 'Decorative_Red')!;
getPreEngineeredJournalModifiers(red);
// -> [{ Label: 'DamagePerSecond', Value: 0.17, OriginalValue: 17 }, { Label: 'Damage', Value: 0.34, OriginalValue: 34 }]

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