Items
In this section, we’ll guide you through configuring the kartik-Weed items for three different inventory systems: ox_inventory and qb-inventory. Below are the item configurations you’ll need to add to your server to enable the Drugs items in your inventory system.
Lua For Itmes
For ox_inventory, you need to add the following configuration in your ox_inventory/data/items.lua file.
["weed_seeds"] = {
label = "Seeds",
weight = 10,
stack = false,
close = true,
description = "Seeds.",
client = {
export = "kartik-weed.useSeeds",
}
},
["wet_weed"] = {
label = "Wet Weed",
weight = 10,
stack = false,
close = true,
description = "Wet.",
},
["dry_weed"] = {
label = "Dry Weed",
weight = 10,
stack = false,
close = true,
description = "Dry.",
},
["trimmed_leaves"] = {
label = "Trimmed Leaves",
weight = 10,
stack = false,
close = true,
description = "Trimmed.",
},
["scissor"] = {
label = "Scissor",
weight = 10,
stack = false,
close = true,
description = "Scissor.",
client = {
export = "kartik-weed.useTrimmingScissors",
}
},
["grinded_leaves"] = {
label = "Grinded Leaves",
weight = 10,
stack = false,
close = true,
description = "Grinded.",
},
["glass_jar"] = {
label = "Glass Jar",
weight = 10,
stack = false,
close = true,
description = "Jar.",
client = {
export = "kartik-weed.useGlassJar",
}
},
["curing_jar"] = {
label = "Curing Jar",
weight = 10,
stack = false,
close = true,
description = "Jar with buds curing inside.",
client = {
export = "kartik-weed.useCuringJar",
}
},
["cured_weed_bud"] = {
label = "Cured Weed Bud",
weight = 10,
stack = false,
close = true,
description = "Cured weed bud.",
},
["weed_grinder"] = {
label = "Weed Grinder",
weight = 10,
stack = false,
close = true,
description = "Grinder.",
client = {
export = "kartik-weed.useWeedGrinder",
}
},
["infusion_oil"] = {
label = "Infusion Oil",
weight = 10,
stack = false,
close = true,
description = "Infusion Oil.",
client = {
export = "kartik-weed.useInfusionOil",
}
},
["infusion_mix"] = {
label = "Infusion Mix",
weight = 10,
stack = false,
close = true,
description = "Weed and oil mixing, wait for it to infuse.",
client = {
export = "kartik-weed.useInfusionMix",
}
},
["infused_weed_mix"] = {
label = "Infused Weed Mix",
weight = 10,
stack = false,
close = true,
description = "Infused Weed Mix.",
},
["digital_scale"] = {
label = "Digital Scale",
weight = 10,
stack = false,
close = true,
description = "Digital Scale.",
client = {
export = "kartik-weed.useDigitalScale",
}
},
["measured_weed"] = {
label = "Measured Weed",
weight = 10,
stack = false,
close = true,
description = "Measured Weed.",
client = {
export = "kartik-weed.useMeasuredWeed",
}
},
["weed_bag"] = {
label = "Weed Bag",
weight = 10,
stack = false,
close = true,
description = "Weed Bag.",
},
["packed_weed"] = {
label = "Packed Weed",
weight = 10,
stack = false,
close = true,
description = "Packed.",
},
["joint_paper"] = {
label = "Joint Paper",
weight = 10,
stack = false,
close = true,
description = "Joint.",
client = {
export = "kartik-weed.useJointPaper",
}
},
["weed_joints"] = {
label = "Weed Joints",
weight = 10,
stack = false,
close = true,
description = "Weed Joints.",
client = {
export = "kartik-weed.useJoint",
}
},
['terpenes'] = {
label = 'Terpenes',
weight = 50,
stack = true,
close = true,
description = 'Bottle of aromatic terpenes',
}For qb-inventory, add the following configurations in your qb-core/shared/items.lua file.
Last updated