equipment.Variable.PERSONAL_TOOLS - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / equipment / PERSONAL_TOOLS

Variable: PERSONAL_TOOLS

const PERSONAL_TOOLS: readonly PersonalTool[]

Defined in: src/equipment/tools.ts:91

Every suit tool, in catalogue order.

Remarks

The Reduced Tool Battery Consumption suit modification halves the toolEnergyDrain stat, which is this catalogue's powerUsage and the Energylink's overloadPowerUsage. It leaves dischargeRate alone, which is why the two carry separate names: pass the base a factor applies to, and the discharge rate can never pick one up.

Examples

import { PERSONAL_TOOLS } from '@elite-dangerous-almanac/core/equipment/tools';
PERSONAL_TOOLS[0]?.name; // -> 'Energylink'
import { applyPersonalModifiers } from '@elite-dangerous-almanac/core/equipment/engineering';
import { getPersonalModification } from '@elite-dangerous-almanac/core/equipment/modifications';
import { getPersonalToolById } from '@elite-dangerous-almanac/core/equipment/tools';

const recipe = getPersonalModification('suit_reducedtoolbatteryconsumption');
const cutter = getPersonalToolById('arc-cutter');
applyPersonalModifiers('toolEnergyDrain', cutter?.powerUsage ?? 0, recipe?.modifiers ?? []);
// -> 0.075
⚠️ **GitHub.com Fallback** ⚠️