Skip to content

five-on-it / packages/sim/src/holds / holding

Function: holding() ​

holding(sim, eid): { kind: "work" | "plant" | "pick" | "defuse" | "hackDevice" | "cutPower" | "restorePower" | "repair" | "crack" | "restrain" | "free" | "drag" | "stash"; target: number; } | undefined

Defined in: packages/sim/src/holds.ts:46

What a character holds the key at now, if anything: the work and its thing.

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

{ kind: "work" | "plant" | "pick" | "defuse" | "hackDevice" | "cutPower" | "restorePower" | "repair" | "crack" | "restrain" | "free" | "drag" | "stash"; target: number; } | undefined