Items
Installation of the script • OX: Placement location: ox_Inventory/data/items.lua
• QB: Placement qb-core/shared/items.lua
• Item images in script folder
• Minigames in script folder
• Feel free to change items label, weight and description.
Items
['diamond'] = {
label = 'Diamond',
weight = 50,
stack = true,
close = false,
description = 'Diamond',
},
['gold_bar'] = {
label = 'Bar of gold',
weight = 50,
stack = true,
close = false,
description = 'bar made of gold',
},
['large_drill'] = {
label = 'Drill',
weight = 2050,
stack = false,
close = false,
description = 'A large industrial drill',
},
["thermite"] = {
label = "Thermite",
weight = 1000,
stack = true,
close = true,
description = "Sometimes you'd wish for everything to burn",
},
["c4_bomb"] = {
label = "C4",
weight = 1000,
stack = true,
close = true,
description = "Blow some shit up!",
},
['hack_usb'] = {
label = 'Hacking USB',
weight = 50,
stack = false,
close = false,
description = 'USB device which contains various hacking softwares',
},
--- Weapons and ammo should be in every inventory and also the ammo and
-- weapons from the drillings can be edited from the config
['diamond'] = {
name = 'diamond',
label = 'Diamond',
weight = 50,
type = 'item',
image = 'diamond.png',
unique = false,
useable = false,
shouldClose = false,
description = 'Diamond'
},
['gold_bar'] = {
name = 'gold_bar',
label = 'Bar of Gold',
weight = 50,
type = 'item',
image = 'gold_bar.png',
unique = false,
useable = false,
shouldClose = false,
description = 'Bar made of gold'
},
['large_drill'] = {
name = 'large_drill',
label = 'Drill',
weight = 2050,
type = 'item',
image = 'large_drill.png',
unique = false,
useable = false,
shouldClose = false,
description = 'A large industrial drill'
},
['thermite'] = {
name = 'thermite',
label = 'Thermite',
weight = 1000,
type = 'item',
image = 'thermite.png',
unique = false,
useable = false,
shouldClose = true,
description = "Sometimes you'd wish for everything to burn"
},
['c4_bomb'] = {
name = 'c4_bomb',
label = 'C4',
weight = 1000,
type = 'item',
image = 'c4_bomb.png',
unique = false,
useable = false,
shouldClose = true,
description = 'Blow some shit up!'
},
['hack_usb'] = {
name = 'hack_usb',
label = 'Hacking USB',
weight = 50,
type = 'item',
image = 'hack_usb.png',
unique = false,
useable = false,
shouldClose = false,
description = 'USB device which contains various hacking softwares'
},
-- Weapons and ammo should be included in every inventory, as well as
-- editable options for weapons and ammo related to drillings.
Last updated