πŸ“¦Required Item Setup

To use the Dynyx Weed Growing system, you must have the correct items added to your inventory system. This includes seeds, tools, growth materials, and processed product items.

This guide shows you what items are required and how to add them properly.


πŸ“‹ Item Overview

From your config:

Config.Shovel = 'plant_shovel'
Config.Shears = 'plant_shears'
Config.Fertilizer = 'plant_fertilizer'
Config.Pot = 'plant_pot'
Config.Water = 'water'
Config.Baggie = 'plant_emptybag'

These are core items players will need to:

  • Plant seeds

  • Maintain crops

  • Process buds into final weed bags


πŸ§ͺ Strain-Specific Items

Each weed strain also defines 3 unique items:

  • seed_<strain> – Used to plant the strain

  • bud_<strain> – Harvested from plants

  • <strain>_bag – Final packaged weed product

Example (Blue Dream):

  • seed_bluedream

  • bud_bluedream

  • bluedream_bag


βœ… Adding Items to Your Inventory

Here’s how to add items depending on your inventory system:


For ox_inventory:

Add to data/items.lua:

['plant_shovel'] = {
    label = 'Shovel',
    weight = 500,
    stack = true,
    description = 'Used to dig for planting.',
},

['plant_pot'] = {
    label = 'Plant Pot',
    weight = 300,
    stack = true,
    description = 'Holds the soil and supports the plant.',
},

['seed_bluedream'] = {
    label = 'Blue Dream Seed',
    weight = 100,
    stack = true,
    description = 'Plant this to grow Blue Dream weed.',
},

['bud_bluedream'] = {
    label = 'Blue Dream Bud',
    weight = 150,
    stack = true,
    description = 'Harvested bud from the plant.',
},

['bluedream_bag'] = {
    label = 'Blue Dream Bag',
    weight = 250,
    stack = true,
    description = 'Packaged weed ready to sell or smoke.',
},

πŸ–ΌοΈ Make sure the item images exist in ox_inventory/web/images.


For qb-inventory / ps-inventory:

Add to shared.lua or the item database:

["plant_shovel"] = {
    name = "plant_shovel",
    label = "Shovel",
    weight = 500,
    type = "item",
    image = "plant_shovel.png",
    unique = false,
    useable = true,
    description = "Used for planting.",
},

["seed_bluedream"] = {
    name = "seed_bluedream",
    label = "Blue Dream Seed",
    weight = 100,
    type = "item",
    image = "seed_bluedream.png",
    unique = false,
    useable = true,
    description = "Plant this to grow Blue Dream.",
},

πŸ“Œ Be sure to also upload the item icons to the correct image path (e.g., qb-inventory/html/images).


🧠 Tips

  • You can add custom items for rolling papers, scales, or packaging if you want to expand the weed economy.

  • Seeds can be made lootable, craftable, or sold in black market shops.

  • All item names must match exactly what is in config.lua and Config.Plant.

Last updated