π°ShopService
Service for adding and removing items from the shop.
Events.MatchStart(function(event)
-- Adds 1 Solar Panel to the shop that can be purchased for 3 Diamonds
ShopService.addItem(ItemType.SOLAR_PANEL, 1, ItemType.DIAMOND, 3)
-- Adds 1 Tennis Racket to the shop that can be purchased for 15 Iron
ShopService.addItem(ItemType.TENNIS_RACKET, 1, ItemType.IRON, 15)
end)Functions
removeItem(item: ItemType)
Last updated