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

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

Variable: SHIP_GUNSIGHTS

const SHIP_GUNSIGHTS: ShipGunsightCatalogue

Defined in: src/ships/gunsights.ts:73

Fixed-weapon gunsights for every player-flyable hull, keyed by the hull symbols used by SHIPS.

Remarks

The map, each hull array and every offset pair are deeply frozen. It covers every hardpoint of every player-flyable hull. Importing this module adds only the compact offset map; it does not import the ship or outfitting catalogues.

Example

import { SHIP_GUNSIGHTS } from '@elite-dangerous-almanac/core/ships/gunsights';

SHIP_GUNSIGHTS.SideWinder?.length; // -> 2
SHIP_GUNSIGHTS.SideWinder?.[0]; // -> [-2.1956754, -1.166162]
⚠️ **GitHub.com Fallback** ⚠️