Page 1 of 1

How to change pipe capacity (solved)

Posted: Sun May 31, 2020 9:14 am
by Hannu
I need longer underground pipes and different colors in aesthetic buildings but higher tier pipes have too large capacity and fluid flow does not work properly. What I have to change in mod files to get capacity of all pipes to same as nickel pipes (and vanilla pipes)?

I already found a row
DyWorld_Prototype_Entity.fluid_box.base_area = v.DyWorld.Entity.Pipe.Amount / 10

in files data\logistics\entities\pipe.lua and pipe-underground.lua and changed base_area to 1 but it did not have any effect.

Re: How to change pipe capacity

Posted: Sun May 31, 2020 10:54 am
by Hannu
I found solution. There was a file "data\entity-info.lua". There is definitions for capacities of different pipes. I changed them and now it work as I like. I do not understand why my first attempt failed.