> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_drugs/features/drug-production.md).

# Drug Production

Drug production is built from actions, required items, rewards, stations, and minigames.

## 🧪 Supported Drugs

Default setup includes:

| Drug | Main flow                                                                    |
| ---- | ---------------------------------------------------------------------------- |
| Weed | Seeds, growing, processing, packaging, joints, brick press.                  |
| Meth | Chemical reaction, filtering, crystallization, breaking crystals, packaging. |
| Coke | Soaking, chemical wash, drying, spreading, weighing, packaging.              |

## ⚙️ Actions

Actions define what a player does at a station.

An action can include:

| Field          | Description                                                                                             |
| -------------- | ------------------------------------------------------------------------------------------------------- |
| Label          | Name shown in the admin panel.                                                                          |
| Animation      | Animation dictionary, name, duration, and flag.                                                         |
| Required items | Items needed before the action can start.                                                               |
| Reward items   | Items given when the action completes.                                                                  |
| Type           | Classic action, sound action, or minigame action. Just a category - no change in any gameplay mechanics |
| Minigame       | Optional minigame used by the action.                                                                   |

Configure actions in `/drugs_admin`.

## 💊 Consumables

Consumables define usable or sellable drug items.

Default examples include:

| Item       | Type     |
| ---------- | -------- |
| `meth`     | Meth     |
| `coke_bag` | Coke     |
| `joint`    | Weed     |
| `coke_toy` | Coke toy |

Configure consumables and sale prices in `/drugs_admin`.

## 🎒 Required Items

Default item images are included in:

```
rcore_drugs/assets/inventory_images
```

Add the matching item definitions to your inventory resource before testing production.
