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


  • 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

Last updated