# DPX Melee Case

DPX Melee Case is a melee weapon storage case for SPT 4.0.13 / EFT 0.16.9.40087.

## Features

- Custom 3D model and AssetBundle.
- External item size: 4x2.
- Internal storage grid: 8x8.
- Filter: melee weapons only.
- Trader offers: Jaeger LL1 cash and barter.
- Cash price: 250,000 roubles.
- Barter recipe value: approximately 250,478 roubles using local SPT 4.0.13 handbook prices.
- Optional config `enableMeleeWeaponLooting`, disabled by default, to make melee weapon descendants lootable from scabbard slots.
- Custom inventory icon via the included BepInEx client plugin.

## Config

`SPT/user/mods/DPX-MeleeCase/config/config.json` is generated on first load.

- `enableMeleeWeaponLooting`: defaults to `false`. When set to `true`, only descendants of melee parent `5447e1d04bdc2dff2f8b4567` are patched with `Unlootable=false`, `UnlootableFromSlot=""`, and `UnlootableFromSide=[]`.

## Package Contents

This release contains two required parts:

- Server mod: `SPT/user/mods/DPX-MeleeCase`
- Client icon plugin: `BepInEx/plugins/DPX-MeleeCaseIconFix`

Extract the ZIP into the folder that contains both `SPT/` and `BepInEx/`. After extraction, the expected paths are:

- `SPT/user/mods/DPX-MeleeCase`
- `BepInEx/plugins/DPX-MeleeCaseIconFix`

The client plugin is required for the clean custom inventory icon. It does not require SPT_Data edits.

## Compatibility

Validated with:

- SPT 4.0.13
- EFT 0.16.9.40087

No SPT_Data files are modified by this package.

## Source Code

The source files are included in this repository:

- `src/Server/Mod.cs`
- `src/Server/DPX-MeleeCase.csproj`
- `src/Client/Plugin.cs`
- `src/Client/DPX-MeleeCaseIconFix.csproj`

Release ZIP files are provided through GitHub Releases and are not committed to the repository.