tgiann-inventory
Add the gg_boosting items, the Digi Scanner and the images to tgiann-inventory.
1. Add the items
Open tgiann-inventory/items/items.lua and paste these lines inside the ItemsData 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, shouldClose = true, 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, shouldClose = true, 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, shouldClose = true, 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, shouldClose = true, 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, shouldClose = true, 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, shouldClose = true, description = 'Plate from a local vehicle.' },
If the same table has no weapon_digiscanner line, 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, description = 'Hacks keyless entry on boosted cars.' },
2. Add the weapon
Open tgiann-inventory/items/weapons.lua. If it has no weapon_digiscanner entry, paste this inside the weapons list.
Lua
weapon_digiscanner = { label = 'Digi Scanner', weight = 1000, ammotype = nil, image = 'weapon_digiscanner.png', description = 'Hacks keyless entry on boosted cars.' },
3. Add the images
Copy every PNG from gg_boosting/!SETUP/IMAGES into inventory_images/images, tgiann's image resource. If that folder has no weapon_digiscanner.png, add one with that name.
4. Restart
Restart your server so tgiann-inventory loads the new items.
