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

# Stamina

Stamina system is responsible for managing the player’s ability to run around. It is a single value which initially depends on character’s species and can be modified in the round by doing exercise (or reduced by getting fat, contracting an illness or getting injured). The amount of stamina available is reduced with running, fighting, carrying heavy objects or doing any other physical activity that can make people tired IRL, but is recovered over time to the maximum stamina amount.

Improving stamina is done by doing said physical activity, the max amount of stamina is increasing with every N spent stamina.

Stamina can be recovered quickly in a variety of ways as shown below, ordered from slow to fast recovery.

* Walking (instead of running)
* Staying still
* Sitting
* Lying

There’s a variety of ways the Max amount of stamina or it’s regeneration speed can be reduced. For example, the Max amount of stamina is reduced by (100-x)/2 where x = health of both lungs, and regeneration of the stamina is reduced by total OXY damage. (all numbers are placeholders, here and below)

For a healthy character stamina should regenerate fast enough to not matter much, and for combating, injured or tired character it can serve as a more flexible cooldown system. At least, that's the idea of how it should be balanced.


---

# 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://ss3d.gitbook.io/design/entities/health/stamina.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.
