Page 1 of 1

Pump fluid animation - tinting issue

Posted: Sat Jul 20, 2019 9:04 am
by moon69
I'm trying to repurpose a Pump for a mod, but can't seem to disable apply_runtime_tint .

I've got the main "animations" working fine, but I am struggling with the "fluid_animation"...

Code: Select all

fluid_animation =
    {
      north =
      {
        filename = "__base__/graphics/entity/pump/pump-north-liquid.png",
        apply_runtime_tint = true,
        width = 20,
        height = 13,
        line_length =8,
        frame_count =32,
        shift = util.by_pixel(-0.500, -14.500),
...
It is tinting my white animation with the fluid colour even when apply_runtime_tint = false.

Thanks.

Re: Pump fluid animation - tinting issue

Posted: Sun Jul 21, 2019 11:16 am
by Bilka
You can't turn of the tinting in the prototype like that. There are only two ways to turn it off - don't have a fluid_animation or don't have fluid in the fluidbox.