ignored_by_stats field for items/fluids consumed by BurnerEnergySource and FluidEnergySource
-
MeteorSwarm
- 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
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.
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.
Re: ignored_by_stats field for items/fluids consumed by BurnerEnergySource and FluidEnergySource
`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.
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.
