ships.Function.getBlueprint - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Function: getBlueprint()

getBlueprint(blueprintSymbol): Blueprint | null

Defined in: src/ships/blueprints.ts:85

Look up a blueprint by its Frontier symbol, case-insensitively.

Parameters

blueprintSymbol

string

The blueprint id, e.g. "FSD_LongRange". Leading/trailing whitespace and case are ignored.

Returns

Blueprint | null

The blueprint (its name and grades), or null if this catalogue stores no blueprint under that id.

Remarks

null is not always an unknown id. The game writes the grade-5 Decorative_* identities of festive pre-engineered variants in the same BlueprintName / EngineerModifications field. They name no craftable recipe — no materials or applying engineer — and are carried by the variants returned from getPreEngineeredVariants in ships/pre-engineered. Their fixed modifiers still change the fitted article's stats.

Throws

If blueprintSymbol is present and not a string. A nullish blueprintSymbol is a miss, answered the way an unrecognised one is.

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