Skip to content

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

Function: spawnShop() ​

spawnShop(sim, at, stock, kind?): number

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

A shop at a spot: a counter (or another terminal's look) whose key opens its stock.

Parameters ​

sim ​

SimWorld

at ​

SpawnPoint

stock ​

ShopStock

kind? ​

TerminalKind = 'counter'

Returns ​

number