ships.blueprint costs.Interface.BlueprintCost - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / ships/blueprint-costs / BlueprintCost

Interface: BlueprintCost

Defined in: src/ships/blueprint-costs.ts:100

What one engineering step costs — the materials it consumes and the Merc Coin billed beside them.

Remarks

Merc Coin has no credit equivalent and is not a material, so it is its own member rather than an entry in materials. Only a minority of the catalogued blueprints charge any; on every other recipe mercCoins is 0, which is a real amount rather than a missing one — a step that is catalogued at all reports both halves of its cost.

Properties

materials

readonly materials: readonly EngineeringMaterial[]

Defined in: src/ships/blueprint-costs.ts:105

Every material the step consumes. One entry per distinct material, each count already multiplied out for however many rolls the step covers.


mercCoins

readonly mercCoins: number

Defined in: src/ships/blueprint-costs.ts:115

The Merc Coin the step bills, already weighted for however many rolls the step covers, exactly as the materials counts are.

0 either where the recipe charges no currency — a minority of blueprints charge it — or where this particular step covers no grade that charges. It is therefore an amount for this step, and reading 0 as "this blueprint never charges Merc Coin" is wrong on every recipe that does.

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