ships.Variable.SHIP_MODULE_LIMITS - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Variable: SHIP_MODULE_LIMITS

const SHIP_MODULE_LIMITS: Readonly<Record<ModuleLimitGroup, number>>

Defined in: src/ships/module-limits.ts:29

Base number of fitted modules allowed in each per-ship limit family.

Remarks

Every value is a positive whole-module count. A fitted ModuleLimitIncrease raises this base; use calculateModuleLimits for the effective allowance and current excess rather than adding grants yourself.

Example

import { SHIP_MODULE_LIMITS } from '@elite-dangerous-almanac/core/ships/module-limits';

SHIP_MODULE_LIMITS.experimentalWeapon; // -> 4
⚠️ **GitHub.com Fallback** ⚠️