Skip to content

five-on-it / packages/sim/src/zones / zoneSystem

Function: zoneSystem() ​

zoneSystem(sim): void

Defined in: packages/sim/src/zones.ts:287

One tick of the zones, after the physics step: each lives a tick (two in rain, for those rain wears out) and is gone at its end; then, of the server's (a twin only slows, which the character and vehicle systems read), each person in a cloud of gas without a mask stings and is gassed, each person in a ground fire burns, each car in one takes its heat.

Parameters ​

sim ​

SimWorld

Returns ​

void