ignored_by_stats field for items/fluids consumed by BurnerEnergySource and FluidEnergySource

MeteorSwarm
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Thu Sep 25, 2025 10:49 pm
Contact:

ignored_by_stats field for items/fluids consumed by BurnerEnergySource and FluidEnergySource

Post by MeteorSwarm »

Muluna adds an entity named the "Vacuum Heating Tower," an entity that consumes oxygen and produces heat and carbon dioxide. This is done with a proxy fluid that connects an assembling machine prototype to a reactor prototype with a FluidEnergySource.
08-02-2026, 14-36-41.png
08-02-2026, 14-36-41.png (333.06 KiB) Viewed 188 times
08-02-2026, 14-36-27.png
08-02-2026, 14-36-27.png (522.87 KiB) Viewed 188 times
At the moment, there is no way to remove items and fluids consumed by energy sources from stats. This is problematic for the Vacuum Heating Tower, because any heat fluid produced by the entity is immediately consumed. I would like a way to hide fluids consumed by the reactor subentity from stats.
08-02-2026, 14-35-42.png
08-02-2026, 14-35-42.png (115.61 KiB) Viewed 188 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4844
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: ignored_by_stats field for items/fluids consumed by BurnerEnergySource and FluidEnergySource

Post by boskid »

`ignored_by_stats` does not work well with burners because they always consume 1 item and may produce 1 item, ignored by stats would either have a value of 0 or 1 which means either everything is reported or nothing is reported. It also would not work for fluid energy source since they consume fluid in a continuous way which means ignored_by_stats would have to be set as a fraction of the fluid in which case the name would have to be probably changed.

For 2.1.13 i added FluidEnergySourcePrototype::hide_from_stats and BurnerPrototype::hide_from_stats as i think this is enough to what you want to achieve without causing logic bloat.
Post Reply

Return to “Implemented mod requests”