Skip to content

five-on-it / apps/server/src/game-server / shopItems

Function: shopItems() ​

shopItems(shop): string[]

Defined in: apps/server/src/game-server.ts:829

What a level's shop sells: its own items, then what its name puts on its shelf beside them (the police scanner at a phone shop) and the gear its kind sells too (GEAR_STOCK), each once.

Parameters ​

shop ​

items ​

readonly string[]

name ​

string

Returns ​

string[]