QBCore format
The Casino Creator items in the QBCore format (qb-core shared items), for qb-inventory and the inventories that read it, with their pictures.
1. Add the items
Open qb-core/shared/items.lua and paste these lines inside the QBShared.Items table, above its last }. Do not replace the whole file.
gg_casino_chip_white = { name = 'gg_casino_chip_white', label = 'White Casino Chip', weight = 0, type = 'item', image = 'gg_casino_chip_white.png', unique = false, useable = false, shouldClose = true, description = 'A white casino chip, worth what the casino set. Play it at the tables or cash it at the cage.' },
gg_casino_chip_red = { name = 'gg_casino_chip_red', label = 'Red Casino Chip', weight = 0, type = 'item', image = 'gg_casino_chip_red.png', unique = false, useable = false, shouldClose = true, description = 'A red casino chip, worth what the casino set. Play it at the tables or cash it at the cage.' },
gg_casino_chip_green = { name = 'gg_casino_chip_green', label = 'Green Casino Chip', weight = 0, type = 'item', image = 'gg_casino_chip_green.png', unique = false, useable = false, shouldClose = true, description = 'A green casino chip, worth what the casino set. Play it at the tables or cash it at the cage.' },
gg_casino_chip_black = { name = 'gg_casino_chip_black', label = 'Black Casino Chip', weight = 0, type = 'item', image = 'gg_casino_chip_black.png', unique = false, useable = false, shouldClose = true, description = 'A black casino chip, worth what the casino set. Play it at the tables or cash it at the cage.' },
gg_casino_chip_purple = { name = 'gg_casino_chip_purple', label = 'Purple Casino Chip', weight = 0, type = 'item', image = 'gg_casino_chip_purple.png', unique = false, useable = false, shouldClose = true, description = 'A purple casino chip, worth what the casino set. Play it at the tables or cash it at the cage.' },
gg_casino_chip_yellow = { name = 'gg_casino_chip_yellow', label = 'Yellow Casino Chip', weight = 0, type = 'item', image = 'gg_casino_chip_yellow.png', unique = false, useable = false, shouldClose = true, description = 'A yellow casino chip, worth what the casino set. Play it at the tables or cash it at the cage.' },
gg_casino_chip_orange = { name = 'gg_casino_chip_orange', label = 'Orange Casino Chip', weight = 0, type = 'item', image = 'gg_casino_chip_orange.png', unique = false, useable = false, shouldClose = true, description = 'An orange casino chip, worth what the casino set. Play it at the tables or cash it at the cage.' },
gg_casino_chip = { name = 'gg_casino_chip', label = 'Casino Chips', weight = 0, type = 'item', image = 'gg_casino_chip.png', unique = false, useable = false, shouldClose = true, description = 'Casino chips, counted by the casino. Play them at the tables or cash them at the cage.' },
gg_casino_ticket = { name = 'gg_casino_ticket', label = 'Casino Slip', weight = 0, type = 'item', image = 'gg_casino_ticket.png', unique = true, useable = true, shouldClose = true, description = 'A casino slip. Use it to hold it out and show what it pays. Any machine or the cage pays it once.' },
gg_casino_crate = { name = 'gg_casino_crate', label = 'Casino Crate', weight = 10000, type = 'item', image = 'gg_casino_crate.png', unique = true, useable = true, shouldClose = true, description = 'A crated slot machine. Use it to set the machine down in your house or business.' },
gg_casino_machine = { name = 'gg_casino_machine', label = 'Casino Machine', weight = 10000, type = 'item', image = 'gg_casino_machine.png', unique = true, useable = true, shouldClose = true, description = 'A casino machine cabinet. Use it to pick a game, pay for its software and set it down in your house or business.' },
gg_casino_table = { name = 'gg_casino_table', label = 'Casino Table', weight = 15000, type = 'item', image = 'gg_casino_table.png', unique = true, useable = true, shouldClose = true, description = 'A casino table. Use it to pick a game, pay for its software and set it down in your house or business.' },
gg_casino_tablet = { name = 'gg_casino_tablet', label = 'Casino Tablet', weight = 500, type = 'item', image = 'gg_casino_tablet.png', unique = true, useable = true, shouldClose = true, description = 'A casino\'s own tablet. Use it to run the casinos you own or work at: their machines and tables, money and accounts, staff, bar and orders.' },
gg_casino_wheel = { name = 'gg_casino_wheel', label = 'Prize Wheel', weight = 20000, type = 'item', image = 'gg_casino_wheel.png', unique = true, useable = true, shouldClose = true, description = 'A prize wheel for your own business. Use it to set it down, then stock its prizes and run it from My Wheels on the Casino Tablet.' },
gg_casino_receipt = { name = 'gg_casino_receipt', label = 'Gift Receipt', weight = 10, type = 'item', image = 'gg_casino_receipt.png', unique = true, useable = true, shouldClose = true, description = 'A service won on a prize wheel. Use it to read what you won and how to redeem it, then show it to the business\'s staff.' },
Keep useable = true on the slip, the machine, the table, the crate, the tablet, the wheel and the receipt: Casino Creator opens each of them when it is used. Keep unique = true on them too, as each one carries its own amount, game or serial.
2. Add the pictures
Copy every file in gg_casino/!SETUP/IMAGES into your inventory's image folder: qb-inventory/html/images on qb-inventory.
3. Restart
Restart your server, then buy a few chips at a cage. They land in your inventory with their pictures.
