> For the complete documentation index, see [llms.txt](https://mindcodeinteractive.gitbook.io/easy-build-system-old/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mindcodeinteractive.gitbook.io/easy-build-system-old/integrations/game-creator-2/game-creator-2-inventory.md).

# Game Creator 2 - Inventory

{% hint style="info" %}
This integration still in development and will continue to be enhanced in the future.\
If you have any issues, please feel free to reach out to our support.
{% endhint %}

## About Integration

This integration allows to use all the features of **Easy Build System** with [Game Creator 2 Inventory](https://assetstore.unity.com/packages/tools/utilities/inventory-2-game-creator-2-by-catsoft-works-208668).

{% hint style="warning" %}
This integration is based on that of [Game Creator 2](https://assetstore.unity.com/packages/tools/game-toolkits/game-creator-2-203069), which is also required to function with it. It includes new instructions to make it work with the [Game Creator 2 Inventory](https://assetstore.unity.com/packages/tools/utilities/inventory-2-game-creator-2-by-catsoft-works-208668) module.
{% endhint %}

You can follow the installation tutorial below to try out the demo scene included in it and get more information on what can be done. It's just a simple example, but it already provides you with a good starting point to further develop from there.

**Features :**

* Includes all the [Building Parts](/easy-build-system-old/components/building-part.md) ready to use of "Survival Buildings" add-ons.
* Two types of building, via required resources with the hammer or by clicking on the building items.
* Customized [Circular Building Menu](/easy-build-system-old/addons/circular-building-menu.md) add-on to place [Building Parts](/easy-build-system-old/components/building-part.md) based on the required resources in the player's inventory.
* Possible to recover some of their resources upon destruction of [Building Parts](/easy-build-system-old/components/building-part.md).
* Includes pickable items such as "Wood Planks" and "Screws" resources required for building.

{% hint style="warning" %}
If you encounter errors with integration, it is possible that a new update changed some things in the code and therefore is no longer compatible with the system integration.\
If this is the case, you can contact support to receive a hotfix quickly.
{% endhint %}

***

## Installation Guide

<mark style="color:red;">**Requires :**</mark>

* [Circular Building Menu Add-on](/easy-build-system-old/addons/circular-building-menu.md)
* [Survival Buildings Add-on](/easy-build-system-old/addons/survival-buildings.md)

1️⃣ **Prerequisites**

* Import the latest version of **Easy Build System** from built-in **Package Manager**.
* Import the latest version of [Game Creator 2 Inventory](https://assetstore.unity.com/packages/tools/utilities/inventory-2-game-creator-2-by-catsoft-works-208668) from built-in **Package Manager**.

2️⃣ **Install "Adventure" package**

* Install the "Adventure" package of [Game Creator 2 Inventory](https://assetstore.unity.com/packages/tools/utilities/inventory-2-game-creator-2-by-catsoft-works-208668) from the menu items :\ <mark style="color:yellow;">"Game Creator > Install..."</mark>

<figure><img src="/files/ZMyiAj3WtzUZSCrp3HqN" alt=""><figcaption><p>Expand the image to large view by clicking on it.</p></figcaption></figure>

3️⃣ **Install Game Creator 2 Inventory integration**

* Open the **Packager Importer** from the tools menu items : \ <mark style="color:yellow;">"Tools > Easy Build System > Package Importer"</mark>
* Go to "Integration Packages" section and install integration of [Game Creator 2 Inventory](https://assetstore.unity.com/packages/tools/utilities/inventory-2-game-creator-2-by-catsoft-works-208668).
* Make sure to import all the content by clicking on the "All" and "Import" button.

<figure><img src="/files/fvBTNiLUvcNk5mU7oxi0" alt=""><figcaption><p>Expand the image to large view by clicking on it.</p></figcaption></figure>

4️⃣ **Open "Example" demoscene**

* Open the **"Example"** demoscene in the integration folder to try it : \ <mark style="color:yellow;">"Easy Build System / Packages / Integrations / Game Creator 2 Inventory Integration"</mark>

<figure><img src="/files/cuitxFAnweT8f1baWCa6" alt=""><figcaption><p>Expand the image to large view by clicking on it.</p></figcaption></figure>

***

### Placeable Items

If you want to switch to placement mode when you are using a specific item, such as those included for the demoscene, you can add a new instruction 'Select Building Item' in the Usage section of your item. You can then set the [Building Part ](/easy-build-system-old/components/building-part.md)that you want to place in the field "Part".

This will allow you to enter placement mode when using the item via the inventory or hotbar.

<figure><img src="/files/pgDd7G5VE0JXwLqJLivv" alt="" width="563"><figcaption><p>Expand the image to large view by clicking on it.</p></figcaption></figure>

***

### Requiring Items

If you use the hammer, you can open the building circular menu and see the default [Building Parts](/easy-build-system-old/components/building-part.md). Each of these parts requires items that must be in the inventory to be placed.

You can change these required items directly within the "Game Creator Building Entity" script attached to each one of them.

It is also possible to define refund items, so that when the item is destroyed, some items are restored.

<figure><img src="/files/Dh2G4RMt1JjU69qM5Thx" alt=""><figcaption><p>Expand the image to large view by clicking on it.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://mindcodeinteractive.gitbook.io/easy-build-system-old/integrations/game-creator-2/game-creator-2-inventory.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
