> 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/labs-and-stations.md).

# Labs and Stations

Labs are the main production spaces. Stations are the places inside labs where players produce drugs or process items.

## 🧪 Lab Types

Default seed data includes:

| Lab type | Drug |
| -------- | ---- |
| `farm`   | Weed |
| `lab`    | Meth |
| `lockup` | Coke |

You can add or change lab templates in `/drugs_admin`.

## 🚪 Lab Entry

Lab entry uses one of these modes:

| Mode   | Description                                  |
| ------ | -------------------------------------------- |
| Marker | Players use an interaction marker.           |
| Target | Players use your configured target resource. |

Change this in `config.lua`:

```lua
Config.DrugLabEntryPoint = LAB_ENTRY.MARKER
```

## 🏭 Stations

Stations control where production happens inside a lab.

Station setup can include:

* position
* station index
* station type
* price
* tags
* camera position
* prop model
* prop placement

## 🌍 World Labs

World labs are labs placed outside IPL interiors.

Use `/drugs_admin` to create and configure them. Use `Config.WorldLab` to tune activation distance and polling speed.

## 🏷️ Station Tags

Tags decide what a station is used for. Examples from default data include:

| Tag                | Purpose                   |
| ------------------ | ------------------------- |
| `weed_farming`     | Weed growing station.     |
| `weed_packaging`   | Weed packaging station.   |
| `weed_brick_press` | Weed brick press station. |
| `meth_reaction`    | Meth reaction step.       |
| `meth_filtering`   | Meth filtering step.      |
| `coke_soaking`     | Coke soaking step.        |
| `coke_packaging`   | Coke packaging step.      |
