# 👩🏻‍🔬• Chemicals

## 🚀 KVL CHEMICALS: The Ultimate Drug Empire Simulation

Transform your server's criminal roleplay from boring "press E to gather" circles into a high-stakes, fully interactive Breaking Bad experience. KVL Chemicals is a premium, highly optimized drug production and distribution simulation. Featuring flawless instanced interiors, immersive UI-based mini-games, an in-depth economy sink, and a fully custom Dark Web OS.

### 🏢 1. Flawless Instanced Interiors (Routing Buckets)

* Zero Player Overlap: Multiple players can rent the exact same physical building, but the script dynamically assigns them to unique, private virtual worlds. No raiding, no overlapping, 100% privacy.
* Seamless Entry/Exit: Even if a player crashes or logs out inside their lab, the database remembers their specific `lab_id` and securely spawns the correct exit point when they reconnect. No falling through the map!
* Tiered Real Estate: Players can rent everything from dingy Tier 1 basements to massive Tier 3 underground military bunkers.
* Daily Rent Money Sink: Creates a massive economy sink. Players must pay daily rent via their tablet, or risk losing their lab access and equipment.

### 🧪 2. Highly Interactive Crafting & Mini-Games

* Modular Table Assembly: Players must manually set up their lab using `qb-target`. Connect the portable generator, attach the gas cylinder, mount the glassware, and install the carbon filter step-by-step with custom animations.
* Heat & Pressure Mini-Game: Active RP! Players must balance Heat (W/S keys) and Pressure (A/D keys) in a custom NUI to keep the synthesis stable.
* Precision Scaling: After the cook, players must hit the Spacebar exactly in the center of the scale UI to package the perfect gram.
* Dynamic Quality: The product yields Dynamic Quality (Low, High, or 99% Pure "Blue Magic") based on the player's performance in the mini-games.

### ☣️ 3. Realism, Dangers & Immersive Visuals

* Toxic Environments & Cinematic FX: Cooking generates deadly gas. If players don't use a Carbon Filter or Gas Mask, they suffer health damage, cinematic screen-blurring, and heavy coughing animations.
* Equipment Durability & Fires: Tables degrade and filters clog up. Ignoring maintenance leads to catastrophic lab explosions, sudden fires, and intense camera shakes. Players must fight the flames or flee!
* Toxic Waste Management: After a cook, players must safely store toxic waste in barrels, seal them, and dump them in the ocean or trade them on the Dark Web. Unsealed barrels contaminate the area.

### 📱 4. Custom "Nokia" Dark Web Tablet (NUI)

A sleek, standalone UI item that acts as the player's central illegal hub:

* Real Estate App: Browse, compare, and pay deposits for new lab locations.
* Contracts App: Accept dynamic, randomized NPC delivery missions to earn money and "Street Reputation".
* Network Ops (Player-to-Player): An anonymous Dark Web marketplace! Pay a fee to post bulk drug listings for other real players to buy.
* Lab Upgrades: Purchase permanent perks like Reinforced Steel Doors (slows down PD raids), Signal Jammers, and Ventilation Systems.

### 💰 5. Dynamic Street Dealing & Progression

* Hand-to-Hand NPC Sales: Sell your product to local NPCs. They react dynamically based on the drug's quality and your current "Street Rep"—they might buy it, reject it, or call the cops!
* Kingpin Reputation System: Progress from a Rookie to a Boss. Higher reputation unlocks wider Dark Web limits and better NPC payout rates.
* The "Baking Soda" Exploit: Act like a true street dealer. Cut your pure product with Baking Soda to instantly double your quantity, sacrificing quality for massive volume sales.

### 💊 6. In-Depth Addiction & Medical System

* Metadata Saved Addiction: Character addiction levels (`drug_addiction`) are saved persistently to the SQL database.
* Severe Withdrawals: High addiction causes randomized screen blurring and forces the character into a stumbling "drunk walk" animation until they take a Rehab Pill.
* Adrenaline Mechanics: Players can inject Adrenaline to temporarily stop hand tremors, making the crafting mini-games much easier under pressure.

### 🛡️ 7. A Server Owner's Dream (Security & Optimization)

* Ultra-Optimized (0.00ms): Despite the massive feature set, the script runs at a flawless 0.00ms idle. It will never drop your server's tick rate.
* Strict Server-Side Validation: Modders can't touch this. All payouts, item giving, and mini-game results are strictly validated server-side. NUI DevTools exploitation is impossible.
* Dynamic PD Alerts: If a carbon filter breaks, chemical odors leak outside. If a player hasn't bought a "Signal Jammer," their equipment frequencies trigger police dispatches automatically.
* Fully Translatable: Comes with pre-configured locales (EN, ES, FR, DE, RU, TR). No hardcoded UI text! Easy to adapt to any language.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kavl.gitbook.io/kvl-store/scripts/chemicals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
