Skip to content

ships.Interface.AmmunitionCapacity

github-actions[bot] edited this page Aug 26, 2026 · 74 revisions

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

Interface: AmmunitionCapacity

Defined in: src/ships/ammunition.ts:42

What a module holds when fully rearmed, as ammunitionCapacity reports it.

Properties

clipSize

readonly clipSize: number

Defined in: src/ships/ammunition.ts:52

Rounds a full magazine holds — the catalogue's clipSize, and the largest AmmoInClip a journal can report for this module.

Remarks

0 on a module with no magazine, whose whole capacity is the reserve and is drawn from directly: an AFMU carries 3600 repair units and no clip to load them into, and reports { clipSize: 0, hopper: 3600 }.


hopper

readonly hopper: number

Defined in: src/ships/ammunition.ts:59

Reserve rounds behind the magazine — the catalogue's ammoMaximum, and the largest AmmoInHopper a journal can report. It does not include the magazine, exactly as the journal's own field does not. Infinity when nothing limits it (see unlimited).


total

readonly total: number

Defined in: src/ships/ammunition.ts:61

Rounds carried when fully rearmed — clipSize + hopper. Infinity when unlimited.


unlimited

readonly unlimited: boolean

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

Whether the reserve is unlimited — the record states a magazine but no reserve to refill it from, which in the catalogues is the mining Abrasion Blaster (both the fixed and the turreted record). Exactly hopper === Infinity.

Remarks

A reserve of zero is a different answer and reads as one: a Mk II Plasma Shock Accelerator carries no reserve behind its 18-round magazine, and Plasma Slug drives a rail gun's reserve to zero because the weapon then reloads from the ship's fuel — which is a tank this does not model, not an unlimited hopper.

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally