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).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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)plusox_inventoryexports for precursors/product if installed.
Profit Potential
$120–$1600/mo on Tebex (expected ~$400). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100), 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.