# SO Creator

{% hint style="danger" %}
It will override similar files generated previous, shouldn't be a problem since they will have same result.
{% endhint %}

## How to use

1. Choose the base Scriptable Object
2. Choose a folder to save the new scriptable objects
3. Set the possible permutations
4. Refresh Fields to see a summary of everything that will be created
5. Confirm the prompt if the number seems right

{% hint style="info" %}
Generated Scriptable Objects will be located at Resources/Generated/\_\_FOLDER\_\_&#x20;
{% endhint %}

## Example

Let's create all variations of EffectDamage, as the log below shows, it will permutate in all trait datas, since EffectDamage could look for specific traits to boost effects (like spell damage)

<figure><img src="https://4020231458-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FlaBsfIBiMF2VZfBPmNFz%2FScreenshot_10.png?alt=media&#x26;token=fbaf47f9-2849-4c7a-bb4d-bd325466e39d" alt=""><figcaption></figcaption></figure>

It shows that we will create 5 variations, 1 for each trait (4) + 1 with trait as none.

<figure><img src="https://4020231458-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FUBvwXvaCeGSZJUPaAbuL%2FScreenshot_9.png?alt=media&#x26;token=b8a10dc6-eea2-41a1-a1a2-4405443f5ffa" alt=""><figcaption></figcaption></figure>

After they are generated you can choose to move to your game files, or keep they in generated folder.

{% hint style="info" %}
The generated file name will be something like effect\_damage\[\_trait]
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://moratelli.gitbook.io/moratellis-toolbelt-for-tcg-engine/tools/so-creator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
