I dont get it! (fluid boxes)

Place to get help with not working mods / modding interface.
Post Reply
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: I dont get it! (fluid boxes)

Post by slpwnd »

Just got to the mods part of the forums after some time :/ I suppose you got the point of base_level by now.

The motivation is following: Fluid movement is based on the fluid column difference (and inertia). Fluid flows from fluid box with higher level to those with lower levels. Easy right :) However there are some special cases that need to be dealt with. For instance the chemical plant / oil refinery inputs should "consume all the liquid" that is coming in. That is why the concept of the base level was introduced. You can imagine that base_level -1 means that the fluid box is located 1m underground. This way anything coming from the pipe (no matter how low the fluid column is) will go in (and not back). The same works for base_level 1 or fluid box located 1m above the ground. It will always push the water to the connected pipe no matter how high the water level there is.

Post Reply

Return to “Modding help”