# Usage

* **Approach a Station**
  * Players either see a prompt to press **E** (if <mark style="color:red;">`Config.Target = false`</mark>), or a target-based icon (if <mark style="color:red;">`Config.Target = true`</mark>).
* **Select an Item**
  * A UI (NUI or ESX/QBCore menu, depending on your script) lists craftable items/weapons.
  * Each requires certain materials (e.g., <mark style="color:red;">`metal_scrap`</mark><mark style="color:red;">,</mark> <mark style="color:red;"></mark><mark style="color:red;">`gunpowder`</mark>), which get removed on successful crafting.
* **Wait for Crafting**
  * A progress bar or timer counts down (configurable in <mark style="color:red;">`items[x].time`</mark>).
  * If the player leaves midway or the server restarts, progress is saved (if supported by your script).
* **Receive the Item**
  * Once the timer completes, the new item or weapon is placed in the player’s inventory.

{% content-ref url="configuration" %}
[configuration](https://risk-scripts.gitbook.io/risk-scripts/scripts/advanced-crafting-system/configuration)
{% endcontent-ref %}
