[Donion][2.0.77] Boiler with fluid energy source does not make working sound

This subforum contains all the issues which we already resolved.
O_bserver
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Feb 05, 2024 5:14 pm
Contact:

[Donion][2.0.77] Boiler with fluid energy source does not make working sound

Post by O_bserver »

Hello,

I'm trying to create a custom boiler entity with an energy_source of type fluid. After copying the definition of the boiler entity from the base game and altering its energy_source to type fluid, I was able to successfully place it in-game and it functions as expected when petroleum gas is provided as an input (after I also edited the fuel value of petroleum gas to be 900 kJ).

However, this fluid boiler does not produce any sound. The working_sound definition is the same as the boiler entity and the fluid boiler is clearly working as intended in the provided video demonstration below.

This is the entire code in data.lua:

Code: Select all

local fluid_boiler = table.deepcopy(data.raw["boiler"]["boiler"])
fluid_boiler.name = "fluid-boiler"
fluid_boiler.energy_source = {
    type = "fluid",
    burns_fluid = true,
    scale_fluid_usage = true,
    effectivity = 1,
    emissions_per_minute = { pollution = 30 },
    light_flicker = {
        color = {0,0,0},
        minimum_intensity = 0.6,
        maximum_intensity = 0.95
    },
    smoke = {
        {
            name = "smoke",
            north_position = util.by_pixel(-38, -47.5),
            south_position = util.by_pixel(38.5, -32),
            east_position = util.by_pixel(20, -70),
            west_position = util.by_pixel(-19, -8.5),
            frequency = 15,
            starting_vertical_speed = 0.0,
            starting_frame_deviation = 60
        }
    },
    fluid_box = {
        volume = 200,
        pipe_covers = pipecoverspictures(),
        production_type = "input",
        pipe_connections = {
            { flow_direction = "input", direction = defines.direction.south, position = { 0, 0.5 } },
        },
    }
}

data.raw.fluid["petroleum-gas"].fuel_value = "900kJ"

data:extend({
    fluid_boiler,
    {
        type = "item",
        name = "fluid-boiler",
        icon = fluid_boiler.icon,
        stack_size = 50,
        place_result = "fluid-boiler",
    },
    {
        type = "recipe",
        name = "fluid-boiler",
        energy_required = 0.5,
        enabled = true,
        ingredients = {
            { type = "item", name = "pipe", amount = 5 },
            { type = "item", name = "stone-furnace", amount = 1 }
        },
        results = {
            { type = "item", name = "fluid-boiler", amount = 1 }
        }
    }
})
The following is a video demonstrating the missing working sound in the fluid boiler, along with a normal boiler for comparison. The normal boiler audibly produces the expected working sound while the fluid boiler makes no working sound.
fluid burner no sound.mp4
(8.68 MiB) Downloaded 52 times

I have also attached the factorio-current.log log file from the save I was running to demonstrate this behaviour.
Attachments
factorio-current.log
(6.94 KiB) Downloaded 28 times
Donion
Factorio Staff
Factorio Staff
Posts: 510
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Donion][2.0.77] Boiler with fluid energy source does not make working sound

Post by Donion »

Thanks for the report, this is now fixed for the next release, 2.1.13.
I apologize for taking it that long, I've missed the report.
Post Reply

Return to “Resolved Problems and Bugs”