Skip to content

five-on-it / packages/sim/src/devices / blackout

Function: blackout() ​

blackout(sim, eid, by?): void

Defined in: packages/sim/src/devices.ts:450

A substation brought down (its hit points gone, damage.ts): the blackout, for the seconds it was put down with (kept in its fuse): its power cut, the cameras in its district off, an off event. deviceSystem brings the power back.

Parameters ​

sim ​

SimWorld

eid ​

number

by? ​

number = 0

Returns ​

void