You are viewing a potentially older version of this package. View all versions.
CertiFried-Restock_Updated-3.0.6 icon

Restock Updated

Auto-restocks inventory from nearby chests. Now with configurable cooldown for better performance. Updated for EMU 6.1.3.

Date uploaded 5 months ago
Version 3.0.6
Download link CertiFried-Restock_Updated-3.0.6.zip
Downloads 25
Dependency string CertiFried-Restock_Updated-3.0.6

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Equinox-EquinoxsModUtils-6.1.3 icon
Equinox-EquinoxsModUtils

A collection of tools for modders

Preferred version: 6.1.3

README

Restock - Updated for EMU 6.1.3

Automatically restocks your inventory from nearby chests.

Features

  • Automatically pulls items from nearby chests to maintain configured stack counts
  • Configure desired quantity per item type in the config file
  • Adjustable scan radius (0-10 blocks)
  • Buildings default to 1 stack, items default to 0 (disabled)

Configuration

After first run, edit the config file to set desired stack counts for each item type:

  • Restock Radius: The radius around the player to scan for chests (0-10)
  • Per-item settings: Number of stacks to maintain for each resource

Changelog

v3.0.0

  • Updated for EquinoxsModUtils 6.1.3 compatibility
  • Fixed API changes (ResourceNames -> EMU.Names.Resources)
  • Fixed duplicate key handling in configuration

Credits & Attribution

Original Author: Equinox

This mod was originally created by Equinox as part of the CubeSuite collection of Techtonica mods. This version has been updated for EMU 6.1.3 compatibility.

All credit for the original mod concept, design, and implementation goes to Equinox.

License

GPL-3.0 (GNU General Public License v3.0) - See original repository for full license.

CHANGELOG

Changelog

All notable changes to Restock will be documented in this file.

[3.0.4] - 2026-01-03

Fixed

  • Included CHANGELOG.md in Thunderstore package for proper changelog display

[3.0.3] - 2026-01-03

Added

  • Configurable restock cooldown - New config option "Restock Cooldown" (default 0.5s, range 0.1-5s)
    • Reduces CPU usage by throttling how often the mod scans for chests
    • Default 0.5 seconds = 2 scans per second instead of 50

Performance

  • Significantly reduced CPU overhead from constant FixedUpdate scanning
  • Configurable for users who want faster/slower restock response

[3.0.2] - 2026-01-03

Changed

  • Published to Thunderstore with proper packaging and metadata
  • Verified compatibility with latest EMU 6.1.3

[3.0.1] - 2026-01-03

Changed

  • Updated README with proper attribution and links to original author Equinox

[3.0.0] - 2026-01-02

Fixed

  • Critical: Fixed duplicate key error from SafeResources list

Changed

  • API Migration to EMU 6.1.3 nested class structure