ships.experimental effect costs.Function.getExperimentalEffectCost - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships/experimental-effect-costs / getExperimentalEffectCost
getExperimentalEffectCost(
experimentalEffectSymbol): readonlyEngineeringMaterial[] |null
Defined in: src/ships/experimental-effect-costs.ts:60
Look up an experimental effect's one-application material cost.
string
The effect id, e.g. "special_fsd_heavy", matched
case-insensitively after trimming surrounding whitespace.
readonly EngineeringMaterial[] | null
The frozen material list, or null if the effect is unknown.
Materials are the whole cost: an experimental effect charges no Merc Coin, unlike the
blueprints whose getBlueprintCost
reports a non-zero mercCoins.
If experimentalEffectSymbol is present and not a string. A nullish
experimentalEffectSymbol is a miss, answered the way an unrecognised one is.
import { getExperimentalEffectCost } from '@elite-dangerous-almanac/core/ships/experimental-effect-costs';
getExperimentalEffectCost('special_fsd_heavy');
// -> [{ symbol: 'DisruptedWakeEchoes', ... }, ...]