> 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-crafting/cas-crafting.md).

# CAS Crafting

CAS Crafting for RedM, VORP and RSG: the game's own campfire, cooking, tonics, ammo crafting, pamphlets and work stations.

**CAS Crafting brings Red Dead Redemption 2's own crafting to RedM, for VORP and RSG: the campfire, cooking meat with herbs, tonics and horse care made at the fire, ammunition, arrows, throwables and bait from the satchel, recipe pamphlets, and work stations with a blacksmith's forge, a camp kitchen and a tobacco table.**

{% hint style="success" %}
Every recipe, amount and result is the game's own, read from Rockstar's item database, and every animation, prop and line of text is the one the game uses. The server checks every craft.
{% endhint %}

## Highlights

* **Your own campfire** from the camp kit: the game's player camp fire, rest by it, cook and craft at it, kick it out.
* **Cooking** 15 kinds of meat and fish, plain or seasoned with Oregano, Creeping Thyme or Wild Mint: 48 dishes with the game's names and effects.
* **Remedies and horse care at the fire**: the herbs are ground in a mortar first, then brewed over the fire.
* **Ammunition from the satchel** with Rockstar's own crafting scenes: cartridges, arrows, fire bottles, dynamite, throwing knives, tomahawks and bait.
* **32 pamphlets** teach the recipes the game locks, with Rockstar's printed page in the hands.
* **Work stations**: a Blacksmith's Forge (heat, anvil, quench, grindstone), a Camp Kitchen for the 19 camp stews, and a Tobacco Table.
* **Checked against your server**: recipes whose items your inventory lacks are switched off, and the menu uses your inventory's own names.

## At a glance

|            |                                                                                                                                                                 |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Frameworks | VORP (vorp\_core + vorp\_inventory) and RSG (rsg-core + rsg-inventory), detected by itself                                                                      |
| Requires   | oxmysql                                                                                                                                                         |
| Optional   | CAS Metabolism v2 (real hunger and thirst numbers in the menu, the smokable cigarette), cas-progressbar, cas-notification                                       |
| Replaces   | vorp\_crafting or rsg-crafting                                                                                                                                  |
| Languages  | English, German, French, Spanish and Brazilian Portuguese (`Config.Locale` = `'en'`, `'de'`, `'fr'`, `'es'` or `'pt-BR'`); a missing line falls back to English |
| Command    | `/craft` (key J)                                                                                                                                                |
| Database   | one table, made on the first start                                                                                                                              |

## Where to start

| Page                                                                   | What it covers                                                                               |
| ---------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| [Installation](/script-documentation/cas-crafting/install.md)          | Folder, server.cfg, the VORP item SQL, admin ace, item pictures, ammunition per framework    |
| [Playing](/script-documentation/cas-crafting/gameplay.md)              | Making a fire, cooking, remedies, the satchel, the menu keys, pamphlets, using what you make |
| [Work stations](/script-documentation/cas-crafting/stations.md)        | The forge, the camp kitchen and the tobacco table: places, points, what each makes           |
| [Configuration](/script-documentation/cas-crafting/configuration.md)   | Every setting in config/config.lua                                                           |
| [Commands and exports](/script-documentation/cas-crafting/commands.md) | /craft, /craftadmin, server and client exports                                               |
| [Recipes](/script-documentation/cas-crafting/recipes.md)               | Every recipe with its ingredients, where it is made and its pamphlet                         |
| [Pamphlets](/script-documentation/cas-crafting/pamphlets.md)           | The 32 pamphlets, what each teaches and Rockstar's story price                               |

## What is in it

* **Your own campfire.** Use the camp kit from your satchel. The fire is the game's player camp fire: its logs, flames, embers, smoke and light, logs that collapse as it burns down, a smoulder in the rain. It burns for 20 minutes (you choose) and leaves the game's ashes. Hold F to kick it out. The game's rules apply: not in town, not indoors, not in water, not near train tracks, not in combat.
* **The game's fires too.** Camp fires and fireplaces on the map work like your own.
* **Rest by fire, Craft/Cook.** The game's two prompts at the fire. You sit or kneel at one of the four places round the fire, like in the game.
* **Cooking.** 15 kinds of meat and fish, plain or seasoned with Oregano, Creeping Thyme or Wild Mint: 48 dishes with the game's names and effects. The game's knife cook: the cut browns in your hand, hold Craft Faster to sear it, ready in 10 seconds (7 when you sear). Then eat it on the spot (three bites) or stow it.
* **Remedies and horse care at the fire.** Potent and Special Miracle Tonic, Health Cure, Bitters and Snake Oil; Horse Medicine, Stimulant, Ointment and Reviver; Coffee and Cover Scent. The herbs are ground in a mortar first, then brewed over the fire with Craft Faster; use it now or stow it.
* **Ammunition from the satchel.** Split point and explosive cartridges for every gun, incendiary buckshot, explosive slugs, improved, fire, poison, small game and dynamite arrows, fire bottles, volatile dynamite, improved and poison throwing knives, improved and homing tomahawks. Each with the game's own crafting animation and props: the cartridge in your hand, the arrow you fletch, the rag on the knife.
* **Bait.** Predator, potent predator and potent herbivore bait, set down with the game's bait scenario.
* **Pamphlets.** 32 of the game's recipe pamphlets teach the recipes the game locks ("You have learned the Fire Arrow recipe."). See [Pamphlets](/script-documentation/cas-crafting/pamphlets.md).
* **Work stations.** A Blacksmith's Forge, a Camp Kitchen and a Tobacco Table, each with its own tools and its own work. See [Work stations](/script-documentation/cas-crafting/stations.md).
* **What you make works.** Tonics fortify, gold cores, core refills, horse items on your horse, bait that draws animals, cover scent that hides your smell: the effects and durations of the game's item database.
* **Rockstar's stacks.** You cannot carry more than the game lets you ("You are already holding the maximum amount of this item and cannot craft more.").
* **The server decides everything.** Recipes, ingredients, the fire or station you stand at, the time each unit takes and what you get are checked on the server.
* **VORP and RSG.** On VORP, rounds go on your gunbelt; on RSG they are items.
* **Five languages.** English, German, French, Spanish and Brazilian Portuguese.

## Requirements

* VORP Core with vorp\_inventory, or RSG Core with rsg-inventory
* oxmysql

## Support

* [Support Discord](https://discord.gg/codeaftersex)
* [All CAS scripts](https://codeaftersex.com/scripts)
