Weed picking and processing script
๐ด Made for the qbcore Framework
Thank you for your interest in my work. Please consider supporting โค
-
Place ss-weed in you're server recources folder and add it to the server.cfg
-
Add these lines below to: qb-core/shared.lua under QBShared.Items
["skunk"] = {["name"] = "skunk", ["label"] = "Raw Skunk", ["weight"] = 100, ["type"] = "item", ["image"] = "skunk.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Raw skunk weed!"},
["weed_skunk"] = {["name"] = "weed_skunk", ["label"] = "Skunk 2g", ["weight"] = 100, ["type"] = "item", ["image"] = "weed_skunk.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Strong weed!"},
["coke_empty_bags"] = {["name"] = "coke_empty_bags", ["label"] = "Empty Bags", ["weight"] = 100, ["type"] = "item", ["image"] = "coke_empty_bags.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Ziploc bags!"},
["trowel"] = {['name'] = 'trowel',['label'] = 'Trowel', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'trowel.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Small handheld garden shovel'},
-
Add the images (in ss-weed/imgs) to qb-inventory/html/images
-
Go to ss-weed/client.lua line 52 and change the box zone to where you want to process the weed (by default it requires a custom MLO)
-
Add weed_skunk to qb-drugs/config.lua to sell to npc
-
Change the location of the field in ss-weed/config.lua (this is where the plants spawn)
-
start/restart you're server
In you're server give yourself the items above: 1x trowel 2x coke_empty_bags
Then tp to these coords to pick the weed (2835.75, 4647.75, 47.27)
Then go to the box zone in which you set the processing
1 raw skunk will make 2 bags.
2022 Smokey Scripts
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/