Skip to content

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

Interface: CarKit ​

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

What the HUD shows of a car's upgrades: its nitro, its dispenser, its water tank, a limp or oil.

Properties ​

burning ​

burning: boolean

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


charges ​

charges: number

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


dispenser ​

dispenser: "none" | "caltrops" | "oil"

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

Its rear dispenser and the charges left (none for none).


limping ​

limping: boolean

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

Its run-flats limp after a strip; oil on its tyres.


nitro ​

nitro: number

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

Nitro charges left, and whether one burns now.


oiled ​

oiled: boolean

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


tank? ​

optional tank?: number

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

Its water jet's tank, 0..1 (undefined without a jet).