From e49a64ecede360ee68ddd20cfd6ae4979a3663aa Mon Sep 17 00:00:00 2001 From: Factoriac9 <> Date: Wed, 28 Jan 2026 11:28:55 +1100 Subject: [PATCH] Fixed composter not showing working animation when working --- changelog.txt | 1 + prototypes/buildings/compost-plant.lua | 292 ++++++++++++------------- 2 files changed, 147 insertions(+), 146 deletions(-) diff --git a/changelog.txt b/changelog.txt index 4aa3752c8..0ddf132c1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Date: ???? - Fixed cadaveric arum smart farm recipe 2 being the same as recipe 3. Resolves https://github.com/pyanodon/pybugreports/issues/1358 - Switched smart farm autolaunch hotfix to proper runtime API call introduced in 2.0.73 - Fixed parts of the caravan interrupt GUI being hidden if too many conditions or targets were added. Resolves https://github.com/pyanodon/pybugreports/issues/1325 + - Fixed composter not showing working animation when working. Resolves https://github.com/pyanodon/pybugreports/issues/1257 --------------------------------------------------------------------------------------------------- Version: 3.0.62 Date: 2026-01-05 diff --git a/prototypes/buildings/compost-plant.lua b/prototypes/buildings/compost-plant.lua index 7b6ca0b0f..b7cd19b03 100644 --- a/prototypes/buildings/compost-plant.lua +++ b/prototypes/buildings/compost-plant.lua @@ -149,152 +149,152 @@ for i = 1, 4 do }, }, }, - }, - working_visualisations = { - { - north_position = util.by_pixel(-144, -112), - west_position = util.by_pixel(-144, -112), - south_position = util.by_pixel(-144, -112), - east_position = util.by_pixel(-144, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a1.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4 - } - }, - { - north_position = util.by_pixel(-144, -112), - west_position = util.by_pixel(-144, -112), - south_position = util.by_pixel(-144, -112), - east_position = util.by_pixel(-144, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a1-mask.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4, - tint = py.tints[i] - } - }, - { - north_position = util.by_pixel(-80, -112), - west_position = util.by_pixel(-80, -112), - south_position = util.by_pixel(-80, -112), - east_position = util.by_pixel(-80, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a2.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4 - } - }, - { - north_position = util.by_pixel(-80, -112), - west_position = util.by_pixel(-80, -112), - south_position = util.by_pixel(-80, -112), - east_position = util.by_pixel(-80, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a2-mask.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4, - tint = py.tints[i] - } - }, - { - north_position = util.by_pixel(-16, -112), - west_position = util.by_pixel(-16, -112), - south_position = util.by_pixel(-16, -112), - east_position = util.by_pixel(-16, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a3.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4 - } - }, - { - north_position = util.by_pixel(-16, -112), - west_position = util.by_pixel(-16, -112), - south_position = util.by_pixel(-16, -112), - east_position = util.by_pixel(-16, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a3-mask.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4, - tint = py.tints[i] - } - }, - { - north_position = util.by_pixel(48, -112), - west_position = util.by_pixel(48, -112), - south_position = util.by_pixel(48, -112), - east_position = util.by_pixel(48, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a4.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4 - } - }, - { - north_position = util.by_pixel(48, -112), - west_position = util.by_pixel(48, -112), - south_position = util.by_pixel(48, -112), - east_position = util.by_pixel(48, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a4-mask.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4, - tint = py.tints[i] - } - }, - { - north_position = util.by_pixel(112, -112), - west_position = util.by_pixel(112, -112), - south_position = util.by_pixel(112, -112), - east_position = util.by_pixel(112, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a5.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4 - } - }, - { - north_position = util.by_pixel(112, -112), - west_position = util.by_pixel(112, -112), - south_position = util.by_pixel(112, -112), - east_position = util.by_pixel(112, -112), - animation = { - filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a5-mask.png", - frame_count = 100, - line_length = 32, - width = 64, - height = 512, - animation_speed = 0.4, - tint = py.tints[i] - } + working_visualisations = { + { + north_position = util.by_pixel(-144, -112), + west_position = util.by_pixel(-144, -112), + south_position = util.by_pixel(-144, -112), + east_position = util.by_pixel(-144, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a1.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4 + } + }, + { + north_position = util.by_pixel(-144, -112), + west_position = util.by_pixel(-144, -112), + south_position = util.by_pixel(-144, -112), + east_position = util.by_pixel(-144, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a1-mask.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4, + tint = py.tints[i] + } + }, + { + north_position = util.by_pixel(-80, -112), + west_position = util.by_pixel(-80, -112), + south_position = util.by_pixel(-80, -112), + east_position = util.by_pixel(-80, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a2.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4 + } + }, + { + north_position = util.by_pixel(-80, -112), + west_position = util.by_pixel(-80, -112), + south_position = util.by_pixel(-80, -112), + east_position = util.by_pixel(-80, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a2-mask.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4, + tint = py.tints[i] + } + }, + { + north_position = util.by_pixel(-16, -112), + west_position = util.by_pixel(-16, -112), + south_position = util.by_pixel(-16, -112), + east_position = util.by_pixel(-16, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a3.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4 + } + }, + { + north_position = util.by_pixel(-16, -112), + west_position = util.by_pixel(-16, -112), + south_position = util.by_pixel(-16, -112), + east_position = util.by_pixel(-16, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a3-mask.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4, + tint = py.tints[i] + } + }, + { + north_position = util.by_pixel(48, -112), + west_position = util.by_pixel(48, -112), + south_position = util.by_pixel(48, -112), + east_position = util.by_pixel(48, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a4.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4 + } + }, + { + north_position = util.by_pixel(48, -112), + west_position = util.by_pixel(48, -112), + south_position = util.by_pixel(48, -112), + east_position = util.by_pixel(48, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a4-mask.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4, + tint = py.tints[i] + } + }, + { + north_position = util.by_pixel(112, -112), + west_position = util.by_pixel(112, -112), + south_position = util.by_pixel(112, -112), + east_position = util.by_pixel(112, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a5.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4 + } + }, + { + north_position = util.by_pixel(112, -112), + west_position = util.by_pixel(112, -112), + south_position = util.by_pixel(112, -112), + east_position = util.by_pixel(112, -112), + animation = { + filename = "__pyalienlifegraphics2__/graphics/entity/compost-plant/a5-mask.png", + frame_count = 100, + line_length = 32, + width = 64, + height = 512, + animation_speed = 0.4, + tint = py.tints[i] + } + }, }, }, fluid_boxes = {