# DropshipItemRecovery

This mod solves the problem that occurs when the host player disconnects from the game after ordering items from the store in the terminal. In the standard version of the game, purchased items disappear from the list and do not appear the next time you enter a save, although the credits have already been written off. The DropshipItemRecovery mod saves information about purchased items to a file and automatically loads them each time you enter a save, ensuring fairness and convenience of the gameplay.

#### What you need to know:
- The mod was developed for the `V68 version` of the game. Added support for `v72` of the game.
- BepInEx version: `5.4.21`.
- The mod is `only required` by the **host player**, for other players *it is not necessary*.

## Installation (automated)
Follow the instructions to install the mod automatically:
1. Download and install [Thunderstore Mod Manager](https://www.overwolf.com/app/Thunderstore-Thunderstore_Mod_Manager) or [r2modman](https://thunderstore.io/c/lethal-company/p/ebkr/r2modman/)
2. Click **Install with Mod Manager** button on top of the page
3. Run the game via the mod manager

## Installation (manual)
To manually install the mod, follow the instructions:
1. Download the package by clicking on the **Manual Download** button
2. Go to the `LethalCompany/BepInEx/plugins` folder and create the `DropshipItemRecovery` folder there
3. Extract the file `DropshipItemRecovery.dll` from the downloaded archive to the created folder `DropshipItemRecovery`

## Special thank to:
- **$$$DaewooМatiz$$$** — tested the mod
- **Denchik** — tested the mod

## Changelogs
### V1.0.3
- Added support for `v72`
- Fixed a bug, where you could buy items and keep all the money on relog
- Fixed a bug with incorrect item recovery, which sometimes caused other items to appear or duplicate purchased items.
- A list of purchased items is now displayed on the main screen in the Terminal (for the host player)
- Now, mod can save a Company Cruiser<br>
`WARNING` Purchased items saved to a file before the release of this version of the mod will be lost
### V1.0.2
- Added support for `v70`
### V1.0.1
- Now the purchased items are saved in different files for each save.<br>
`WARNING` Purchased items saved to a file before the release of this version of the mod will be lost

### V1.0.0
- Mod release