ships.Function.thrusterMassCurveMultiplier - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / thrusterMassCurveMultiplier
thrusterMassCurveMultiplier(
mass,thrusters):number
Defined in: src/ships/mobility.ts:130
Resolve a thruster's performance multiplier at a loaded mass.
number
Loaded mass in tonnes.
The fitted thruster curve, post-engineering.
number
The curve multiplier, or 0 above the thrusters' maximum supported mass.
If mass or a curve value is not finite and non-negative, or the curve masses or multipliers do not follow the ordering documented by ThrusterCurveParams.
import { thrusterMassCurveMultiplier } from '@elite-dangerous-almanac/core/ships/mobility';
thrusterMassCurveMultiplier(48, {
minMass: 24, optMass: 48, maxMass: 72,
minMultiplier: 0.83, optMultiplier: 1, maxMultiplier: 1.03,
}); // -> 1