Skip to content

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

Function: workTicks() ​

workTicks(sim, target, kind): number

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

How many ticks working something takes: the device's own, else its work's.

Parameters ​

sim ​

SimWorld

target ​

number

kind ​

"work" | "plant" | "defuse" | "hackDevice" | "cutPower" | "restorePower" | "repair" | "crack" | "restrain" | "free" | "drag" | "stash"

Returns ​

number