[DESCRIPTION]
advanced drug script that allows you to harvest plant from a poppy farm and then process into opium seeds that then turns into heroin using only the right items listed below, read instructions to install this script, this script is qb-target interactive.
SiX Development: Discord for more support and releases.
Dependencies :
QBCore Framework - https://github.com/qbcore-framework/qb-core
PolyZone - https://github.com/mkafrin/PolyZone
qb-target - https://github.com/BerkieBb/qb-target (Only needed if not using draw text)
qb-input - https://github.com/qbcore-framework/qb-input
qb-menu - https://github.com/qbcore-framework/qb-menu
Install:
-add folders [six-heroinlab][six-poppyfarm] to resources folder
-add to your qb-target/config.lua the code given below:
Config.TargetModels = {
["poppyfarm"] = {
models = {
`prop_plant_fern_01b`,
},
options = {
{
type = "client",
event = "six-poppyfarm:getitem",
parameters = {},
icon = "fas fa-weight-hanging",
label = "Harvest",
},
},
distance = 1.5
},
- copy and paste all items given into your [qbcore>shared>items] and place images into your [qb-inventory>html>images]
["poppy_plant"] = {["name"] = "poppy_plant", ["label"] = "Poppy Plant", ["weight"] = 500, ["type"] = "item", ["image"] = "poppy_plant.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "poppys."},
["opium"] = {["name"] = "opium", ["label"] = "Opium", ["weight"] = 0, ["type"] = "item", ["image"] = "opium.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Opium seeds"},
["bunsen_burner"] = {["name"] = "bunsen_burner", ["label"] = "Bunsen Burner", ["weight"] = 500, ["type"] = "item", ["image"] = "bunsen_burner.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Used for Science"},
["heroin"] = {["name"] = "heroin", ["label"] = "Herion", ["weight"] = 200, ["type"] = "item", ["image"] = "heroin.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Gray death"},
["syringe"] = {["name"] = "syringe", ["label"] = "Pack Of Syringes", ["weight"] = 200, ["type"] = "item", ["image"] = "syringe.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Pack of syringes and needles"},
['heroin_shot'] = {['name'] = 'heroin_shot', ['label'] = 'Heroin Shot', ['weight'] = 100, ['type'] = 'item', ['image'] = 'heroin_shot.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Needle shot of Heroin'},
['lighter'] = {['name'] = 'lighter', ['label'] = 'Lighter', ['weight'] = 0, ['type'] = 'item', ['image'] = 'lighter.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Who pocket my lighter?'},