# DarkRP Shipment Generator

Create a weapon shipment for the gun dealer, with its price, crate size and which jobs may buy it.

- Platform: Garry's Mod
- Canonical page: https://devtoolsgg.com/gmod/darkrp-shipment
- Writes to: Paste into addons/darkrpmodification/lua/darkrp_customthings/shipments.lua

## Options

### Shipment

- `name` Name (required). Shown in the F4 menu.
- `category` Category. F4 menu category, for example Pistols or Rifles.
- `entity` Weapon class (required). The SWEP class name, for example weapon_ak472.
- `model` Model (required). The .mdl shown on the crate.

### Pricing

- `price` Crate price (required). Price of the whole shipment. Set 0 if you only sell singles.
- `amount` Amount per crate (required). How many weapons the crate contains.
- `separate` Sell one at a time. Also offers the weapon individually.
- `pricesep` Single price. Price of one weapon when sold separately.
- `noship` No crate. Removes the crate entirely and sells singles only.

### Access

- `allowed` Allowed jobs. TEAM variables that can buy this. Empty means every job.

## How to cite

DarkRP Shipment Generator, devtoolsgg.com. https://devtoolsgg.com/gmod/darkrp-shipment
