ships.Interface.BuildCredits - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Interface: BuildCredits

Defined in: src/ships/build-metrics.ts:215

Retail catalogue credits for an assembled build, as BuildMetrics.buildCost prices it.

Properties

hull

readonly hull: number

Defined in: src/ships/build-metrics.ts:226

Bare hull list price in credits.


modules

readonly modules: number

Defined in: src/ships/build-metrics.ts:228

Sum of every priced fitted module, in credits. A lower bound when unpriced is non-empty.


rebuy

readonly rebuy: number

Defined in: src/ships/build-metrics.ts:234

Five percent of total, truncated to credits: what insurance bills to rebuild the fit at catalogue prices. For what a capture said its own rebuy was, read ShipLoadout.rebuy.


total

readonly total: number

Defined in: src/ships/build-metrics.ts:224

Priced hull and modules together, in credits.

A Mercenary article is bought with Merc Coin and has no credit price at all, but it is counted here at the catalogue list price of the stock module it is built on, and again in BuildCost.mercCoins at what it actually cost. Subtract the stock module's price to quote credits a shop would really ask.


unpriced

readonly unpriced: readonly object[]

Defined in: src/ships/build-metrics.ts:236

Fitted modules that could not be priced from the catalogue.

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