Oxide Cocaine

Full cocaine and crack production system with harvesting, stomping, soaking, cooking, cutting, bagging, and pressing for FiveM servers.

Oxide Cocaine is a placed-station production system for FiveM servers. Players harvest wild coca leaves, stomp them into mash, soak the mash into a raw extract, and cook that extract into powder cocaine — then cook a second time into crack, bag the product for the street, or press it into wholesale bricks. Purity is scored at the cook and carried as item metadata through every later stage, so what a player cooks is what they sell, trade, and store.

Key Features

  • Placed-station pipeline - Harvest, stomp, soak, cook, bag, and press across four placeable stations.
  • Two products from one chain - Cook powder cocaine, then cook it again into crack ("stepping on it").
  • Required cutting agents - Every crack batch is cut with one or two adulterants that stretch the yield at the cost of purity, with a live in-world preview of the selected cut.
  • Purity tracking - A 5-grade system (Pure, High, Mid, Low, Dirty) decided at the cook and carried through bagging, pressing, storage, and trading via item metadata.
  • Interactive minigames - A free-walking pool stomp, a restart-safe passive soak, a temperature-control cook, and a spoon-and-baggy bagging scene.
  • Usable street products - Bagged cocaine (sniff) and crack (smoke) with purity-scaled stimulant effects, stress relief, and comedown.
  • 10-level progression - XP for every stage; leveling reduces the cook's purity penalty and unlocks the brick press at level 5.
  • Wild coca spawns - Configurable polygon zones seed wild bushes as the built-in leaf source.
  • In-game settings menu - /cocaine settings edits every setting live — recipes, timers, XP and levels, purity, minigame difficulty, prop positions, effects, and in-world zones — stored in the database, with no file editing or restart.
  • In-game manual - The cocaine_manual item teaches players the whole system in character.

Requirements

ResourcePurpose
ox_libLocale, callbacks, and UI helpers
oxmysqlDatabase access for progression, equipment, and station state
o-linkFramework, inventory, targeting, notification, needs, and usable-item abstraction

Cocaine works on QBCore, QBX, and ESX through o-link — there is nothing framework-specific to configure beyond registering the items.

Quick Start

Place oxide-cocaine in your resources folder.

Start ox_lib, oxmysql, o-link, and then oxide-cocaine.

Register the equipment, ingredient, cutting-agent, and product item names in your inventory, and copy the item images. The database tables are created automatically on first start — no SQL to run.

Walk the production line in game to verify harvesting, cooking, bagging, and pressing, then tune anything you like with the in-game settings menu (/cocaine settings).

See the Installation Guide for the full setup flow.

Production Pipeline

Harvest -> Stomp -> Soak -> Cook -> (Bag for the street) or (Press into bricks)
                                  \-> Cook again -> Crack -> Bag for the street
StageInputOutputEquipmentTime
Harvestnone2-5 coca_leafWild coca bush~6 seconds
Stomp5 coca_leaf1 coca_mashCoca PoolInteractive
Soak3 coca_mash + 1 kerosene1 coca_extractCoca ExtractorPassive (30 min)
Cook cocaine2 coca_extract + 1 acetone1 cocaineCook Table~20 seconds
Cook crack1 cocaine + 1-2 cuts1+ crackCook Table~20 seconds
Bag1 cocaine/crack + 1 baggy per bag1 cocaine_bag/crack_bag per bagCook TableInteractive
Press10 cocaine1 cocaine_brickBrick PressInteractive

Purity Grades

The cook's temperature control sets a 0-100 score that becomes a grade stamped on the item and carried through every later stage.

GradeScore
Pure90-100
High70-89
Mid50-69
Low30-49
Dirty0-29

Progression Highlights

LevelUnlocks
1Baking Soda, Cornstarch, Baby Laxative cuts
3Creatine, Caffeine Powder cuts
5Benzocaine, Lidocaine cuts · Brick Press
7Levamisole cut

Documentation