DotNet.Ships.Class.ExperimentalEffectCosts - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / ExperimentalEffectCosts

Class: ExperimentalEffectCosts

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ExperimentalEffectCosts.cs:18

The experimental-effect cost catalogue: one-application material shopping lists, kept apart from the effect mechanics so a caller who only prices an effect loads neither the mechanics nor a whole build.

Remarks

Its identifiers match ExperimentalEffectCatalogue.All exactly. Data comes from EDSY, with the combat effects' costs from the Inara registry; see data/ships/SOURCES.md for provenance.

Properties

All

static All: IReadOnlyDictionary<string, IReadOnlyList<EngineeringMaterial>>

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ExperimentalEffectCosts.cs:27

Every effect's one-application material list, keyed by Frontier symbol. Lookups ignore case.

Methods

Find()

static Find(experimentalEffectSymbol): IReadOnlyList<EngineeringMaterial>?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/ExperimentalEffectCosts.cs:39

Finds an experimental effect's one-application material cost.

Parameters

experimentalEffectSymbol

string?

The effect identifier, such as special_fsd_heavy. Leading and trailing whitespace and case are ignored.

Returns

IReadOnlyList<EngineeringMaterial>?

The material list, or null when the effect is unknown.

Remarks

Materials are the whole cost: an experimental effect charges no Merc Coin, unlike the blueprints in BlueprintCosts.

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