EntityPrototype#emissions_per_second
EntityPrototype#emissions_per_second
does not appear to be correct. All vanilla lua files uses `emissions_per_minute`, but the documentation has `emissions_per_second`, not `emissions_per_minute`
- BraveCaperCat
- Filter Inserter
- Posts: 331
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
Re: EntityPrototype#emissions_per_second
It was like this in 1.1, maybe this is not a bug?
Also, the description claims it's only used for trees and fires (in the base game) so probably a separate (but very similar) thing.
Also, the description claims it's only used for trees and fires (in the base game) so probably a separate (but very similar) thing.
Creator of multiple mods, including Quality Assurance - My most popular one. Expect multiple modding-related questions, answers and other posts.
Re: EntityPrototype#emissions_per_second
I checked the vanilla files again and find that all `emissions_per_minute` are actually under `energy_source`. The BaseEnergySource type does have the correct doc.
So it appears that `emissions_per_second` under EntityPrototype is unused by vanilla...
Just odd that we have both emissions_per_second and emissions_per_minute in different places.
So it appears that `emissions_per_second` under EntityPrototype is unused by vanilla...
Just odd that we have both emissions_per_second and emissions_per_minute in different places.
Re: EntityPrototype#emissions_per_second
Then look again. And they mean different things, just like the docs tell you.pwhk wrote: ↑Sat Nov 16, 2024 12:16 pm I checked the vanilla files again and find that all `emissions_per_minute` are actually under `energy_source`. The BaseEnergySource type does have the correct doc.
So it appears that `emissions_per_second` under EntityPrototype is unused by vanilla...
Just odd that we have both emissions_per_second and emissions_per_minute in different places.