XXL Storage Tanks

If you liked this item, please rate it up on Steam Workshop page.

Author: KahirDragoon

Last revision: 12 Apr, 2024 at 18:05 UTC (2)

File size: 9.77 MB

On Steam Workshop

Description:
What?

Resizes the tank capacity of vanilla fuel network 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

Download
Required items:

Click the title to search on this site.


Vanilla Expanded FrameworkSteam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.