Skip to content

five-on-it / packages/sim/src/interactables / spawnTerminal

Function: spawnTerminal() ​

spawnTerminal(sim, kind, at, verb?): number

Defined in: packages/sim/src/interactables.ts:73

A terminal standing at a spot (its base on the ground at y, facing yaw): a fixed box of its kind's size (terminalSize), used, hacked or shopped at.

Parameters ​

sim ​

SimWorld

kind ​

TerminalKind

at ​

SpawnPoint

verb? ​

"shop" | "use" | "hack"

Returns ​

number