# pet-shops.yml

The *pet-shops.yml* file contains the shops where players can buy pets. Pet shops are exclusively available in the 💲 premium version of MyPet.

You can create as many shops as you want, but all of them need different IDs (`<shop-id>`)

| Setting                                     |       Type      |                                                                Description                                                               |
| ------------------------------------------- | :-------------: | :--------------------------------------------------------------------------------------------------------------------------------------: |
| **Shops:**                                  |                 |                                                                                                                                          |
|   **\<shop-id>:**                           |                 |                                  `<shop-id>` can be chosen freely but needs to be unique for every shop                                  |
|         Name:                               |      string     |                                             The name that will be shown in the shop overview                                             |
|       **Balance**:                          |                 |                                                                                                                                          |
|         Type:                               |      string     |                                                                   TODO                                                                   |
|       **Pets**:                             |                 |                                                                                                                                          |
| These settings are per pet that's been sold |                 |                                                                                                                                          |
|         **\<unique-string>:**               |                 |                                                                                                                                          |
|           Name:                             |      string     |                                                        The name the pet will have                                                        |
|           Description:                      | list of strings |                                      The description that will be shown when hovering the shop item                                      |
|           Position:                         |     integer     |                                       The slot in the inventory the pet item will have in the shop                                       |
|           Exp:                              |      double     |                                                         The XP the pet will have                                                         |
|           Price:                            |      double     |                                          The price the player has to pay in order to get the pet                                         |
|           Skilltree:                        |      string     |                                                      The skilltree the pet will have                                                     |
|           PetType:                          |      string     |                                                          The mob type of the pet                                                         |
|           Options:                          | list of strings | These work exaclty like the parameters for the pet create admin command. You can see an example in the comment of the first default shop |


---

# 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://wiki.mypet-plugin.de/legacy/setup/configurations/shopconfig.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.
