ships.Interface.BuildMass - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / BuildMass
Defined in: src/ships/build-metrics.ts:278
What an assembled build weighs, broken down the way BuildMetrics.buildMass weighs it. Every figure is in tonnes.
The mass counterpart of BuildCredits, and the same split: what the bare hull
contributes, what the fit adds, and the total. fuel and cargo are the chosen load
on top of that, so total is the mass the jump and mobility calculations run on.
readonlycargo:number
Defined in: src/ships/build-metrics.ts:308
Cargo counted, in tonnes. Defaults to an empty hold.
readonlyfuel:number
Defined in: src/ships/build-metrics.ts:306
Main-tank fuel counted, in tonnes. Defaults to a full main tank.
readonlyhull:number
Defined in: src/ships/build-metrics.ts:280
Bare hull mass — the hullMass of the hull being flown.
readonlymodules:number
Defined in: src/ships/build-metrics.ts:292
Every fitted module's post-engineering mass, summed.
Lightweight blueprints are already folded in, and the cargo hatch weighs nothing.
A fitted record with no mass at all contributes 0 rather than making the total
unavailable — mass is the one figure no article can be missing (see
ShipLoadout.unladenMass),
which is why there is no unpriced counterpart to BuildCredits.unpriced
here.
readonlytotal:number
Defined in: src/ships/build-metrics.ts:310
unladen + fuel + cargo: what the ship weighs at the chosen load.
readonlyunladen:number
Defined in: src/ships/build-metrics.ts:304
The ship with an empty tank and no cargo — ShipLoadout.unladenMass.
hull and modules are always computed from the hull record and the current
fit, while this is the build's own unladen mass, which for an unedited import is
the figure the capture stated. The two agree on anything assembled here; where
a capture disagrees with the catalogues, this is the one the jump and mobility
calculations use and the decomposition is what the catalogues say it is made of.