# Blacksmith System

We use DeluxeMenus to power this blacksmith equipment-forging system. Essentially, there are three main menus that lead to smaller sub-menus, each dedicated to a single recipe for a specific piece of equipment.

When a player clicks **CRAFT**, the system checks their requirements: such as items, currency, and other conditions using placeholders from PlaceholderAPI and the requirements feature in DeluxeMenus.

If all conditions are met, the player receives the crafted item, and the required items, coins, and other resources are deducted.

### **Basic Blacksmith Workflow:**

{% stepper %}
{% step %}

#### Open Main Menu (/blacksmith)

The player opens one of the **three main menus (Tools & Weapons, Equipments, Misc)** in the blacksmith menu.

Each menu item button links to its own set of sub-menus (Item Menu).
{% endstep %}

{% step %}

#### Navigate to Sub-Menu (Item Menu)

The player selects a sub-menu corresponding to a **specific equipment recipe**.
{% endstep %}

{% step %}

#### Select CRAFT button

The player clicks the **CRAFT** button for the chosen recipe.
{% endstep %}

{% step %}

#### Check Requirements

The system verifies all player requirements, including

* Required items in inventory.
* Sufficient in-game currency (coins).
* Any other specific conditions.

These checks are performed using **PlaceholderAPI placeholders** and **DeluxeMenus requirements**.
{% endstep %}

{% step %}

#### If Requirements Are Met

Give the player the crafted equipment.

Deduct the required items, coins, and any other resources.
{% endstep %}

{% step %}

#### If Requirements Are Not Met

Notify the player of missing items, insufficient currency, or unmet conditions.
{% endstep %}
{% endstepper %}


---

# 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://wiki.hyronic.dev/server-setups/hyronic-skyblock/blacksmith-system.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.
