[0.14] Fluid UI panel flickering (reproducible)

Things that we don't consider worth fixing at this moment.
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

[0.14] Fluid UI panel flickering (reproducible)

Post by aubergine18 »

The fluid info panel (that appears near bottom-right when hovering a pipe) will flicker if the following conditions are met:

1. The pipe prototype has a fluid_box.base_area less than 1
2. A row of those pipes, with no consumers/producers altering their fluids, contains a small amount of leftover fluid
3. Some of the pipes in the row are deleted, then hover mouse over remaining pipes to the right

Steps to reproduce

Easiest way to see it in action is with a few lines of scripting...

1. data.lua

Code: Select all

data.raw.pipe.pipe.fluid_box.base_area = 0.5
2. control.lua

Code: Select all

-- this just sets up pipes with small amount of water in them

script.on_event( defines.events.on_built_entity, function( event )
  local entity = event.entity
  if entity.type == "pipe" then
    entity.fluidbox[1] = {
      type        = "water";
      amount      = 0.1;
      temperature = 0.15;
    }
  end
end )
3. In game, manually build a line of pipes like this:

=================

4. Mine some of the pipes towards the left end

=== === ========

5. Hover over the pipes towards the right end - the fluid UI should start flickering

I know fluid mechanics are getting reworked in 0.15 so hopefully this will already be fixed.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5304
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.14] Fluid UI panel flickering (reproducible)

Post by Klonan »

aubergine18 wrote:I know fluid mechanics are getting reworked in 0.15 so hopefully this will already be fixed.
They may or may not be getting reworked, either way I will move this to minor issues
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5304
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.14] Fluid UI panel flickering (reproducible)

Post by Klonan »

So with this current fluid system, it seems any base area under 1 is just messy,
And we will say, it is not supported

It may get fixed with some future new fluid system, with the current system, we will not fix it
Post Reply

Return to “Won't fix.”