Coder Social home page Coder Social logo

ss-weed's Introduction

ss-weed

Weed picking and processing script

๐Ÿ”ด Made for the qbcore Framework

Thank you for your interest in my work. Please consider supporting โค

Dependencies

Installation

Manual

  1. Place ss-weed in you're server recources folder and add it to the server.cfg

  2. 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'},

  1. Add the images (in ss-weed/imgs) to qb-inventory/html/images

  2. 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)

  3. Add weed_skunk to qb-drugs/config.lua to sell to npc

  4. Change the location of the field in ss-weed/config.lua (this is where the plants spawn)

  5. start/restart you're server

Usage

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.

Licence

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/

ss-weed's People

Contributors

pluto-really avatar smokey2022 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ss-weed's Issues

Processing

I can not get the processing plant to move. What is the special MLO that goes with the original location?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.