Inventory Items
This section includes the complete item list for the script, ready to be integrated into the most popular inventory systems. Each item is properly configured with its name, label, and parameters to ensure full compatibility and seamless functionality within your server’s inventory setup.
qs-inventory
['metal_detector'] = {
['name'] = 'metal_detector',
['label'] = 'Metal Detector',
['weight'] = 8,
['type'] = 'item',
['image'] = 'metal_detector.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = nil,
client = {
export = 'qs-treasure-hunter.toggleMetalDetector'
},
},
['diving_gear'] = {
['name'] = 'diving_gear',
['label'] = 'Diving Gear',
['weight'] = 8,
['type'] = 'item',
['image'] = 'diving_gear.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = nil,
client = {
export = 'qs-treasure-hunter.toggleDivingGear'
},
},
['crushed_can'] = {
['name'] = 'crushed_can',
['label'] = 'Crushed Can',
['weight'] = 1,
['type'] = 'item',
['image'] = 'crushedcan.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'An old crushed can, not worth much but recyclable.'
},
['metal_can'] = {
['name'] = 'metal_can',
['label'] = 'Metal Can',
['weight'] = 1,
['type'] = 'item',
['image'] = 'metal_can.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'A slightly rusted metal can, could be recycled for a few bucks.'
},
['floppy_disk'] = {
['name'] = 'floppy_disk',
['label'] = 'Floppy Disk',
['weight'] = 2,
['type'] = 'item',
['image'] = 'floppy_disk.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'An old floppy disk, maybe it still holds some secrets...'
},
['silver_ring'] = {
['name'] = 'silver_ring',
['label'] = 'Silver Ring',
['weight'] = 1,
['type'] = 'item',
['image'] = 'silver_ring.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'A shiny silver ring, slightly tarnished by time.'
},
['silver_bracelet'] = {
['name'] = 'silver_bracelet',
['label'] = 'Silver Bracelet',
['weight'] = 1,
['type'] = 'item',
['image'] = 'silver_bracelet.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'An elegant bracelet made of pure silver.'
},
['silver_necklace'] = {
['name'] = 'silver_necklace',
['label'] = 'Silver Necklace',
['weight'] = 1,
['type'] = 'item',
['image'] = 'silver_necklace.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'A delicate silver necklace, looks old but valuable.'
},
['gold_ring'] = {
['name'] = 'gold_ring',
['label'] = 'Gold Ring',
['weight'] = 1,
['type'] = 'item',
['image'] = 'gold_ring.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'A golden ring, small but shiny — worth something to a jeweler.'
},
['gold_bracelet'] = {
['name'] = 'gold_bracelet',
['label'] = 'Gold Bracelet',
['weight'] = 1,
['type'] = 'item',
['image'] = 'gold_bracelet.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'A beautiful bracelet crafted from solid gold.'
},
['gold_necklace'] = {
['name'] = 'gold_necklace',
['label'] = 'Gold Necklace',
['weight'] = 1,
['type'] = 'item',
['image'] = 'gold_necklace.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'A fine gold necklace, probably lost a long time ago.'
},
['gold_nugget'] = {
['name'] = 'gold_nugget',
['label'] = 'Gold Nugget',
['weight'] = 2,
['type'] = 'item',
['image'] = 'gold_nugget.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'A rare natural gold nugget, quite valuable to collectors.'
},
['painting'] = {
['name'] = 'painting',
['label'] = 'Old Painting',
['weight'] = 5,
['type'] = 'item',
['image'] = 'painting.png',
['unique'] = false,
['useable'] = false,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'An old and dusty painting — could it be worth something?'
}
esx_inventory
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('metal_detector', 'Metal Detector', 8, 0, 1),
('diving_gear', 'Diving Gear', 8, 0, 1),
('crushed_can', 'Crushed Can', 1, 0, 1),
('metal_can', 'Metal Can', 1, 0, 1),
('floppy_disk', 'Floppy Disk', 2, 0, 1),
('silver_ring', 'Silver Ring', 1, 0, 1),
('silver_bracelet', 'Silver Bracelet', 1, 0, 1),
('silver_necklace', 'Silver Necklace', 1, 0, 1),
('gold_ring', 'Gold Ring', 1, 0, 1),
('gold_bracelet', 'Gold Bracelet', 1, 0, 1),
('gold_necklace', 'Gold Necklace', 1, 0, 1),
('gold_nugget', 'Gold Nugget', 2, 0, 1),
('painting', 'Old Painting', 5, 0, 1)
;qb-inventory
['metal_detector'] = { ['name'] = 'metal_detector', ['label'] = 'Metal Detector', ['weight'] = 8, ['type'] = 'item', ['image'] = 'metal_detector.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = nil, client = { export = 'qs-treasure-hunter.toggleMetalDetector' } },
['diving_gear'] = { ['name'] = 'diving_gear', ['label'] = 'Diving Gear', ['weight'] = 8, ['type'] = 'item', ['image'] = 'diving_gear.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = nil, client = { export = 'qs-treasure-hunter.toggleDivingGear' } },
['crushed_can'] = { ['name'] = 'crushed_can', ['label'] = 'Crushed Can', ['weight'] = 1, ['type'] = 'item', ['image'] = 'crushedcan.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'An old crushed can, not worth much but recyclable.' },
['metal_can'] = { ['name'] = 'metal_can', ['label'] = 'Metal Can', ['weight'] = 1, ['type'] = 'item', ['image'] = 'metal_can.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A slightly rusted metal can, could be recycled for a few bucks.' },
['floppy_disk'] = { ['name'] = 'floppy_disk', ['label'] = 'Floppy Disk', ['weight'] = 2, ['type'] = 'item', ['image'] = 'floppy_disk.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'An old floppy disk, maybe it still holds some secrets...' },
['silver_ring'] = { ['name'] = 'silver_ring', ['label'] = 'Silver Ring', ['weight'] = 1, ['type'] = 'item', ['image'] = 'silver_ring.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A shiny silver ring, slightly tarnished by time.' },
['silver_bracelet'] = { ['name'] = 'silver_bracelet', ['label'] = 'Silver Bracelet', ['weight'] = 1, ['type'] = 'item', ['image'] = 'silver_bracelet.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'An elegant bracelet made of pure silver.' },
['silver_necklace'] = { ['name'] = 'silver_necklace', ['label'] = 'Silver Necklace', ['weight'] = 1, ['type'] = 'item', ['image'] = 'silver_necklace.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A delicate silver necklace, looks old but valuable.' },
['gold_ring'] = { ['name'] = 'gold_ring', ['label'] = 'Gold Ring', ['weight'] = 1, ['type'] = 'item', ['image'] = 'gold_ring.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A golden ring, small but shiny — worth something to a jeweler.' },
['gold_bracelet'] = { ['name'] = 'gold_bracelet', ['label'] = 'Gold Bracelet', ['weight'] = 1, ['type'] = 'item', ['image'] = 'gold_bracelet.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A beautiful bracelet crafted from solid gold.' },
['gold_necklace'] = { ['name'] = 'gold_necklace', ['label'] = 'Gold Necklace', ['weight'] = 1, ['type'] = 'item', ['image'] = 'gold_necklace.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A fine gold necklace, probably lost a long time ago.' },
['gold_nugget'] = { ['name'] = 'gold_nugget', ['label'] = 'Gold Nugget', ['weight'] = 2, ['type'] = 'item', ['image'] = 'gold_nugget.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A rare natural gold nugget, quite valuable to collectors.' },
['painting'] = { ['name'] = 'painting', ['label'] = 'Old Painting', ['weight'] = 5, ['type'] = 'item', ['image'] = 'painting.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'An old and dusty painting — could it be worth something?' },
ox_inventory
["metal_detector"] = {
label = "Metal Detector",
weight = 8,
stack = true,
client = { export = "qs-treasure-hunter.toggleMetalDetector" },
},
["diving_gear"] = {
label = "Diving Gear",
weight = 8,
stack = true,
client = { export = "qs-treasure-hunter.toggleDivingGear" },
},
["crushed_can"] = {
label = "Crushed Can",
weight = 1,
stack = true,
},
["metal_can"] = {
label = "Metal Can",
weight = 1,
stack = true,
},
["floppy_disk"] = {
label = "Floppy Disk",
weight = 2,
stack = true,
},
["silver_ring"] = {
label = "Silver Ring",
weight = 1,
stack = true,
},
["silver_bracelet"] = {
label = "Silver Bracelet",
weight = 1,
stack = true,
},
["silver_necklace"] = {
label = "Silver Necklace",
weight = 1,
stack = true,
},
["gold_ring"] = {
label = "Gold Ring",
weight = 1,
stack = true,
},
["gold_bracelet"] = {
label = "Gold Bracelet",
weight = 1,
stack = true,
},
["gold_necklace"] = {
label = "Gold Necklace",
weight = 1,
stack = true,
},
["gold_nugget"] = {
label = "Gold Nugget",
weight = 2,
stack = true,
},
["painting"] = {
label = "Old Painting",
weight = 5,
stack = true,
},