Skip to content

five-on-it / packages/sim/src/gear / gearSystem

Function: gearSystem() ​

gearSystem(sim): void

Defined in: packages/sim/src/gear.ts:225

The gear's timers, once a tick (at the end of the step): a gassed character clears, an adrenaline shot wears off, a taser's battery recharges, a camera an EMP put out comes back on (unless something else switched it off meanwhile); a mask whose item is no longer carried comes off. The vehicles' stalls run in the vehicle system.

Parameters ​

sim ​

SimWorld

Returns ​

void