> 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/stash-and-storage.md).

# Stash and Storage

Labs use storage for production items, finished products, and sale flows.

## 📦 Lab Stash

The stash system stores items per lab. Players with the correct lab role can deposit and withdraw items.

Stash access is controlled by lab roles, not by `config.lua`.

## ⏳ Pending Items

Some production flows move items into a pending state while actions are running.

This prevents players from withdrawing the same items during processing.

## 🔁 Mission Returns

`Config.Missions.ReturnUnsoldItemsToStash` controls what happens to unsold mission items.

| Value   | Result                                |
| ------- | ------------------------------------- |
| `true`  | Unsold items return to the lab stash. |
| `false` | Unsold items are deleted.             |

## 🔐 Access

Give players stash access from `/drugs_admin` with the `stash_access` role.


---

# 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://documentation.rcore.cz/paid-resources/rcore_drugs/features/stash-and-storage.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.
