ships.Function.calculateFuelCapacity - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Function: calculateFuelCapacity()

calculateFuelCapacity(reserveFuelCapacity, modules): FuelCapacity

Defined in: src/ships/loadout-calculations.ts:138

Sum fitted fuel tanks and the hull reserve.

Parameters

reserveFuelCapacity

number

Hull reserve in tonnes.

modules

readonly LoadoutCalculationModule[]

Resolved fitted-module contributions.

Returns

FuelCapacity

Main and reserve capacity, in tonnes. No fitted tank is a main of 0.

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