qs-inventory
Add the gg_boosting items, the Digi Scanner and the images to qs-inventory.
1. Add the items
Open qs-inventory/shared/items.lua and paste these entries inside the ItemList table.
Lua
['gg_boosting_tablet'] = {
['name'] = 'gg_boosting_tablet',
['label'] = 'Boosting Tablet',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'gg_boosting_tablet.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'A tablet for boosting contracts.',
},
['gg_tracker_scrambler'] = {
['name'] = 'gg_tracker_scrambler',
['label'] = 'Tracker Scrambler',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'gg_tracker_scrambler.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'Disables the GPS tracker on a boosted car.',
},
['gg_rattle_can'] = {
['name'] = 'gg_rattle_can',
['label'] = 'Rattle Can',
['weight'] = 100,
['type'] = 'item',
['image'] = 'gg_rattle_can.png',
['unique'] = false,
['useable'] = true,
['rare'] = 'common',
['description'] = 'Quickly give your boost a new coat.',
},
['gg_signal_jammer'] = {
['name'] = 'gg_signal_jammer',
['label'] = 'Signal Jammer',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'gg_signal_jammer.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'Block tower signals by using this item near a tower.',
},
['gg_wire_cutters'] = {
['name'] = 'gg_wire_cutters',
['label'] = 'Wire Cutters',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'gg_wire_cutters.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'Cut the wires within the vehicle to stop alarms.',
},
['gg_boost_plate'] = {
['name'] = 'gg_boost_plate',
['label'] = 'Stolen Plate',
['weight'] = 1000,
['type'] = 'item',
['image'] = 'gg_boost_plate.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'Plate from a local vehicle.',
},
If the same table has no weapon_digiscanner entry, add this one too:
Lua
['weapon_digiscanner'] = {
['name'] = 'weapon_digiscanner',
['label'] = 'Digi Scanner',
['weight'] = 1000,
['type'] = 'weapon',
['ammotype'] = nil,
['image'] = 'weapon_digiscanner.png',
['unique'] = true,
['useable'] = true,
['rare'] = 'common',
['description'] = 'Hacks keyless entry on boosted cars.',
},
2. Add the weapon
Open qs-inventory/shared/weapons.lua. If it has no weapon_digiscanner entry, paste this inside the WeaponList table.
Lua
[`weapon_digiscanner`] = {
name = 'weapon_digiscanner',
label = 'Digi Scanner',
weapontype = 'Melee',
ammotype = nil,
damagereason = 'Whacked',
},
3. Add the images
Copy every PNG from gg_boosting/!SETUP/IMAGES into qs-inventory/html/images. If that folder has no weapon_digiscanner.png, add one with that name.
4. Restart
Restart your server so qs-inventory loads the new items.
