materials.Interface.Material - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / materials / Material

Interface: Material

Defined in: src/materials/materials.ts:168

One engineering material and how it is classified.

Remarks

A Material is a plain, frozen value object. category is derived from the catalogue the record lives in. There is no separate rarity field — the grade is the rarity (its MaterialGrade member name is the rarity tier).

Properties

category

readonly category: MaterialCategory

Defined in: src/materials/materials.ts:170

Which category this material belongs to.


elementSymbol

readonly elementSymbol: string | null

Defined in: src/materials/materials.ts:186

The chemical element symbol for a raw material, e.g. "Fe" for Iron.

Remarks

Only raw materials — which are chemical elements — have one. Manufactured and encoded materials are null.


grade

readonly grade: MaterialGrade

Defined in: src/materials/materials.ts:188

The material grade, 1–5 (raw materials only reach 4) — this is its rarity.


line

readonly line: MaterialLine

Defined in: src/materials/materials.ts:190

The in-game line (group) this material sits in.


name

readonly name: string

Defined in: src/materials/materials.ts:178

Display name, e.g. "Grid Resistors".


symbol

readonly symbol: string

Defined in: src/materials/materials.ts:176

Frontier's internal symbol, e.g. "GridResistors" — the id the player journal reports (case-insensitively, so "gridresistors" matches). This is the same field, with the same meaning, as symbol on a ship or outfitting module.

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