> For the complete documentation index, see [llms.txt](https://infinity-command.gitbook.io/infinity-command/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinity-command.gitbook.io/infinity-command/crew-stations/defense.md).

# Defense

<figure><img src="/files/aQYw7t02aUMyxLzLJsAd" alt=""><figcaption></figcaption></figure>

The **Defense** module helps keep the ship safe from harm.

## Shields

Raise and lower the ship's shields.

Tap to allocate power between the forward, aft, port, and starboard shields.

The **Equalize** button evenly distributes shield power across all four regions.

## Stealth

Enable stealth to make it harder for other ships to detect.

When stealth is active, shields are disabled, and vice versa.

<details>

<summary>In the ship's config file you can control (1) whether the ship has a stealth system, (2) what it's called, and (3) its effectiveness.  For example, you can make it a "Cloak" instead.</summary>

```
"Defense":{
	"HasStealth": true,
	"StealthLabel": "Cloak",
	"StealthDetectability": 0
}
```

</details>

## Ship Image

<details>

<summary>The image of the ship can be configured in the config file.  You can replace it with whatever image you want (ideally one that matches the 3D model you use for your ship).</summary>

```
"Appearance": {
	"Model": "Spaceships_Barracuda",
	"TopDownSprite": "Barracuda_Top_Down.png"
},
```

</details>


---

# 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://infinity-command.gitbook.io/infinity-command/crew-stations/defense.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.
