RimWorld

RimWorld

Not enough ratings
XXL Storage Tanks
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
9.772 MB
27 Jan @ 2:39pm
12 Apr @ 11:05am
5 Change Notes ( view )

Subscribe to download
XXL Storage Tanks

Description
What?
Resizes the tank capacity of vanilla pipe network (VPN) mods according to increased or decreased stack sizes.

A restart is required for the tanks to resize if the stack size of things is changed. If you reduce the size and the tank was full, the excess contents will be lost.

Can safely be added or removed midgame. Although removing it will delete all content above the original capacity

How?
By calculating the ratio of the storage capacity to the original stack size and then multiplying this ratio with the new stack size. For good measure, I also rounded up the capacities to 100.

Supported mods
Most likely works with all stack size mods. Tested with OgreStack and XXL Stack.

Should work for all mods using the vanilla expanded pipe network since it will automatically patch all Vanilla Pipe Network tanks if the ressource name in the storageComp is the same as the def name of the thing (for example chemfuel or deepchem tanks). Otherwise manuell patching is required (for example Nutrient Paste or Hemogen Vats).
If you find other tanks for which this doesnt work leave a comment and I will add it.

Tested with
- Vanilla Nutrient Paste Expanded
- Vanilla Nutrient Paste Expanded: Deep Vat
- Vanilla Chemfuel Expanded
- Vanilla Races Expanded - Android
- Vanilla Races Expanded - Sanguophage
- More Hemogen Vats
- Vanilla Milk Expanded
- Milk Pipe Network
- Ancient hydroponic farm facilities

It has no effect on the Helixien Gas Tank, maybe because helixien gas stack size is not change by stack size changing mods since its not really a thing that can spawn normaly.

Load order
Apparently, it doesn't matter, although I have yet to fully understand why. I expected the mod would have to be loaded before stack size changing mods since I am loading and saving the original stack limits. And then execute code after all mods are loaded to use the difference. But in my tests, I get the correct numbers regardless of whether my mod is the first or last in the mod list.
Please tell me if you have a stack size changing mod where the load order compared to this mod matters.

WARNING
Using this mod might lead to complete base destruction and mass death by fire caused by explosions of tens of thousands of liters chemfuel, deepchem or milk. You have been warned!

Need more Pipe Network Stuff? Have a look at my other mods
Popular Discussions View All (1)
5
1 Feb @ 12:04pm
Feedback from GoG user
The Old One
5 Comments
KahirDragoon  [author] 14 Jun @ 7:41am 
I was just too lazy to write the whole thing ^^*

Added the abbreviation to the description.
Danny 14 Jun @ 3:56am 
Oh vanilla pipe network I was confused what is a VPN lol
Danny 14 Jun @ 3:55am 
What is this VPN storage
KahirDragoon  [author] 18 Apr @ 9:25am 
It doesnt do anything for adaptive storage. Since their storages hold actual stacks, increasing the stack size already increases the storage. This mod only affects storage that do not hold actual stacks of items.
PatoPixelado 17 Apr @ 3:47pm 
works well with Adaptive Storage Framework and Adaptive Storage Neolithic Module?