Skip to content

commodities.Interface.Commodity

github-actions[bot] edited this page Aug 26, 2026 · 73 revisions

@elite-dangerous-almanac/core / commodities / Commodity

Interface: Commodity

Defined in: src/commodities/commodities.ts:95

One tradable commodity in Frontier's market registry.

Remarks

A pure id/name/category record — this is the commodity registry, not a price sheet, so it carries no buy/sell price, supply, demand or producing station. Whether it is a rare good is the Commodity.rare flag; a rare's origin station is not carried (the library has no station registry to key it against).

Properties

category

readonly category: CommodityCategory

Defined in: src/commodities/commodities.ts:106

The market group this commodity is sold under.


name

readonly name: string

Defined in: src/commodities/commodities.ts:104

Display name, e.g. "Platinum".


rare

readonly rare: boolean

Defined in: src/commodities/commodities.ts:115

Whether this is a rare commodity — a location-specific luxury good produced at a single station — rather than a standard market good.

Remarks

Derived from the catalogue the record lives in: every RARE_COMMODITIES record is true, every COMMODITIES record is false.


symbol

readonly symbol: string

Defined in: src/commodities/commodities.ts:102

Frontier's internal symbol, e.g. "Platinum" — the id the market and player journal report (case-insensitively, so "platinum" matches). This is the same field, with the same meaning, as symbol on a ship, module or material, and is the commodity's key.

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally