> For the complete documentation index, see [llms.txt](https://diplomacybymine.gitbook.io/dbym/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://diplomacybymine.gitbook.io/dbym/buildings/market.md).

# Рынок

Благодаря рынку, ваши жители и иностранцы могут торговаться друг с другом.

### **Функционал:**&#x20;

Рынок добавляет в город продавца, продающий базовые ресурсы региона за монеты *(например: если вы живёте в регионе джунглей, то продавец будет продавать вам какао-бобы, арбузы, тропическое дерево т.д.).*

### **Как строить:**&#x20;

* Рынок должен иметь прилавки для продавцов, чем больше прилавков - тем больше продавцов *(учтите, что каждый продавец продаёт лишь 1 вид ресурса т.е., например - 1 продавец продаёт виды местного дерева, а продавец в соседней палатке - камень и руды)***, но всего продавцов может быть 6.**&#x20;
* **Каждый** прилавок и его окружение должны иметь декор, место для хранения продукта и специального оборудывания *(например, если продавец торгует едой, то он должен иметь печку или костёр на своём прилавке)***.**
* &#x20;Размером рынок должен быть от 2х3 чанков до 5х5 чанков.

### Пример постройки:

<figure><img src="https://261848380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXIRE4tk7QgCnn11JglVM%2Fuploads%2FIV994Du2Xy5uKCKCnGCO%2Fimage.png?alt=media&amp;token=e862e0d2-d3d1-419d-a123-e03941633d4f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://261848380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXIRE4tk7QgCnn11JglVM%2Fuploads%2Fq9mU62uiv0l6ONTxGMme%2Fimage.png?alt=media&amp;token=63cd298a-2356-4f00-be69-e3f30602e31a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://261848380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXIRE4tk7QgCnn11JglVM%2Fuploads%2F6lp1pQjRPzE4y7w35J4u%2Fimage.png?alt=media&amp;token=8cbf060a-a092-4118-84b9-679b8ed98903" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://diplomacybymine.gitbook.io/dbym/buildings/market.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
