> For the complete documentation index, see [llms.txt](https://doc.pixotchi.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.pixotchi.tech/game-mechanics/lands/barracks-and-raids.md).

# Barracks & Raids

The Barracks: train Swordsmen and Phalanxes, raid other lands' production, and defend your own warehouse.

The Barracks brings land-versus-land warfare to Pixotchi. Train troops, raid your neighbors' **uncollected and warehoused production**, and haul the spoils home. Or build a defense that makes raiders regret trying.

## Getting started

Build a Barracks for **250 SEED** (instant). Then train your army. Training costs **PIXOTCHI, which is burned**, making every soldier a small deflationary event.

## The troops

|                    | <img src="https://839080418-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ZKqK3xpoNPWAfr9LDSn%2Fuploads%2FcI7hiuE81CgCBFxRp8A4%2Fswordsman.png?alt=media" alt="" data-size="line"> Swordsman | <img src="https://839080418-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9ZKqK3xpoNPWAfr9LDSn%2Fuploads%2FykeLJpoLn1u14X3cNoWQ%2Fphalanx.png?alt=media" alt="" data-size="line"> Phalanx |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Role**           | Offense                                                                                                                                                                                                             | Defense                                                                                                                                                                                                         |
| **Attack**         | 13                                                                                                                                                                                                                  | 2                                                                                                                                                                                                               |
| **Defense**        | 4                                                                                                                                                                                                                   | 23                                                                                                                                                                                                              |
| **Cost**           | 2,000 PIXOTCHI (burned)                                                                                                                                                                                             | 500 PIXOTCHI (burned)                                                                                                                                                                                           |
| **Training time**  | 6 min each                                                                                                                                                                                                          | 2 min each                                                                                                                                                                                                      |
| **Carry capacity** | 9 PTS + 10 min TOD                                                                                                                                                                                                  | 1 PTS + 1 min TOD                                                                                                                                                                                               |

One shared training queue covers both types; troops become available progressively as each finishes.

## How raids resolve

1. **Pick a target.** The app lists raidable lands (must have a Barracks, production worth stealing, and no defense cooldown).
2. **Send troops.** Your attack power = Swordsmen x13 + Phalanxes x2.
3. **Defense holds the wall.** Defender power = their stationed troops' defense, **boosted up to +10%** by how developed their village buildings are. A maxed farm literally defends itself better.
4. **Strictly more power wins.** Ties go to the defender.

**If you win:** you loot **15%** of the defender's pending and warehoused production (both PTS and TOD), capped by your surviving troops' carry capacity, moved straight into your own Warehouse. Plus **15 land XP**.

**Either way, war has costs:** both sides take casualties proportional to how close the fight was. Overwhelming force loses almost nothing, while a crushed defender can lose their whole garrison. Defenders lose Phalanxes first; successful defenses earn **10 XP**.

| Cooldowns              |           |
| ---------------------- | --------- |
| Your next attack       | 1.5 hours |
| Raided land's immunity | 3 hours   |

{% hint style="success" %}
**Defense playbook:** keep a Phalanx wall (23 defense each is brutal value at 500 PIXOTCHI), level your village buildings for the home bonus, and **apply your warehouse resources to plants promptly**. Applied resources can never be stolen.
{% endhint %}

{% hint style="info" %}
Raids move eligible production resources rather than plants or token balances. The app’s current configuration and target preview determine what can be raided; documented values are snapshots.
{% endhint %}

{% hint style="info" %}
The troop table describes Barracks V2 configuration checked on 12 September 2026. The available controls depend on which Barracks version is enabled in the app. Raid previews show the current strengths, capacity, and eligibility for the selected lands.
{% endhint %}
