Skip to content

A weed planting, harvesting, & processing system for FiveM

License

Notifications You must be signed in to change notification settings

citRaTTV/citra_weed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

citra_weed - A weed planting, harvesting, & processing system for FiveM

This resources provides a system that allows players to plant, harvest, and process weed on your FiveM server.

Preview

Screenshots

Items

Male Plant

Female Plant

Fully Grown

Harvest

Branch w/ Broken Pot

Branch

Male Harvest

Drying Rack

Drying Rack Menu

Branch Menu

Drying Rack Menu Partially Full

Drying Rack Full

Drying Rack Almost Done

Branches

Processing

Dependencies

Setup

  1. Ensure items exist & configure your inventory system to call the proper exports on item use.
ox_inventory example

data/items.lua

    ["weedplant_seedf"] = {
        label = "Female Weed Seed",
        weight = 0,
        stack = true,
        close = true,
        description = "Female Weed Seed",
        client = {
            image = "weedplant_seed.png",
            export = 'citra_weed.plant',
        }
    },
    ["weedplant_seedm"] = {
        label = "Male Weed Seed",
        weight = 0,
        stack = true,
        close = false,
        description = "Male Weed Seed",
        client = {
            image = "weedplant_seed.png",
            export = 'citra_weed.plant',
        }
    },
    ["weedplant_rack"] = {
        label = "Drying Rack",
        weight = 50000,
        stack = false,
        close = true,
        description = "A large drying rack",
        client = {
            export = 'citra_weed.deployRack',
        },
    },
    ["lighter"] = {
        label = "Lighter",
        weight = 0,
        stack = true,
        close = true,
        description = "On new years eve a nice fire to stand next to",
        client = {
            image = "lighter.png",
        }
    },
    ["plant_tub"] = {
        label = "Plant Tub",
        weight = 1000,
        stack = true,
        close = false,
        description = "Pot for planting plants",
        client = {
            image = "plant_tub.png",
        }
    },
    ["waterbottle"] = {
        label = "Water",
        weight = 500,
        stack = true,
        close = true,
        description = "For all the thirsty people out there",
        client = {
            image = "water_bottle.png",
        }
    },
    ["weed_nutrition"] = {
        label = "Plant Fertilizer",
        weight = 2000,
        stack = true,
        close = true,
        description = "Plant nutrition",
        client = {
            image = "weed_nutrition.png",
        }
    },
    ["empty_weed_bag"] = {
        label = "Empty Weed Bag",
        weight = 0,
        stack = true,
        close = true,
        description = "A small empty bag",
        client = {
            image = "weed_baggy_empty.png",
        }
    },
    ["weedplant_weed"] = {
        label = "Homegrown 2g",
        weight = 100,
        stack = true,
        close = false,
        description = "Weed ready for the streets",
        client = {
            image = "weedplant_weed.png",
        }
    },
  1. Tune shared/config.lua to your liking.

About

A weed planting, harvesting, & processing system for FiveM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages