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 settingsedits 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_manualitem teaches players the whole system in character.
Requirements
| Resource | Purpose |
|---|---|
ox_lib | Locale, callbacks, and UI helpers |
oxmysql | Database access for progression, equipment, and station state |
| o-link | Framework, 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| Stage | Input | Output | Equipment | Time |
|---|---|---|---|---|
| Harvest | none | 2-5 coca_leaf | Wild coca bush | ~6 seconds |
| Stomp | 5 coca_leaf | 1 coca_mash | Coca Pool | Interactive |
| Soak | 3 coca_mash + 1 kerosene | 1 coca_extract | Coca Extractor | Passive (30 min) |
| Cook cocaine | 2 coca_extract + 1 acetone | 1 cocaine | Cook Table | ~20 seconds |
| Cook crack | 1 cocaine + 1-2 cuts | 1+ crack | Cook Table | ~20 seconds |
| Bag | 1 cocaine/crack + 1 baggy per bag | 1 cocaine_bag/crack_bag per bag | Cook Table | Interactive |
| Press | 10 cocaine | 1 cocaine_brick | Brick Press | Interactive |
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.
| Grade | Score |
|---|---|
| Pure | 90-100 |
| High | 70-89 |
| Mid | 50-69 |
| Low | 30-49 |
| Dirty | 0-29 |
Progression Highlights
| Level | Unlocks |
|---|---|
1 | Baking Soda, Cornstarch, Baby Laxative cuts |
3 | Creatine, Caffeine Powder cuts |
5 | Benzocaine, Lidocaine cuts · Brick Press |
7 | Levamisole cut |