Fix pipe connections (part 1)

This commit is contained in:
Simon Brodtmann 2025-07-05 15:30:12 +02:00
parent e7e3a16efb
commit e1ef59e86b
4 changed files with 18 additions and 18 deletions

View file

@ -184,7 +184,7 @@ data:extend({
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {-1, -5} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {-1, -5} }}
}, },
{ {
production_type = "input", production_type = "input",
@ -192,7 +192,7 @@ data:extend({
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {1, -5} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, -5} }}
}, },
off_when_no_fluid_recipe = true off_when_no_fluid_recipe = true
}, },
@ -468,7 +468,7 @@ data:extend({
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {0, -2} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -2} }}
}, },
}, },
module_specification = { module_specification = {
@ -1052,7 +1052,7 @@ data:extend({
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {-1, -5} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {-1, -5} }}
}, },
{ {
production_type = "input", production_type = "input",
@ -1060,7 +1060,7 @@ data:extend({
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {1, -5} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, -5} }}
}, },
off_when_no_fluid_recipe = true off_when_no_fluid_recipe = true
}, },

View file

@ -52,7 +52,7 @@ data:extend({
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {0, -2} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -2} }}
}, },
{ {
production_type = "input", production_type = "input",
@ -60,7 +60,7 @@ data:extend({
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {2, 0} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {2, 0} }}
}, },
{ {
production_type = "input", production_type = "input",
@ -68,7 +68,7 @@ data:extend({
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {0, 2} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, 2} }}
}, },
{ {
production_type = "output", production_type = "output",
@ -76,7 +76,7 @@ data:extend({
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, base_area = 10,
base_level = 1, base_level = 1,
pipe_connections = {{ type = "output", position = {-2, -1} }} pipe_connections = {{ flow_direction = "output", direction = defines.direction.north, position = {-2, -1} }}
}, },
{ {
production_type = "output", production_type = "output",
@ -84,7 +84,7 @@ data:extend({
pipe_covers = pipecoverspicturesBioreactor(), pipe_covers = pipecoverspicturesBioreactor(),
base_area = 10, base_area = 10,
base_level = 1, base_level = 1,
pipe_connections = {{ type = "output", position = {-2, 1} }} pipe_connections = {{ flow_direction = "output", direction = defines.direction.north, position = {-2, 1} }}
}, },
off_when_no_fluid_recipe = false off_when_no_fluid_recipe = false
}, },
@ -163,8 +163,8 @@ if BI.Settings.BI_Bio_Fuel then
base_level = -1, base_level = -1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{type = "input-output", position = {-2, 0.5}}, {flow_direction = "input-output", direction = defines.direction.north, position = {-2, 0.5}},
{type = "input-output", position = {2, 0.5}} {flow_direction = "input-output", direction = defines.direction.north, position = {2, 0.5}}
}, },
production_type = "input-output", production_type = "input-output",
filter = "water" filter = "water"
@ -175,7 +175,7 @@ if BI.Settings.BI_Bio_Fuel then
base_level = 1, base_level = 1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{type = "output", position = {0, -1.5}} {flow_direction = "output", direction = defines.direction.north, position = {0, -1.5}}
}, },
production_type = "output", production_type = "output",
filter = "steam" filter = "steam"

View file

@ -32,7 +32,7 @@ data:extend({
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
base_area = 10, base_area = 10,
base_level = -1, base_level = -1,
pipe_connections = {{ type = "input", position = {0, -2} }} pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -2} }}
}, },
off_when_no_fluid_recipe = true off_when_no_fluid_recipe = true
}, },

View file

@ -572,8 +572,8 @@ data:extend({
base_level = -1, base_level = -1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{type = "input-output", position = {5, 0}}, {flow_direction = "input-output", direction = defines.direction.north, position = {5, 0}},
{type = "input-output", position = {-5, 0}}, {flow_direction = "input-output", direction = defines.direction.north, position = {-5, 0}},
}, },
production_type = "input-output", production_type = "input-output",
filter = "water" filter = "water"
@ -584,8 +584,8 @@ data:extend({
base_level = 1, base_level = 1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{type = "input-output", position = {0, 5}}, {flow_direction = "input-output", direction = defines.direction.north, position = {0, 5}},
{type = "input-output", position = {0, -5}}, {flow_direction = "input-output", direction = defines.direction.north, position = {0, -5}},
}, },
production_type = "output", production_type = "output",
filter = "steam" filter = "steam"