📦Installation
INSTALL
Add the core config for salvaged crates to:
core > shared.gta5.luaAdd the included item image for salvaged crates to your inventory images folder.
Ensure the script inside your
resources.cfg(if required for your setup).
OPTIONAL
Add a sell shop to your inventory config if you want players to sell diving loot.
If you add a sell shop, set:
Config.ScubaSellPed.Required = true
🛒 Sell Shop Inventory Config Example
['divingrelicbuyer'] = {
label = 'Treasure Trove Sales',
type = 'sell',
locations = {
{ -- Paleto
center = vector3(-316.1939, 6194.834, 31.56095),
length = 3.4,
width = 2.6,
options = {
heading = 315,
minZ = 28.960949325562,
maxZ = 32.960949325562
}
},
},
products = 'treasuretrovesales'
},✅ Make sure to add a products config for this shop to
config.shopproducts.
🧱 Core Config for Salvaged Crates
(Add this to shared.gta5.lua)
['salvagedcrate'] = {
['label'] = 'Salvaged Crate',
['weight'] = 2500,
['type'] = 'item',
['image'] = 'salvagedcrate.webp',
['unique'] = false,
['stackable'] = false,
['useable'] = true,
['shouldClose'] = true,
['description'] = 'A mystery crate obtained from the depths..',
},Last updated
