[0.15.10] Modded fluid with layered icons can't be barreled

Bugs that are actually features.
AndrolGenhald
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Tue Mar 22, 2016 6:35 pm
Contact:

[0.15.10] Modded fluid with layered icons can't be barreled

Post by AndrolGenhald »

If a mod adds a fluid with the icons property instead of icon:

Code: Select all

  {
    type = "fluid",
    name = "water-test",
    default_temperature = 15,
    max_temperature = 100,
    heat_capacity = "0.2KJ",
    base_color = {r=0, g=0.34, b=0.6},
    flow_color = {r=0.7, g=0.7, b=0.7},
    icons = {{icon = "__base__/graphics/icons/fluid/water.png"}},
    order = "a[fluid]-a[water]",
    pressure_to_speed_ratio = 0.4,
    flow_to_energy_ratio = 0.59
  },
The fluid won't get barreling recipes/item generated due to:

Code: Select all

if (fluid.auto_barrel == nil or fluid.auto_barrel) and fluid.icon then
Probably fairly low priority, I'm not really bothered by it myself but I expect someone will eventually try to make some fluids using tinted icons and go crazy trying to figure out why they can't be barreled :)

Related: viewtopic.php?f=34&t=47676
Rseding91
Factorio Staff
Factorio Staff
Posts: 15985
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.10] Modded fluid with layered icons can't be barreled

Post by Rseding91 »

Thanks for the report but this isn't a bug :) It was purposefully setup to not auto-barrel fluids with layered icons because it simply doesn't work as the game handles icons now.

That may change some day but for now it's working as intended.
If you want to get ahold of me I'm almost always on Discord.
AndrolGenhald
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Tue Mar 22, 2016 6:35 pm
Contact:

Re: [0.15.10] Modded fluid with layered icons can't be barreled

Post by AndrolGenhald »

That's what I expected, I was looking for a feature request forum to put this in but I didn't see one so I put it here, looking again I can see it should have gone in Ideas and Suggestions...oops :)
Post Reply

Return to “Not a bug”