> 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-gunsmith/configuration.md).

# Configuration

Configure CAS Gunsmith in config.lua — language, prices, access and locks, shops, the display camera, style, service fees, ammunition and the weapons.

Every price, lock, shop, finish, ammo type and weapon is defined in `config.lua`, and every text is in a language file in the `locales` folder. Restart the resource after changing a setting.

* [General Settings](/script-documentation/cas-gunsmith/configuration/general.md) — core `config.lua` values, job access, rank and grade locks, and the RSG Core options.
* [Localization](/script-documentation/cas-gunsmith/configuration/localization.md) — choosing the language, adding your own and translating option names.
* [Shops and Interaction](/script-documentation/cas-gunsmith/configuration/shops.md) — shop list, per-shop jobs, distances, map blip and prompt.
* [Display Camera](/script-documentation/cas-gunsmith/configuration/display-camera.md) — how the weapon is displayed and framed.
* [Style Options](/script-documentation/cas-gunsmith/configuration/style.md) — metal finish, wood tone, engraving, carving and wrap.
* [Service Prices](/script-documentation/cas-gunsmith/configuration/services.md) — cleaning, wear repair and rust removal.
* [Ammunition](/script-documentation/cas-gunsmith/configuration/ammunition.md) — ammo types, per-weapon lists, carry limits and RSG ammo boxes.
* [Weapon Catalogue](/script-documentation/cas-gunsmith/configuration/weapons.md) — weapon definitions and how to add your own.
