> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-metabolism-v2/cas-metabolism-v2.md).

# CAS Metabolism V2

Advanced RedM metabolism and survival HUD for VORP and RSG Core — hunger, thirst, hygiene, stress, bladder, temperature, alcohol and body weight, drawn on RDR2's own inked HUD and fully customizable b

**CAS Metabolism V2** is a complete metabolism, needs and survival-HUD system for **RedM**. Hunger, thirst, hygiene, stress, the bladder, alcohol, temperature and body weight — each one simulated, each one drawn on a bar built from RDR2's own inked discs, and every element of that bar movable, resizable and recolourable by the player looking at it.

It runs on **VORP Core** and **RSG Core**. The resource detects which one your server runs on boot and needs no code changes either way.

{% hint style="success" %}
No SQL to import, one commented config file, 49 exports, English and Turkish built in. You can be live in five minutes — see [Installation](/script-documentation/cas-metabolism-v2/installation.md).
{% endhint %}

***

## What your players get

* **Five living needs** — hunger, thirst, hygiene, stress and bladder, each with its own orb that fills and drains as they play.
* **Body weight that shows** — a character fills out or wastes away over days of play, and it reshapes the character model, not just the bar.
* **Real temperature** — pulled from the live weather, the altitude and what the character is wearing.
* **Alcohol, staged** — a stumbling walk, blurred vision, passing out and throwing up, tuned stage by stage.
* **Relieving yourself** — with proper animations and a witness check.
* **Smoking, eating and drinking** — using the game's own animations and props.
* **A settings panel** every player can open to move, resize, recolour and re-icon every part of the HUD, and switch °C/°F and kg/lbs.

## What you get

* One config file, commented line by line — turn any whole system off and it costs nothing elsewhere.
* **49 exports**, so any other resource can read and write every value here.
* English and Turkish out of the box, one setting to switch, and drop-in files for any other language.
* **No SQL to run** — the table builds itself the first time the resource starts.

***

## At a glance

|                  |                                                 |
| ---------------- | ----------------------------------------------- |
| **Frameworks**   | VORP Core · RSG Core (auto-detected)            |
| **Dependencies** | oxmysql                                         |
| **Database**     | Self-creating, no import                        |
| **Languages**    | English + Turkish, extendable                   |
| **Exports**      | 49 (server + client)                            |
| **HUD**          | Per-player position, size, colour, icons, units |

***

## Where to start

|                                                                           |                                           |
| ------------------------------------------------------------------------- | ----------------------------------------- |
| [Installation](/script-documentation/cas-metabolism-v2/installation.md)   | Get it running, in five minutes           |
| [Configuration](/script-documentation/cas-metabolism-v2/configuration.md) | The settings worth knowing about          |
| Items                                                                     | Adding your own food and drink            |
| Commands                                                                  | What players and admins can type          |
| Exports                                                                   | Reading and writing from another resource |
| Troubleshooting                                                           | When something looks wrong                |
