Skip to content

five-on-it / apps/client/src/renderer/hud-format / weaponLine

Function: weaponLine() ​

weaponLine(w, left): string

Defined in: apps/client/src/renderer/hud-format.ts:157

The weapon held with the ammunition left for it (pistol · 120 rounds, grenade · 3 left, rifle · OUT OF AMMO: no shot until more is found); the fists alone.

Parameters ​

w ​

Pick<WeaponDef, "name" | "ammo">

left ​

number

Returns ​

string