> For the complete documentation index, see [llms.txt](https://docs.otherplanet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherplanet.dev/scripts/op-hud/alcohol-status-and-stamina.md).

# Alcohol Status & Stamina

If you're using custom script for stamina:

* Go to utils.lua and change function `getPlayerStamina()`

How to configurate alcohol status?

* Set Alcohol status to true in config.lua
* Go to utils.lua and change function `getPlayerAlcohol()`

```sh
IMPORTANT!! Return value must be from 0 to 100
```
