Dynamic Storage Piles
About
Adds stacks and piles as new container pieces. Their appearance changes depending on the fill level.
Features
Stacks and piles can be built on the hammer using 10 items of their respective material.
No workbench or other crafting station is required, they can be built anywhere.
Each stack has 10 slots that can be used to store any item.
Vanilla stacks and piles models are used:
- Wood stack
- Fine wood stack
- Core wood stack
- Yggdrasil wood stack
- Stone pile
- Coal pile
- Black marble pile
- Coin pile

Depending on the inventory fill level, more items will be displayed on the stack:

Mod Integration
This mod integrates both IngotStacks and StackedBars as container stacks for ingots.
IngotStacks/StackedBars and DynamicStoragePiles must be installed for this to work, otherwise no ingot stacks will be added to the game.
Each stack costs 3 ingots of the respective material to build:
- Copper Stack
- Tin Stack
- Bronze Stack
- Iron Stack
- Silver Stack
- Black Metal Stack
- Flametal Stack
Example of dynamic IngotStacks:

Big thanks to Richard and Azumatt for the awesome mods and possible integration!
Manual Installation
This mod requires BepInEx and Jötunn.
Extract the content of DynamicStoragePiles into the BepInEx/plugins folder or any subfolder.
The mod must be installed on the server and all clients for it to work.
Other mods
Related mods
Compatible mods
Most mods that change something about the vanilla containers should be.
The following mods are a few examples:
Incompatible mods
- Valheim Plus: craft from chests displays a multiple of the available item count (a PR with a fix was merged but is not released yet)
Links
Development
See contributing.
Changelog
0.5.0
- Added StackedBars integration when both mods are installed
- Added the option to restrict containers to only accept items of the respective type, so wood piles only accept wood etc., enabled by default (thanks Searica)
- Changed mod enforcement, now both the server and all clients need to have the mod installed. This is to prevent desync issues with the new container restrictions
- Reworked config options, please update your settings as some old options are no longer used. To clean up unused options, remove the old config file
0.4.0
- Added IngotStacks integration when both mods are installed
- Added mod enforcement to all players if the mod is installed on the server
- Fixed compatibility with the AzuAutoStore 2.0.0 update
0.3.0
- Added the config option to disable vanilla stack pile recipes, making them not buildable with the hammer. Disabled by default
- Added explicit compatibility with AzuAutoStore, items are only stored into the respective stacks piles. Enabled by default
- Fixed ordering of the yggdrasil wood stack in the build menu
0.2.0
- Added coin pile
- Added custom icons for stacks and piles
0.1.0