> 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/rpg-builder.md).

# RPG Builder

## About Integration

This integration allows to use all the features of **Easy Build System** with [RPG Builder](https://assetstore.unity.com/packages/tools/game-toolkits/rpg-builder-177657).

#### Features :

* Includes all the [Building Parts](/easy-build-system-old/components/building-part.md) ready to use of "Survival Buildings" add-ons.&#x20;
* 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.
* [Building Saver](/easy-build-system-old/components/building-manager/building-saver.md) component modified to save each building file based on the character's name.

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

Before beginning, make sure you have correctly setup [RPG Builder](https://assetstore.unity.com/packages/tools/game-toolkits/rpg-builder-177657) in your project.

This video will show you how to get started with [RPG Builder](https://assetstore.unity.com/packages/tools/game-toolkits/rpg-builder-177657).

{% embed url="<https://www.youtube.com/watch?v=iKLaDw5NzZ0>" %}
You can watch the video in fullscreen and set the quality to maximum.
{% endembed %}

Before you start, ensure that you have imported the **Easy Build System** into your project. Without this step, accessing the integration will not be possible. You can find a guide to importing it into your project with just a few clicks on the [Getting Started](/easy-build-system-old/getting-started/getting-started.md) page.

<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 [RPG Builder](https://assetstore.unity.com/packages/tools/game-toolkits/rpg-builder-177657) from built-in **Package Manager.**

2️⃣ **Install uSurvival 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 the [RPG Builder](https://assetstore.unity.com/packages/tools/game-toolkits/rpg-builder-177657) integration.
* Make sure to import all the content by clicking on the "All" and "Import" button.

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

3️⃣ **Creating or opening an existing demoscene**

* Open the **"**&#x44;EMO\_RPGBuilder2.&#x30;**"** demoscene from the RPG Builder "Scenes" folder : \ <mark style="color:yellow;">"Blink / Tools / RPGBuilder / Scenes"</mark>

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

4️⃣ **Setup Easy Build System**

* Use the "Scene Setup" feature to install the system in your scene from the tools menu items:\ <mark style="color:yellow;">"Tools > Easy Build System > Integrations > RPG Builder Setup..."</mark>&#x20;

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

5️⃣ **Drag & Drop pickable items**

* Drag and drop the pickable items from the integrations folder "Prefabs" into the scene : \ <mark style="color:yellow;">"Easy Build System / Packages / Integrations / RPG Builder Integration / Prefabs / Pickables"</mark>

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

6️⃣ **Install RPG Builder Integration**

* Back to the "Main Menu" and make sure to save scene changes.
* You can press "T" to open the UI Circular Building Menu in-game.

***

### Requiring Items

You can define your own required items by selecting the [Building Parts](/easy-build-system-old/components/building-part.md) in the Prefabs folder.

* **Required Items** are the items which will be required to place the [Building Part](/easy-build-system-old/components/building-part.md).
* **Refund Items** are the items which will be restored when the [Building Part](/easy-build-system-old/components/building-part.md) is destroyed.

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

***

### Save & Load Buildings

By default, the [Building Saver](/easy-build-system-old/components/building-manager/building-saver.md) component is instantiated in your scene after setup.\
If this is not the case, you can create one and then add the "RPGBuilderBuildingSaver.cs" script.
