[2.0.72] pollution has no quality diamond when energy usage scales with quality

Post your bugs and problems so we can fix them.
User avatar
Quezler
Filter Inserter
Filter Inserter
Posts: 295
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

[2.0.72] pollution has no quality diamond when energy usage scales with quality

Post by Quezler »

steps to reproduce:
- install krastorio 2
- unzip and open `prototypes/compatibility/quality-updates.lua`
- edit that file like https://codeberg.org/raiguard/Krastorio ... /702/files does, the below code snippet is a simplification:

Code: Select all

data.raw.furnace["kr-air-purifier"].energy_usage_quality_multiplier = {normal = 1, legendary = 2.5}
data.raw.furnace["kr-air-purifier"].quality_affects_energy_usage = true
expected behavior: since pollution changes based on the energy usage it should have a blue icon that shows the emissions for each quality level.
Attachments
Screenshot 2025-12-21 at 21.14.22.png
Screenshot 2025-12-21 at 21.14.22.png (221.65 KiB) Viewed 107 times
Screenshot 2025-12-21 at 21.14.34.png
Screenshot 2025-12-21 at 21.14.34.png (226.21 KiB) Viewed 107 times
Post Reply

Return to “Bug Reports”