Oxygen Not Included

Oxygen Not Included

Not enough ratings
Shared Storage
2
   
Award
Favorite
Favorited
Unfavorite
Mods: Tweaks
Compatibility: Base Game, Spaced Out!
File Size
Posted
Updated
280.071 KB
Sep 22, 2023 @ 12:41am
Jul 19, 2024 @ 3:21pm
2 Change Notes ( view )

Subscribe to download
Shared Storage

Description
Have storage bins and refrigerators share their contents. A background task will periodically check items and evenly spread them to eligible storages.

### Settings here
Windows: %userprofile%\documents\Klei\OxygenNotIncluded\mods\SharedStorage.json \
Mac: ~Library/Application Support/unity.Klei.Oxygen Not Included/mods/SharedStorage.json \
Ubuntu: ~/.config/unity3d/Klei/Oxygen Not Included/mods/SharedStorage.json

### Format
* Enabled: bool | If false, stops the background task from transfering items.
* AllowCrossWorld: bool | Allow storages to transfer items across worlds.
* OnlySamePriority: bool | If false, allow transfer between any storages. If true, allow transfer to equal priority buildings only.
* AcceptInputAnywhere: bool | If true, any storage can accept any item. Misplaced items are transfered to other storages.
* MinGeneral: float | Minimum amount of items to move.
* MinFood: float | Minimum amount of food to move.
* MinClothes: float | Minimum amount of clothing to move.
* RefreshRate: int | How often storages try to transfer items. Lower is more often.
* Blacklist: string[] | Matching items will not be transfered by the background task.

### Source
[Github](https://github.com/Truinto/ONI-Modloader-SimpleMods)

### Notes
* Options can be changed while playing. Click the printing pod, then look for the 'Shared Storage Option' button on the right.
* While 'Accept Input Anywhere' is turn on, unticking a stored material will transfer it to another eligible storage instead of dropping it.
* To fully stop all features, disable 'Enabled' and 'Accept Input Anywhere'.
* This mod does not change the fetch logic. If a dupe decides to take a detour, it's not my fault.
31 Comments
Fumihiko  [author] Jul 19, 2024 @ 3:46pm 
Yeah. I am not happy either. Same priority is almost necessary.
Brandy Apple Jul 19, 2024 @ 3:43pm 
Describing the bug in detail:
"Only Same Priority" was off. I checked my refrigerator (which was at Priority 7), and found it full of sand and copper ore (I checked the fridge because I was wondering why food had been left on the ground). I assume the SharedStorage background process put them there (blaming the dupes was poetic license, my apologies).
As the sand and copper ore were objects that normally couldn't be stored in the refrigerator, the UI offered no ability to remove them (it occurs to me I should have tried disabling the refrigerator completely). It's the first time I've seen it happen.
The mod's definitely at its best when handling stuff in large quantities - seeds in particular should just be accepted in one storage location and not ticked ANYWHERE else. Found that out the hard way when I had to go looking for my thimble reed and found it scattered one seed to a container all over the place.
Fumihiko  [author] Jul 6, 2024 @ 11:34pm 
And did the sand get stored in the refrigerator?

To be honest, this whole mod didn't turn out like I imagined it. I wanted one big storage, but I couldn't figure out how to get dupes to actually take stuff out of storage. So this whole thing is a giant workaround.
Brandy Apple Jul 6, 2024 @ 11:28pm 
Turning off "Only Same Priority" seems to break something - my dupes became convinced that stuffing my refrigerator with sand and copper ore, in brazen defiance of the natural order of things, was an essential task.
Wolves Hero Jun 2, 2024 @ 3:59pm 
This mod broken at mid-game saved want crashed for no reason, need fix this mod.

https://steamcommunity.com/sharedfiles/filedetails/?id=3260074467
Brandy Apple May 18, 2024 @ 2:24pm 
A note to everyone:
This mod reacts ... poorly if you go and change a storage building's settings at the same time as this mod is carrying out transfers to or from said storage building.
Safest option is to never change a storage building's settings while unpaused - pause, give the background process a moment to finish any operation in progress to that building, THEN you can fiddle with it.
Fumihiko  [author] Dec 24, 2023 @ 2:23pm 
Between saves, how should that even work...?
It's between asteroids and I did validate it, so I assume you are doing something wrong. Remember that the priority level must be identical, otherwise dupes would just carry the material back in an endless loop.
Eyaexiu Dec 24, 2023 @ 5:29am 
the resources don't seem to be shared between asteroids, no matter if the cross world option is on or off (i'm not sure if it means between saves or asteroids tbh, i was assuming saves?), is that intended?
Eyaexiu Dec 3, 2023 @ 9:38am 
also it's great, it works awesome, does cooperate with storage-expanding mods (my inner loot goblin is in bliss), bless your soul for this mod
Eyaexiu Dec 3, 2023 @ 9:36am 
thank you!