Skip to content

ships.Interface.BuildCredits

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

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

Interface: BuildCredits

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

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

Properties

hull

readonly hull: number

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

Bare hull list price in credits.


modules

readonly modules: number

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

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:237

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:227

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:239

Fitted modules that could not be priced from the catalogue.

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