# Restock

{% hint style="info" %}
Restock interval config can be found in server/editable/\_config.lua
{% endhint %}

The restock function is an automated background loop that periodically refreshes the marketplace inventory based on a configurable interval.\
When executed, the system performs the following actions:

* **Stock Replenishment:** Resets the quantities of all items to their maximum defined levels.
* **Dynamic Rotation:** Re-evaluates every item's `probability` to determine its visibility.

<figure><img src="/files/MoVnnm9p5Uci1L9sXvv2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://docs.av-scripts.com/laptop-pack-v3/dark-market/restock.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.
