Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Added [MoreStacks](https://thunderstore.io/c/valheim/p/Ujhik/MoreStacks/) integration when both mods are installed (thanks Ujhik)
Changed the recipe for flametal stockpiles from "flametal" to "flametalNew" because "flametal" is actually not obtainable and deprecated for the moment (thanks Ujhik)
Version 0.6.1
Fixed Ashwood stack was targeting the wrong vanilla prefab, resulting in removal of the stack with mods installed that initialize earlier
Version 0.6.0
Added Bone Stack, Black Wood Stack, Grausten Pile and Skull Pile from the Ashlands update
Version 0.5.1
Fixed typo when an item cannot be placed in a container
Version 0.5.0
Added [StackedBars](https://valheim.thunderstore.io/package/Azumatt/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
Version 0.4.0
- Added [IngotStacks](https://valheim.thunderstore.io/package/MySoloTeam/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
Version 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
Version 0.2.0
Added coin pile
Added custom icons for stacks and piles
Version 0.1.0
Release
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
Finewood Stack
Corewood Stack
Yggdrasil Wood Stack
Ashwood stack
Stone Pile
Coal Pile
Black Marble Pile
Grausten Pile
Pile of Skulls
Bone Stack
Coin Stack
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
IngotStacks, integrates with this mod if both are installed
StackedBars, integrates with this mod if both are installed