raiguard / Krastorio2

An overhaul mod for Factorio focusing on end-game technologies and moderately increased complexity.
https://mods.factorio.com/mod/Krastorio2
GNU Lesser General Public License v3.0
119 stars 49 forks source link

Biolabs don't push oxygen to adjacent pipes #334

Closed MiniClem closed 1 year ago

MiniClem commented 1 year ago

Description

Hello :) I would like to know if it is the expected behaviour.

Current behaviour : Oxygen is not getting through a biolab by pipes, whereas petroleum is doing it fine.

Expected behaviour : Oxygen should go through biolab by pipes, the same as petroleum.

Example : image

Krastorio 1.1.80

Reproduction

No response

MiniClem commented 1 year ago

I don't know anything about modding the game, but if it helps, it can be fixed by changing the height defined in the bio-lab.lua.

    fluid_boxes = {
      {
        production_type = "input",
        pipe_picture = kr_pipe_path,
        pipe_covers = pipecoverspictures(),
        base_area = 10,
        height = 2,
        base_level = -1,
        pipe_connections = {
          { type = "input-output", position = { 0, -4 } },
          { type = "input-output", position = { 0, 4 } },
        },
      },
      {
        production_type = "input",
        pipe_picture = kr_pipe_path,
        pipe_covers = pipecoverspictures(),
        base_area = 10,
        height = 2,     --[[ <=== HERE ]]
        base_level = -1,
        pipe_connections = {
          { type = "input-output", position = { 4, 0 } },
          { type = "input-output", position = { -4, 0 } },
        },
      },
      off_when_no_fluid_recipe = false,
    },

Results : image image