| pipe_connections | :: array[PipeConnectionDefinition] | Connection points to connect to other fluidboxes. |
Connection points to connect to other fluidboxes. | ||
| base_area optional | :: double | Must be greater than |
Must be greater than | ||
| base_level optional | :: float | Base level is the elevation of the invisible fluid box. |
Base level is the elevation of the invisible fluid box. | ||
| height optional | :: double | Must be greater than |
Must be greater than | ||
| filter optional | :: FluidID | Can be used to specify which fluid is allowed to enter this fluid box. |
Can be used to specify which fluid is allowed to enter this fluid box. | ||
| render_layer optional | :: RenderLayer | |
| hide_connection_info optional | :: bool | Hides the blue input/output arrows and icons at each connection point. |
Hides the blue input/output arrows and icons at each connection point. | ||
| pipe_covers optional | :: Sprite4Way | The pictures to show when another fluid box connects to this one. |
The pictures to show when another fluid box connects to this one. | ||
| pipe_picture optional | :: Sprite4Way | |
| minimum_temperature optional | :: double | The minimum temperature allowed into the fluidbox. |
The minimum temperature allowed into the fluidbox. | ||
| maximum_temperature optional | :: double | The maximum temperature allowed into the fluidbox. |
The maximum temperature allowed into the fluidbox. | ||
| production_type optional | :: ProductionType | |
| secondary_draw_order optional | :: int8 | Set the secondary draw order for all orientations. |
Set the secondary draw order for all orientations. | ||
| secondary_draw_orders optional | :: FluidBoxSecondaryDrawOrders | Set the secondary draw order for each orientation. |
Set the secondary draw order for each orientation. | ||










minimum_temperature = 100.0

maximum_temperature = 1000.0

"None" | |
"none" | |
"input" | |
"input-output" | |
"output" |


fluid_box =
{
base_area = 1,
height = 2,
base_level = -1,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{type = "input-output", position = {-2, 0.5}},
{type = "input-output", position = {2, 0.5}}
},
production_type = "input-output"
}
Visual representation of base_area, base_level and height. When all the fluidboxes are connected, the water leaves fluidbox A and flows into the other 3 boxes through fluidbox B until the water level is equal in all boxes.