边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
XXL Storage Tanks
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4, 1.5
文件大小
发表于
更新日期
9.772 MB
2024 年 1 月 27 日 下午 2:39
2024 年 4 月 12 日 上午 11:05
5 项改动说明 ( 查看 )

订阅以下载
XXL Storage Tanks

描述
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
热门讨论 查看全部(1)
5
2024 年 2 月 1 日 下午 12:04
Feedback from GoG user
The Old One
5 条留言
KahirDragoon  [作者] 2024 年 6 月 14 日 上午 7:41 
I was just too lazy to write the whole thing ^^*

Added the abbreviation to the description.
Danny 2024 年 6 月 14 日 上午 3:56 
Oh vanilla pipe network I was confused what is a VPN lol
Danny 2024 年 6 月 14 日 上午 3:55 
What is this VPN storage
KahirDragoon  [作者] 2024 年 4 月 18 日 上午 9:25 
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.
Balin 2024 年 4 月 17 日 下午 3:47 
works well with Adaptive Storage Framework and Adaptive Storage Neolithic Module?