Skip to content

ships.Function.getPreEngineeredJournalModifiers

github-actions[bot] edited this page Sep 23, 2026 · 12 revisions

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

Function: getPreEngineeredJournalModifiers()

getPreEngineeredJournalModifiers(variant): EngineeringModifier[]

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

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 it moves no stat the catalogue carries. A measured Mercenary row combines its fixed block with its baked experimental effect.

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 }]

TypeScript

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (28)
Type Aliases (6)
Variables (22)
Functions (57)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (18)
Type Aliases (9)
Variables (4)
Functions (14)
Subpath modules (2)
galaxy-map
Interfaces (1)
Variables (1)
Functions (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (23)
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 (86)
Subpath modules (8)

Clone this wiki locally