Exports
Server
| Export | Arguments | What it does |
|---|---|---|
GetCatalog | Returns everything the shop sells | |
GetPrice | name, components, tint, quantity | Returns the price of an item with its parts and finish |
ClearUnlockCache | src | Forgets a player's cached unlocked parts, so they are read fresh |
Client
| Export | Arguments | What it does |
|---|---|---|
IsOpen | Whether the shop is open | |
CloseShop | Closes the shop | |
OpenShop | index | Opens the shop at a Config.Locations index without walking to the counter |
exports['fusing-ammunation']:OpenShop(1)