> 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/grid-recipe-asset.md).

# Grid Recipe Asset

## Grid Recipe Asset

### Creating Grid Recipes

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

***

### Overview

Grid Recipes allow you to create **layout-based crafting systems**, where the position of items matters.

This is similar to systems like Minecraft, where items must be placed in a specific pattern to produce a result.

***

### Info Settings

Each Grid Recipe includes customizable display information:

* **Title**
* **Description**
* **Sprite**
* **Color**

***

### Grid Configuration

You can define the size of the crafting grid:

* **Grid Width**
* **Grid Height**

#### Example

* 3x3 grid → Standard crafting bench layout
* 2x2 grid → Inventory crafting setup

Once configured, the grid will generate input slots based on the selected size.

### Crafting Bench Grid Size

The crafting grid size is determined by the crafting bench.\
To change the grid size, modify the bench’s Bag Width and Bag Height.

Example\
3x3 (Width: 3, Height: 3) → Standard crafting bench grid\
2x2 (Width: 2, Height: 2) → Smaller crafting grid

The grid will automatically match the configured bag size.

This allows different crafting stations to support different grid sizes.

***

### Input Items

Each grid slot can contain an item requirement.

* Items must be placed in the **exact same position** in the crafting UI
* The layout must match the recipe for crafting to succeed

#### Item Configuration

Each input item includes a settings button where you can define:

* **Amount**\
  Required quantity of the item
* **Properties**\
  Require specific item properties (e.g., High Quality)

This allows recipes like:

* Require **High Quality Carrot x2** in a specific slot

***

### Output Items

Grid Recipes use an output system similar to dismantling and smelting, but simplified.

Each output item includes:

* **Amount**\
  Fixed or configurable amount
* **Properties**\
  Applied to the crafted item

Example:

* Craft a sword that always has **High Quality**

***

### Craft Conditions

Each Grid Recipe includes a **Can Craft** condition.

* Determines whether the recipe can be crafted
* Runs before crafting is allowed

#### Example Uses

* Check if the player is using an upgraded crafting bench
* Require specific game states or progression

***

### On Craft

Each Grid Recipe includes an **On Craft** instruction.

* Runs every time the recipe is successfully crafted
* Can be used for:
  * Playing effects or sounds
  * Granting experience
  * Triggering additional logic

***

### Recommended Usage

* Use Grid Recipes for pattern-based crafting systems
* Combine with item properties for deeper crafting requirements
