crg-illegal

🍇🌿💊 Drug Production System

A fully interactive, configurable, and immersive drug production system that includes Grapes (Wine), Weed, and Meth Cooking mechanics. Each activity has its own collection zones, processing locations, requirements, alerts, and unique gameplay interactions.


📁 Files

This script uses two main configuration files:

  • localization.lua → All texts shown to players

  • main.lua (Config) → Positions, timers, item counts, alerts, questions, and mechanics


🌍 Localization

These are all localization strings used by the system: localization

Category
Key
Message

Inventory

inventory_is_full

Your inventory is full!

Failures

processing_failed

Processing failed!

Missing Items

processing_items_not_found

You do not have required items for processing!

Grapes Collect

collect_grapes

Collect Grapes

collecting_grapes

Collecting Grapes

collecting_grapes_failed

Grapes collecting cancelled!

collected_grapes

Uses Config.Grapes.CountForEachCollect to display collected amount

Grapes Process

process_grapes

Process Grapes

processing_grapes

Processing Grapes

processing_grapes_failed

Grapes processing cancelled!

processed_grapes

Uses Config.Grapes.CountForEachProcess to show wine output

Weed Collect

collect_weed

Collect Weed

collecting_weed

Collecting Weed

collecting_weed_failed

Weed collecting failed!

collected_weed

Uses Config.Grapes.CountForEachCollect to display collected weed

Weed Process

process_weed

Process Weed

processing_weed

Processing Weed

processing_weed_failed

Weed processing cancelled!

processed_weed

Uses Config.Weed.CountForEachProcess for joint output

Meth

cook_meth

Cook Meth

cook_meth_alert

Police alert text

cook_meth_continues

You are cooking meth

cook_meth_starting

Preparing stage

cook_meth_failed

Cooking failed

cook_meth_cancelled

Cooking cancelled

cook_meth_waiting_answer

Waiting for question answer

cook_meth_answer_correct

Displays amount cooked based on Config.Meth.CountForEachQuestion

cook_meth_answer_wrong

Wrong answer!

cook_meth_end_inventory

Inventory full!

cook_meth_blow

Explosion warning

cook_meth_complete

You completed all process successfully!


⚙️ Main Configuration

Here is the full configuration used in the script: main


🍇 Grapes System (Wine Production)

🟪 Collecting Grapes

Setting
Value

Position

1990.71, 4846.42, 43.0

Radius

7.5

Grapes per Collect

6

Time per Collect

7500 ms

Map Blip

Enabled, “Grapes Collect”, icon 570

Gameplay

  1. Player enters the grape field.

  2. Presses the interaction key.

  3. Collects 6 grapes per action.


🍷 Processing Grapes → Wine

Setting
Value

Position

2433.8, 4976.38, 45.57

Radius

3.5

Grapes Required

5 per bottle

Time per Process

1000 ms

Map Blip

Enabled, “Grapes Process”, icon 93

Gameplay

  • Players convert 5 grapes → 1 bottle of wine

  • Processing is fast (1 second)


🌿 Weed System

🌱 Weed Collection

Setting
Value

Weed Prop

prop_weed_02

Area Corner A

-34.28, 6862.54, 14.77

Area Corner B

1.27, 6883.89, 12.32

Total Plants

25

Weed per Collect

2

Time per Collect

12500 ms

Blip

Enabled, “Weed Collect”, icon 469

Gameplay

The system spawns 25 weed plants inside the designated area. Players walk to each plant and collect 2 weed per action.


🌿 Weed Processing → Joints

Setting
Value

Position

2485.36, 3445.81, 50.07

Radius

4.0

Weed Required

3 weed → 1 joint

Time per Process

1000 ms

Blip

Enabled, “Weed Process”, icon 140


💊 Meth Cooking System

The meth system is the most advanced part of this script.

🚨 Alerts

  • Jobs alerted: police, sheriff

  • Alert triggers when cooking begins


🚐 Meth Van Requirements

Setting
Value

Van Model

JOURNEY

Minimum Seats

4

Required Items

2 acetone, 2 lithium, 1 meth lab


🧪 Cooking Sequence

1️⃣ Preparation Phase

  • Duration: 1500 ms

  • Shows “You are preparing to cook”

2️⃣ Question Phase

Setting
Value

Questions to Ask

4

Time for Answer

5000 ms

Time Between Questions

5000 ms

Meth per Correct Answer

1

The system randomly asks from 5 preset questions:

Example (from config):

3️⃣ Explosion Mechanic 💥

Some questions have "blow = true" Wrong answer → van explodes.

4️⃣ Completion

After answering all questions:

  • Meth is added to the inventory

  • If inventory is full → process ends

  • Success message displayed


📦 Example Questions from Config

(All questions listed in configuration)

Last updated