> For the complete documentation index, see [llms.txt](https://docs.av-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.av-scripts.com/laptop-pack/dark-market/restock.md).

# 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>
