This resource lets you create usable crates, that will give the player items that you associate with them.
- Custom weighted chances to drop specific items
- Use local or remote images for spinner
- Create multiple cases, each with the own set of items
- Randomized, server-sided item selection and validation
- Included several CSGO case inventory images, and included 2 creates as an example in the config
- Dimka Zheleznov for the UI code and posting it to codepen. Wherever you are, hats off to you. I absolutely copied near-100% to make this work.
['case_recoil'] = {['name'] = 'case_recoil', ['label'] = 'Recoil Case', ['weight'] = 2000, ['type'] = 'item', ['image'] = 'case_recoil.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A prize awaits inside.'},
['case_prisma2'] = {['name'] = 'case_prisma2', ['label'] = 'Prisma 2 Case', ['weight'] = 2000, ['type'] = 'item', ['image'] = 'case_recoil.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A prize awaits inside.'},