> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_dealership/configuration/stock.md).

# Stock

Edit `rcore_dealership/configs/config.stock.lua` for how vehicles are stocked through delivery missions.

When a business dealership stocks a vehicle, an employee drives it from a pickup point back to the dealership. These settings control that mission and its economy.

## 📍 Pickup Locations

`Config.Dealership.Stock.PickupLocations` lists where employees collect vehicles, grouped by dealership type.

| Type     | Default count |
| -------- | ------------- |
| `GROUND` | 17 locations  |
| `WATER`  | 2 locations   |
| `AIR`    | 5 locations   |

Each entry is a `vector4(x, y, z, heading)` - the spawn position and facing direction.

## 🚚 Delivery

| Option                | Default | Description                                                                                                    |
| --------------------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| `DeliveryRadius`      | `5.0`   | How close to the dealership the vehicle must be to complete the delivery.                                      |
| `DeliverySpeed`       | `2.0`   | Maximum speed for the delivery to count as complete.                                                           |
| `StockCostPercent`    | `0.70`  | Fraction of the sale price the dealership pays to stock a vehicle. `0.70` leaves a 30% profit margin per sale. |
| `PriorityPickupCount` | `6`     | With the Priority Supplier upgrade, pickups are chosen from the X closest points.                              |

## 🔧 Delivery Damage

`Config.Dealership.Stock.DeliveryDamage` fines employees who return stock damaged.

| Option               | Default | Description                                            |
| -------------------- | ------- | ------------------------------------------------------ |
| `FinePercent`        | `0.15`  | Fine at full damage without insurance.                 |
| `InsuredFinePercent` | `0.05`  | Fine at full damage with the Insurance Policy upgrade. |
| `DamageThreshold`    | `50`    | Body-health loss below this value is ignored.          |
