Chest Pooling is a Stardew Valley mod which automatically moves items into existing chests when you deposit items into a chest.
The mod keys off of where your existing items are and adds any new items to existing stacks. You can right-click to transfer a single item, which won't be moved so you can override the auto-sorting at will.
For example, you can return from mining, walk up to a single chest, and throw in everything. The mod will then for example move the minerals to the mineral chest, the ore and bars to their chest, the food items to the food chest, etc.
Breaking this up into steps:
- You add an item to a chest.
- If that chest already has a stack of that item or no other chest does, it's added normally.
- If another chest has a stack of that item and has room, the item gets moved to that chest. If the chest only has room for some of them, the overflow is left in the original chest.
- Install the latest version of SMAPI.
- Download this mod.
- Unzip it into your
Stardew Valley/Mods
folder.
- Not terribly fond of the behavior when a stack is filled in the currently open chest. But I'm fairly sure I need either a "chestUpdated" or "beforeInventoryChanged" event to fix it consistently.
Installing a stable release is recommended for most users. If you really want to compile the mod yourself, read on.
This mods uses the crossplatform build config so it can be built on Linux, Mac, and Windows without changes. See the build config documentation for troubleshooting.
To compile a mod and add it to your game's Mods
directory:
- Rebuild the project in Visual Studio or MonoDevelop.
This will compile the code and package it into the mod directory. - Launch the project with debugging.
This will start the game through SMAPI and attach the Visual Studio debugger.
To package a mod for release:
- Recompile the mod per the previous section.
- Create a zip file of the mod's folder in the
Mods
folder. The zip name should include the mod name and version (likeChestPooling-1.3.zip
).