This small mod allows storage buildings (like shelves) to "remember" their contents when uninstalled (minified) and restores them when reinstalled.
Useful for relocating fully stocked shelves without manually hauling everything.
- Works with any storage implementing Building_Storage class (vanilla Shelf and Small Shelf, any other mod storage using this class).
- Safe to add or remove at any time
- Should also work with gene banks and bookcases
Destroying a minified storage building will cause its contents to fall to the ground.
Tested with Reel's Storage.
Known issues: With large storage (such as metal crates, for example), some items (usually one or two stacks) will fall to the ground after moving the storage.
Public github link if anyone want to check how I made it and / or fork it : [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FSelk%2FModding%2Ftree%2Fmain%2FStorageMemory]https://github.com/Selk/Modding/tree/main/StorageMemory[/url]