[1.0] Lamps emit no pollution although show a value

This subforum contains all the issues which we already resolved.
Post Reply
Honktown
Smart Inserter
Smart Inserter
Posts: 1026
Joined: Thu Oct 03, 2019 7:10 am
Contact:

[1.0] Lamps emit no pollution although show a value

Post by Honktown »

Mod: https://mods.factorio.com/mod/Yuoki
Lamp: "Owner's Monument"

The lamp is consuming power but emissions aren't working. There's a few unrelated "was not used" values in the log, but the emissions show in game. Can lamps have +/- emissions?
The Prototype
Attachments
lamp.jpg
lamp.jpg (311.12 KiB) Viewed 1810 times
I have mods! I guess!
Link

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2250
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.0] Lamps emit no pollution although show a value

Post by boskid »

For an entity to produce (or consume) pollution it has to perform an update calling its energy source to extract energy and pollute. Lamps are not individually updating because they are grouped for performance reasons. Pollution description is added as for any Entity because energy source has pollution defined, but lamp is not updating its energy source. Simply saying: lamps are not consuming any energy, total lamp energy consumption is computed at the electric network update and flow statistics are updated to account for that. This is rather a "wont fix" or "add check that prevents pollution from being defined on lamp energy source".

Bilka
Factorio Staff
Factorio Staff
Posts: 3139
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [1.0] Lamps emit no pollution although show a value

Post by Bilka »

Thanks for the report, fixed for the next version. The tooltip will no longer show the lamp as producing pollution and setting emissions on the energy source will be ignored.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Resolved Problems and Bugs”