Types/FluidBox
Basics
All general properties of entities that involve pipes.
Properties
fluid_box
Type: uknown
This is the property to set the water amount an entity can hold, as well as the connection points for pipes leading into and out of the entity.
Example: Assembly Machine 2 Fluid Box
fluid_boxes =
{
{
production_type = "input",
pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
base_area = 10,
base_level = -1,
pipe_connections = {{ type="input", position = {0, -2} }}
},
{
production_type = "output",
pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
base_area = 10,
base_level = 1,
pipe_connections = {{ type="output", position = {0, 2} }}
},
off_when_no_fluid_recipe = true
},
A base area of 1 will hold 10 units of water, 2 will hold 20, etc...