# PromptableTemplate

While the [generator-stack-presets](https://docs.moonlander.ai/v.1.0.0.alpha-4/fundamentals/getting-set-up/generator-stack-presets "mention") look very pretty, the real fun is making your own custom worlds of course! The easiest way to get started with your custom worlds is with the **PromptableTemplate**, as it is already preconfigured to listen to your text prompts. Besides that, the generator settings are set in a default way that works well with different types of terrains.

With the PromptableTemplate you can load assets through the text prompting interface. By typing a list of assets that you would like to see, Shapeshifter will create generators (and terrains) that will resemble your input.

{% hint style="info" %}
As of now, prompting works only for loading the right assets! **V1.0.0-alpha.5 will contain much more sophisticated prompting**, like creating the generator settings as well. Please stay tuned!
{% endhint %}

## Getting Started

First, make sure your asset library has the type of assets that you are looking for. You can also wait for the terrain to generate, but **if you prompt palm trees without having them in your library, you won't see any**. Luckily, the BoosterPack will consists of a good variety of assets to start out with.&#x20;

{% hint style="info" %}
You can also use your own assets of course. In that case, make sure the assets have the right metadata by using our [asset-tagging](https://docs.moonlander.ai/v.1.0.0.alpha-4/explore-topics/library/asset-tagging "mention").&#x20;
{% endhint %}

Now, let's get generate your first custom world! You can follow this example to see how it works:

<details>

<summary><strong>Step 1: Load the BoosterPack library in Shapeshifter and select the</strong> PromptableTemplate <strong>in the Generator Stack</strong></summary>

<img src="https://791121862-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTEH16mxQKIQde6BlaH2%2Fuploads%2FoJMIXtdGAT4vMfybbegN%2FScreenshot%202024-01-04%20at%2014.18.39.png?alt=media&#x26;token=cb47df90-cf66-4f35-bef8-a8bae276db5a" alt="" data-size="original">

In the Shapeshifter **Setup**, select in **Library** the **BoosterPack**. Then, press **Edit Generators** if you don't have the Generator page in view. Then, select the **Generator Stack** and select the **PromptableTemplate** in the list:

<img src="https://791121862-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTEH16mxQKIQde6BlaH2%2Fuploads%2FFZwI1gAkoxqhcZYyqbny%2FScreenshot%202024-01-04%20at%2014.20.55.png?alt=media&#x26;token=dc3abcc2-5d0a-48d5-8ce4-589abc9915ba" alt="" data-size="original">

</details>

<details>

<summary>Step 2: Write a prompt to load assets, like "Cacti, meadow, sunny, mushrooms, giant rock<strong>"</strong> </summary>

<img src="https://791121862-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTEH16mxQKIQde6BlaH2%2Fuploads%2FcrCM4mN0TDBk3LNrF4p0%2FScreenshot%202024-01-04%20at%2014.24.58.png?alt=media&#x26;token=8bae70bb-eb0f-4c95-8ac0-ad6e6bc60af1" alt="" data-size="original">

</details>

<details>

<summary>Step 3: Press Generate Area and create your terrain!</summary>

Shapeshifter will now look through your **Asset Library** to find related assets and spawn them.

</details>

## Inspecting your new generator

<figure><img src="https://791121862-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTEH16mxQKIQde6BlaH2%2Fuploads%2FEK85kM7AXICRxaoyUP6G%2FScreenshot%202024-01-04%20at%2014.26.52.png?alt=media&#x26;token=b20bd45f-a106-44ea-89af-9681d245ef12" alt=""><figcaption><p>A world generated with the prompt: "Cacti, meadow, sunny, mushrooms, giant rock<strong>".</strong></p></figcaption></figure>

Now that your world is generated, you can start iterating your world by inspecting the generators. This will give you insights in which assets were loaded, and allow you to change the scene a bit. The **PromptableTemplate** have a few generators loaded, and several of them have an asset loader in place.  Let's take a look of a few of them:

### ObjectPlacementGenerator

The Flowers generator is an ObjectPlacementGenerator responsible for finding flowers. As you can see, the generator has found several cacti to place! The same goes for the Scattered Objects Generator, both mushrooms and rocks were found.

<div><figure><img src="https://791121862-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTEH16mxQKIQde6BlaH2%2Fuploads%2FhC73hNm6xzYkRthbN7Le%2FScreenshot%202024-01-04%20at%2014.35.29.png?alt=media&#x26;token=fbe618f4-e112-4aa4-9c6b-608859e977ed" alt="" width="301"><figcaption><p>Flowers generator</p></figcaption></figure> <figure><img src="https://791121862-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTEH16mxQKIQde6BlaH2%2Fuploads%2FPzb5hfC6QIx6ZM86xtg3%2FScreenshot%202024-01-04%20at%2014.39.32.png?alt=media&#x26;token=894a738f-c069-4976-8039-d34fdeb49637" alt="" width="196"><figcaption><p>Scattered Objects generator</p></figcaption></figure></div>
