> ## Documentation Index
> Fetch the complete documentation index at: https://cambridgebattlecode-mintlify-api-updates-1773706170.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Turrets

> Defensive and offensive combat units — gunner, sentinel, breach, and launcher.

Every turret **except the launcher** faces in one of **8 directions**. Ammo must be fed to turrets via conveyors, from any direction except the direction the turret is facing. Diagonal turrets can be fed from all four sides.

Ammo-based turrets can hold up to one stack of one resource type and only accept incoming resources when completely empty.

<Info>
  If a tile containing both a building and a unit is hit, **both** take full damage.
</Info>

## Gunner

<img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/entities/gunner.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=93c5b9f1bbff14ff33a504def8fae75e" alt="Gunner" style={{ width: 64, float: "right", marginLeft: 16 }} width="512" height="512" data-path="images/entities/gunner.png" />

Has a vision radius of √13. Can only target the **closest non-empty tile** in the direction it is facing. Using refined axionite as ammo deals double damage.

| Property      | Value                         |
| ------------- | ----------------------------- |
| HP            | 40                            |
| Base cost     | 10 Ti                         |
| Scaling       | 10%                           |
| Damage        | 10 (20 with refined axionite) |
| Reload        | 1 round                       |
| Ammo per shot | 2                             |
| Vision r²     | 13                            |
| Attack r²     | 13 (same as vision)           |

<Tabs>
  <Tab title="Cardinal">
    <img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/ranges/gunner-cardinal.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=fc2d2f5cbb960e6598151f4c75c97e06" alt="Gunner range — cardinal direction" width="1175" height="1182" data-path="images/ranges/gunner-cardinal.png" />
  </Tab>

  <Tab title="Diagonal">
    <img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/ranges/gunner-diagonal.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=5838b85e06e8da76442abf65c8d16d2e" alt="Gunner range — diagonal direction" width="1175" height="1182" data-path="images/ranges/gunner-diagonal.png" />
  </Tab>
</Tabs>

## Sentinel

<img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/entities/sentinel.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=7bfd87c0ac94aee60ede0d28b1c821a7" alt="Sentinel" style={{ width: 64, float: "right", marginLeft: 16 }} width="512" height="512" data-path="images/entities/sentinel.png" />

High range, low damage support turret. Can hit all tiles within **1 king move** (Chebyshev distance) of the straight line in its facing direction, within vision range.

Using refined axionite instead of titanium as ammo adds **+3 to the action and move cooldown** of any unit directly hit — acting as a stun.

| Property      | Value               |
| ------------- | ------------------- |
| HP            | 30                  |
| Base cost     | 15 Ti               |
| Scaling       | 10%                 |
| Damage        | 20                  |
| Reload        | 4 rounds            |
| Ammo per shot | 10                  |
| Vision r²     | 32                  |
| Attack r²     | 32 (same as vision) |

<Tabs>
  <Tab title="Cardinal">
    <img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/ranges/sentinel-cardinal.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=d71dc9c737cf0de8955b73bb2508e9bc" alt="Sentinel range — cardinal direction" width="1428" height="1325" data-path="images/ranges/sentinel-cardinal.png" />
  </Tab>

  <Tab title="Diagonal">
    <img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/ranges/sentinel-diagonal.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=cf62f698b069a7a0222ba96f4156212d" alt="Sentinel range — diagonal direction" width="1428" height="1325" data-path="images/ranges/sentinel-diagonal.png" />
  </Tab>
</Tabs>

<Tip>
  Sentinels with refined axionite ammo are extremely powerful — a +3 cooldown stun can completely shut down enemy builder bots.
</Tip>

## Breach

<img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/entities/breach.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=461db480475194c17f912a0687c5f49f" alt="Breach" style={{ width: 64, float: "right", marginLeft: 16 }} width="512" height="512" data-path="images/entities/breach.png" />

Very high damage with **splash**. Attacks in a **180° cone** in the facing direction.

| Property      | Value                                       |
| ------------- | ------------------------------------------- |
| HP            | 60                                          |
| Base cost     | 30 Ti, 10 Ax                                |
| Scaling       | 10%                                         |
| Damage        | 40 direct + 20 splash (8 surrounding tiles) |
| Reload        | 1 round                                     |
| Ammo per shot | 5 (refined axionite only)                   |
| Vision r²     | 10                                          |
| Attack r²     | 5                                           |

<Tabs>
  <Tab title="Cardinal">
    <img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/ranges/breach-cardinal.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=1441172526aa4e7a123eaceacd533e5c" alt="Breach range — cardinal direction" width="1257" height="1180" data-path="images/ranges/breach-cardinal.png" />
  </Tab>

  <Tab title="Diagonal">
    <img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/ranges/breach-diagonal.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=9994f74088682d62093362a0be046654" alt="Breach range — diagonal direction" width="1257" height="1180" data-path="images/ranges/breach-diagonal.png" />
  </Tab>
</Tabs>

<Warning>
  Breach turrets have **friendly fire** on the splash damage (8 surrounding tiles). They do not damage themselves.
</Warning>

## Launcher

<img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/entities/launcher.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=c578cc4eaeee30f5ac37d8056460be33" alt="Launcher" style={{ width: 64, float: "right", marginLeft: 16 }} width="512" height="512" data-path="images/entities/launcher.png" />

Picks up and **throws adjacent builder bots** to a target tile within range. The target tile must be bot-passable. Unlike other turrets, launchers have **no facing direction** and do not use ammo.

| Property  | Value               |
| --------- | ------------------- |
| HP        | 30                  |
| Base cost | 20 Ti               |
| Scaling   | 10%                 |
| Reload    | 1 round             |
| Vision r² | 26                  |
| Attack r² | 26 (same as vision) |

<img src="https://mintcdn.com/cambridgebattlecode-mintlify-api-updates-1773706170/oiWF8yfn7ZPIg42R/images/ranges/launcher.png?fit=max&auto=format&n=oiWF8yfn7ZPIg42R&q=85&s=0263a1e2d3096b2e393194b38785aae8" alt="Launcher range — blue is vision, red is throw range" width="1287" height="1283" data-path="images/ranges/launcher.png" />

```python theme={null}
# Build a launcher (no direction needed)
c.build_launcher(pos)

# Launch a builder bot to a distant position
if c.can_launch(bot_pos, target_pos):
    c.launch(bot_pos, target_pos)
```
