> 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-advanced-gang/frameworks/vorp.md).

# VORP

How CAS Advanced Gang System uses VORP: money, items through vorp\_inventory, guns stored one by one with their serial, rounds and components, and notices.

**Uses:** `vorp_core` and `vorp_inventory`

## Money

```lua
Config.VorpCurrency = 0   -- 0 = dollars, 1 = gold, 2 = rol
```

The founding fee, the treasury, tier costs, upkeep and kick refunds all use this currency.

## Items

Stash items go through `vorp_inventory`. Every `name` in `Config.StashItems` must exist in your VORP items table.

## Guns

VORP keeps weapons apart from items, so CAS Advanced Gang System reads guns through `vorp_inventory`'s weapon exports and stores each one as that gun, with its:

* serial number,
* custom label,
* loaded rounds,
* fitted components.

The same gun comes back out. Two identical revolvers are two rows in the stash. `Config.StashWeapons = false` keeps guns out.

{% hint style="info" %}
Rounds are read before the gun leaves the player. If your VORP version doesn't report a gun's rounds, the console says so and the gun is stored without them rather than refused.
{% endhint %}

## Notices

Shown as VORP's right-side tip. If that fails, the ledger's own notice is shown instead.
