Fix Fluidboxes

This commit is contained in:
Simon Brodtmann 2025-07-05 17:50:22 +02:00
parent 85225dbb7e
commit c0f4f67d58
5 changed files with 47 additions and 49 deletions

View file

@ -170,20 +170,20 @@ data:extend({
production_type = "input", production_type = "input",
pipe_picture = assembler3pipepictures(), pipe_picture = assembler3pipepictures(),
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {-1, -5} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {-1, -4} }}
}, },
{ {
production_type = "input", production_type = "input",
pipe_picture = assembler3pipepictures(), pipe_picture = assembler3pipepictures(),
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, -5} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, -4} }}
}, },
off_when_no_fluid_recipe = true
}, },
fluid_boxes_off_when_no_fluid_recipe = true,
collision_box = {{-4.2, -4.2}, {4.2, 4.2}}, collision_box = {{-4.2, -4.2}, {4.2, 4.2}},
selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, selection_box = {{-4.5, -4.5}, {4.5, 4.5}},
@ -453,9 +453,9 @@ data:extend({
production_type = "input", production_type = "input",
pipe_picture = assembler3pipepictures(), pipe_picture = assembler3pipepictures(),
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -2} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -1} }}
}, },
}, },
module_specification = { module_specification = {
@ -967,20 +967,20 @@ data:extend({
production_type = "input", production_type = "input",
pipe_picture = assembler3pipepictures(), pipe_picture = assembler3pipepictures(),
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {-1, -5} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {-1, -4} }}
}, },
{ {
production_type = "input", production_type = "input",
pipe_picture = assembler3pipepictures(), pipe_picture = assembler3pipepictures(),
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, -5} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, -4} }}
}, },
off_when_no_fluid_recipe = true
}, },
fluid_boxes_off_when_no_fluid_recipe = true,
collision_box = {{-4.2, -4.2}, {4.2, 4.2}}, collision_box = {{-4.2, -4.2}, {4.2, 4.2}},
selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, selection_box = {{-4.5, -4.5}, {4.5, 4.5}},
order = "x[bi]-a[bi-arboretum]", order = "x[bi]-a[bi-arboretum]",

View file

@ -36,44 +36,44 @@ data:extend({
production_type = "input", production_type = "input",
pipe_picture = assembler2pipepicturesBioreactor(), pipe_picture = assembler2pipepicturesBioreactor(),
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -2} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -1} }}
}, },
{ {
production_type = "input", production_type = "input",
pipe_picture = assembler2pipepicturesBioreactor(), pipe_picture = assembler2pipepicturesBioreactor(),
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {2, 0} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, 0} }}
}, },
{ {
production_type = "input", production_type = "input",
pipe_picture = assembler2pipepicturesBioreactor(), pipe_picture = assembler2pipepicturesBioreactor(),
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, 2} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, 1} }}
}, },
{ {
production_type = "output", production_type = "output",
pipe_picture = assembler2pipepicturesBioreactor(), pipe_picture = assembler2pipepicturesBioreactor(),
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, volume = 1000,
base_level = 1, base_level = 1,
pipe_connections = {{ flow_direction = "output", direction = defines.direction.north, position = {-2, -1} }} pipe_connections = {{ flow_direction = "output", direction = defines.direction.north, position = {-1, -1} }}
}, },
{ {
production_type = "output", production_type = "output",
pipe_picture = assembler2pipepicturesBioreactor(), pipe_picture = assembler2pipepicturesBioreactor(),
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, volume = 1000,
base_level = 1, base_level = 1,
pipe_connections = {{ flow_direction = "output", direction = defines.direction.north, position = {-2, 1} }} pipe_connections = {{ flow_direction = "output", direction = defines.direction.north, position = {-1, 1} }}
}, },
off_when_no_fluid_recipe = false
}, },
fluid_boxes_off_when_no_fluid_recipe = true,
collision_box = {{-1.2, -1.2}, {1.2, 1.2}}, collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
animation = { animation = {
@ -143,24 +143,22 @@ if BI.Settings.BI_Bio_Fuel then
selection_box = {{-1.5, -1}, {1.5, 1}}, selection_box = {{-1.5, -1}, {1.5, 1}},
target_temperature = 165, target_temperature = 165,
fluid_box = { fluid_box = {
base_area = 1, volume = 200,
height = 2,
base_level = -1, base_level = -1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{flow_direction = "input-output", direction = defines.direction.north, position = {-2, 0.5}}, {flow_direction = "input-output", direction = defines.direction.north, position = {-1, 0.5}},
{flow_direction = "input-output", direction = defines.direction.north, position = {2, 0.5}} {flow_direction = "input-output", direction = defines.direction.north, position = {1, 0.5}}
}, },
production_type = "input-output", production_type = "input-output",
filter = "water" filter = "water"
}, },
output_fluid_box = { output_fluid_box = {
base_area = 1, volume = 200,
height = 2,
base_level = 1, base_level = 1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{flow_direction = "output", direction = defines.direction.north, position = {0, -1.5}} {flow_direction = "output", direction = defines.direction.north, position = {0, -0.5}}
}, },
production_type = "output", production_type = "output",
filter = "steam" filter = "steam"

View file

@ -30,12 +30,12 @@ data:extend({
production_type = "input", production_type = "input",
pipe_picture = assembler3pipepictures(), pipe_picture = assembler3pipepictures(),
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, volume = 1000,
base_level = -1, base_level = -1,
pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -2} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -1} }}
}, },
off_when_no_fluid_recipe = true
}, },
fluid_boxes_off_when_no_fluid_recipe = true,
animation = { animation = {
filename = "__Bio_Industries_2__/graphics/entities/biogarden/bio_garden_x.png", filename = "__Bio_Industries_2__/graphics/entities/biogarden/bio_garden_x.png",
width = 160, width = 160,

View file

@ -326,25 +326,23 @@ data:extend({
selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, selection_box = {{-4.5, -4.5}, {4.5, 4.5}},
target_temperature = 235, target_temperature = 235,
fluid_box = { fluid_box = {
base_area = 1, volume = 200,
height = 2,
base_level = -1, base_level = -1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{flow_direction = "input-output", direction = defines.direction.north, position = {5, 0}}, {flow_direction = "input-output", direction = defines.direction.north, position = {4, 0}},
{flow_direction = "input-output", direction = defines.direction.north, position = {-5, 0}}, {flow_direction = "input-output", direction = defines.direction.north, position = {-4, 0}},
}, },
production_type = "input-output", production_type = "input-output",
filter = "water" filter = "water"
}, },
output_fluid_box = { output_fluid_box = {
base_area = 1, volume = 200,
height = 2,
base_level = 1, base_level = 1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{flow_direction = "input-output", direction = defines.direction.north, position = {0, 5}}, {flow_direction = "input-output", direction = defines.direction.north, position = {0, 4}},
{flow_direction = "input-output", direction = defines.direction.north, position = {0, -5}}, {flow_direction = "input-output", direction = defines.direction.north, position = {0, -4}},
}, },
production_type = "output", production_type = "output",
filter = "steam" filter = "steam"

View file

@ -739,12 +739,12 @@ data:extend({
collision_box = {{-0.29, -0.29}, {0.29, 0.29}}, collision_box = {{-0.29, -0.29}, {0.29, 0.29}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
fluid_box = { fluid_box = {
base_area = 1, volume = 100,
pipe_connections = { pipe_connections = {
{ position = {0, -1} }, { direction = defines.direction.north, position = {0, 0} },
{ position = {1, 0} }, { direction = defines.direction.east, position = {0, 0} },
{ position = {0, 1} }, { direction = defines.direction.south, position = {0, 0} },
{ position = {-1, 0} } { direction = defines.direction.west, position = {0, 0} }
}, },
}, },
pictures = pipepictures_w(), pictures = pipepictures_w(),
@ -794,12 +794,14 @@ data:extend({
collision_box = {{-0.29, -0.29}, {0.29, 0.2}}, collision_box = {{-0.29, -0.29}, {0.29, 0.2}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
fluid_box = { fluid_box = {
base_area = 1, volume = 100,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{ position = {0, -1} }, { direction = defines.direction.north, position = {0, 0} },
{ {
position = {0, 1}, direction = defines.direction.south,
position = {0, 0},
connection_type = "underground",
max_underground_distance = 10 max_underground_distance = 10
} }
}, },