SeaDoge-DealerAutoRestock icon

DealerAutoRestock

Let recruited dealers restock packaged products from assigned storage or outdoor dead drops.

By SeaDoge
Last updated a day ago
Total downloads 43
Total rating 0 
Categories Mods
Dependency string SeaDoge-DealerAutoRestock-0.10.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

LavaGang-MelonLoader-0.7.3 icon
LavaGang-MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono

Preferred version: 0.7.3
ifBars-S1API_Forked-3.0.22 icon
ifBars-S1API_Forked

S1API is an open source collaboration project to help standardize Schedule One modding processes.The goal is to provide a standard place for common functionalities so you can focus on making content versus reverse engineering the game.

Preferred version: 3.0.22

README

Dealer Auto Restock

Keeps recruited dealers supplied without making you refill their inventory by hand. Assign a storage or outdoor dead drop to each dealer, and they will collect packaged products from it when they run out.

Assignments are managed from the Auto Restock phone app and are saved with your game. The dashboard shows each dealer's current stock, assigned source, and restock status.

Installation

  1. Install MelonLoader for the IL2CPP version of Schedule I.
  2. Install S1API 3.0.5 or newer.
  3. Put DealerAutoRestock.dll in the game's Mods folder.
  4. Start the game.

How To Use

  1. Recruit a dealer and place packaged products in storage on one of your properties, or use an outdoor dead drop.
  2. Open the in-game phone and launch Auto Restock.
  3. Select a dealer and press Choose Source in World.
  4. Aim at the storage or dead drop and press E.

Press Esc or right click to cancel source selection. To change a source, assign a new one. To stop automatic restocking, select the dealer and press Disable.

The dealer starts a restock trip after their packaged product stock reaches zero. They collect enough available product to approach the configured target, then return to their normal schedule. Dealers wait until they are free if they are in a deal, conversation, vehicle, panic state, or otherwise unavailable.

Configuration

The default target is 20 sellable product units. Packages, jars, and bags can contain different numbers of units, so the final amount may be slightly above the target.

After launching the game once, the settings can be edited in:

# UserData/MelonPreferences.cfg
[DealerAutoRestock]
TargetStock = 20
CheckIntervalSeconds = 3.0
SprintToRestock = false
AllowClientConfiguration = true
  • TargetStock: desired stock after a trip; supported values are 1-1000.
  • CheckIntervalSeconds: seconds between stock checks; supported values are 1-30.
  • SprintToRestock: makes dealers run while travelling to their source.
  • AllowClientConfiguration: lets players with the mod assign and disable restock sources in multiplayer.

Restart the game after editing the file manually.

Multiplayer

  • The host must have the mod installed.
  • Other players can join without the mod and will still see dealers restocking.
  • Clients need the mod to open the dashboard or change assignments.
  • The host controls all dealer movement, inventory transfers, and saved assignments.

Compatibility

  • IL2CPP only
  • MelonLoader 0.7.x
  • S1API 3.0.5 or newer
  • Product storage must be on a property owned by the player.
  • Outdoor dead drops can also be used as sources.
  • Locked slots, open storage, and storage currently in use are left untouched.

Unusual storage placement or outdoor pathing can prevent a dealer from reaching the source. If a trip fails or times out, the dealer resumes their normal schedule and tries again later.

Uninstallation

Close the game and delete DealerAutoRestock.dll from the Mods folder. Existing dealer inventory is not removed; saved auto-restock assignments are simply no longer used.