qs-inventory
Add the gg_gruppejob items and images to qs-inventory.
1. Add the items
Open qs-inventory/shared/items.lua and paste these entries inside the ItemList table.
Lua
['gg_atmbag'] = {
['name'] = 'gg_atmbag',
['label'] = 'Small Money Bag',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'gg_atmbag.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'A compact bag used to store small amounts of cash.',
},
['gg_bankbag'] = {
['name'] = 'gg_bankbag',
['label'] = 'Large Money Bag',
['weight'] = 3000,
['type'] = 'item',
['image'] = 'gg_bankbag.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'A heavy-duty bag designed to carry large sums of money.',
},
['gg_privatecrate'] = {
['name'] = 'gg_privatecrate',
['label'] = 'Large Locked Crate',
['weight'] = 5000,
['type'] = 'item',
['image'] = 'gg_privatecrate.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'A secured crate used for transporting valuable goods.',
},
['gg_thermite'] = {
['name'] = 'gg_thermite',
['label'] = 'Thermite Charge',
['weight'] = 5000,
['type'] = 'item',
['image'] = 'gg_thermite.png',
['unique'] = true,
['useable'] = false,
['rare'] = 'common',
['description'] = 'An industrial-grade charge used to breach reinforced locks.',
},
gg_thermite is used from the target on the truck, not from the inventory, so it is not useable.
The rewards also need black_money, plastic, iron, copper and glass. Check that the same file has them. See Reward items.
2. Add the images
Copy every PNG from gg_gruppejob/!SETUP/IMAGES into qs-inventory/html/images.
3. Restart
Restart your server so qs-inventory loads the new items.
