> 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/cazarms.md).

# Казармы

Казарма обеспечивает город и нацию войсками для обороны от врага и наступления.

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

Благодаря казарме, вы имеете возможность создавать, организовывать, обучать и содержать свои наземные пехотные рукопашные и артиллерийские войска \
*(именно ближнего боя или артиллерийские, т.е. 1 казарма = 1 вид войск, но без лучников)*

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

* В каждой казарме должно быть помещение ***(максиум 12 спальных мест)*** или палатки ***(максиум 4 палатки, в каждой палатке максиум может быть 2 спальных мешка;)*** для размещения войска; 1 спальное место = 1 воин.
* **Также** в казарме должен быть колодец, костёр, место для хранения: боеприпасов, снаряжения, продовольствия и место для обучения солдат.
* **Размером казарма должна быть от 2х2 до 6х6 чанков.**

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

<figure><img src="https://261848380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXIRE4tk7QgCnn11JglVM%2Fuploads%2FGG7jbTaBmGbiNGJyvBQx%2Fimage.png?alt=media&amp;token=b069b0d3-b6f0-4f27-a338-64ef37eda503" alt=""><figcaption></figcaption></figure>

<figure><img src="https://261848380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXIRE4tk7QgCnn11JglVM%2Fuploads%2F6XdHHWIMpfwRpCTiOP70%2Fimage.png?alt=media&amp;token=3379f2b2-b487-4419-8067-0038bb9c061a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://261848380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXIRE4tk7QgCnn11JglVM%2Fuploads%2FRISw5qOK1fuLQPtTnUKS%2Fimage.png?alt=media&amp;token=f859101e-f470-47ff-876e-d28c016633c1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://261848380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXIRE4tk7QgCnn11JglVM%2Fuploads%2FdAlBW7zDJOdfkZnJ0DbO%2Fimage.png?alt=media&amp;token=7d9bc6cc-b426-4e11-91c7-a528f29d8abb" 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/cazarms.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.
