vi/raiser
jobs
jobs, GTA 6 style illustration
Vaultadvancedjobs

Drug Lab, Precursor Cook & Packaging

QBCore drug lab: gather precursors, run a server-staged multi-step cook with per-stage timing, then package graded product for distribution, all state server-authoritative.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~116 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / mosaturated
$400($120 to $1,600)

$50-389 script band, sized for a saturated niche; top sellers clear around $11.85K/mo.

Effort vs return
advanced2-3 days

Description

A QBCore drug lab: a cook gathers chemical precursors, then runs a multi-step synthesis where the server drives each stage and its timing before packaging graded product for distribution. The staged cook and a server-derived purity grade lift it above the single-progress-bar labs that crowd this niche, and keep every step authoritative against modded clients.

Prompt Template

You are writing a FiveM resource for QBCore (latest qb-core, GetCoreObject export).

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Expected Output

The reference Lua at content/expected-outputs/jobs/26-drug-lab-cook-package.lua implements a server-owned multi-stage cook with per-stage minimum timing, a purity score derived server-side, and an…

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-tracked stages, a modder skips stages and packages instantly; keep stage and timing in the server cooks table.
  • Non-atomic package, granting product and ending the cook in separate events dupes product; do both in one handler after verifying the final stage.
  • Stale stage advance, advancing without re-checking the player is still at the lab and owns precursors lets remote spoofing drive a cook.

Corrective re-prompt: "Store stage and startedAt server-side, reject lab:advance until GetGameTimer minus the stage start exceeds the per-stage minimum, derive and clamp purity there, and make lab:package verify stage == final before a single AddItem that also clears the cooks entry."

Framework Integration

  • ESX: ESX.GetPlayerFromId(source), xPlayer.getInventoryItem, xPlayer.removeInventoryItem, xPlayer.addInventoryItem("product", n).
  • QBCore: QBCore.Functions.GetPlayer(source), Player.Functions.GetItemByName, RemoveItem, AddItem("product", n, false, { purity = p }).
  • QBox: exports.qbx_core:GetPlayer(source) plus ox_inventory exports for precursors/product if installed.

Profit Potential

$120-$1600/mo on Tebex (expected ~$400), priced inside the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo), scaled for a saturated but high-demand lab niche, nudged up for advanced build depth.

Trend Signal

↘ saturated, inferred: Chemical-synthesis labs (precursor + staged cook) are abundant; demand high but crowded, distinct from cultivation and dealer buy/sell zones.

Sales Angle

Out-engineer the crowd: a genuine multi-stage cook with per-stage timing and a server-derived purity grade, not a single progress bar. Recommended Tebex price $149.

Difficulty & Ship Time

advanced · ships in 2-3 days.