DotNet.Ships.Record.BlueprintCost - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / BlueprintCost

Record: BlueprintCost

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/BlueprintCosts.cs:20

What one engineering step costs: the materials it consumes and the Merc Coin it bills.

Constructors

new BlueprintCost()

new BlueprintCost(Materials, MercCoins)

Parameters

Materials

IReadOnlyList<EngineeringMaterial>

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

MercCoins

int

The Merc Coin the step bills, weighted for its rolls exactly as the material counts are. It is zero where the recipe charges no currency, and zero where this step covers no charging grade, so reading zero as "this blueprint never charges Merc Coin" is wrong on every recipe that does. Merc Coin has no credit equivalent and is not a material, which is why it is its own member.

Properties

Materials

Materials: IReadOnlyList<EngineeringMaterial>

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

MercCoins

MercCoins: int

The Merc Coin the step bills, weighted for its rolls exactly as the material counts are. It is zero where the recipe charges no currency, and zero where this step covers no charging grade, so reading zero as "this blueprint never charges Merc Coin" is wrong on every recipe that does. Merc Coin has no credit equivalent and is not a material, which is why it is its own member.

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