> For the complete documentation index, see [llms.txt](https://docs.fullscreen.no/info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fullscreen.no/info/game-creator-2-assets/inventory-extended/smelt-item-asset.md).

# Smelt Item Asset

## Smelt Item Asset

### Creating Smelt Items

To create a new Smelt Item asset:\
Right-click inside your Project folder →\
**Create > Game Creator > Inventory Extended > Smelt Item**

Each Smelt Item asset is linked to a single Item.

* Only **one Smelt Item asset per Item** is allowed
* Each asset can contain **multiple Smelt States**

***

### What is Smelting?

Smelting allows you to process items (such as ores) into new materials.

The results can vary depending on the item's **runtime properties**, such as quality, durability, or any custom value.

***

### Duration

Each Smelt Item includes a **Duration** field.

* Defines how long it takes to smelt the item
* Can be used with queue systems or progress-based UIs

***

### How Smelt States Work

Smelt States determine what outputs are returned.

* States are evaluated **from top to bottom**
* The **first State that matches its conditions** is used
* Once matched, no further states are checked

#### Example

* If *Quality = High* → Return more ingots
* If *Quality = Low* → Return fewer ingots

This allows higher-quality materials to produce better results.

***

### Smelt State Configuration

Each Smelt State contains:

* **Conditions**\
  Determines when this state is used
* **Output Items List**\
  Defines what items are returned when smelting

***

### Output Items

Each state can contain multiple output items.

You can configure each output by clicking the **settings button** on the item[ ](#user-content-fn-1)[^1]entry.

#### Available Settings

* **Amount**\
  Fixed or random amount (e.g., 1, or 1–3)
* **Chance (0–100)**\
  Defines drop probability
  * 100 = always drops
  * 50 = 50% chance
* **Amount Range (UI)**\
  Used for displaying ranges in the smelting UI
* **Chance (UI)**\
  Used for displaying drop chances in the UI
* **Properties**\
  Applied to the created item when generated
  * Example: Return **High Quality Ingots** based on input item

***

### Conditions

Conditions are typically based on Runtime Item Properties, such as:

* Quality
* Durability
* Custom values

Example:

* *If Runtime Item Property (Quality) = High → High yield state*

This allows smelting results to dynamically scale with item quality.

***

### On Smelt

Each Smelt Item includes an **On Smelt** event.

* Runs **every time** an item is smelted
* Can be used for:
  * Playing effects or sounds
  * Granting experience
  * Triggering additional logic

***

### Recommended Usage

* Use Smelt States to scale outputs based on item quality
* Keep logic modular by using conditions instead of duplicating assets
* Combine with Item States and Properties for deeper crafting experience

[^1]:
