# Using Content Patcher

The structure of a NITV Content Patcher mod generally consists of a \[CP] content patcher mod alongside whatever assets related to the creatures you are adding you want to load.&#x20;

<div align="center" data-full-width="false"><figure><img src="https://2603711151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8zDaRKSOdbNDCttuJbTQ%2Fuploads%2FiJ3NLZKt8RyrgNKZFyVF%2FCapture.PNG?alt=media&#x26;token=9582caee-61a7-4597-8540-2533e22534b7" alt=""><figcaption></figcaption></figure></div>

Your manifest.json should look something like this.

```
{
    "Name": "ExamplePackContent",
    "Author": "Nature",
    "Version": "1.0.0",
    "Description": "",
    "UniqueID": "Nature.ExamplePackContent",
    "UpdateKeys": [""],
    "ContentPackFor": {
        "UniqueID": "Pathoschild.ContentPatcher"
    },
    "Dependencies": [
    {
       "UniqueID": "Nature.NatureInTheValley"
    }
    ]
}
```

And your content file will look something like this, where you first load the assets required for your creature(s) and then target "Nature.NITV/Creatures"  to edit in your creatures.

```
{
   "Format": "2.0.6",
   "Changes": [
        {
            "Action": "Load",
            "Target": "Mods/NITVExample/Fly, Mods/NITVExample/FlyItem",
            "FromFile": "PNGs/{{TargetWithoutPath}}.png"
        },
        {
            "Action": "EditData",
            "Target": "Nature.NITV/Creatures",
            "Entries": {
                "CommonButterfly": {
                    "grounded": false,
                    "speed": 0.004,
                    "scale": 1.1,
                    "range": 0,
                    "locations": [
                        "0",
                        "SeedShop"
                    ],
                    "minTime": 1200,
                    "spritePath": "Mods\\NITVExample\\FlyItem",
                    "xDef": 30,
                    "yDef": 11,
                    "Price": 40,
                    "displayName": "Fly",
                    "displayDescription": "A simple fly"
                }            
            }
        }
   ]
}
```

Note that when using content patcher, you only need to include the variables which are \*not\* equal to their default values.

## [Check Out The Creature Model For What Each Piece Of Data Means](https://nature-in-the-valley.gitbook.io/nature-in-the-valley-documentation/adding-a-creature/markdown)


---

# 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://nature-in-the-valley.gitbook.io/nature-in-the-valley-documentation/adding-a-creature/publish-your-docs.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.
