Page 1 of 1
EntityPrototype#emissions_per_second
Posted: Sat Nov 16, 2024 12:06 pm
by pwhk
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`
Re: EntityPrototype#emissions_per_second
Posted: Sat Nov 16, 2024 12:07 pm
by BraveCaperCat
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.
Re: EntityPrototype#emissions_per_second
Posted: Sat Nov 16, 2024 12:16 pm
by pwhk
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.
Re: EntityPrototype#emissions_per_second
Posted: Sun Nov 17, 2024 8:28 pm
by curiosity
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.
Then look again. And they mean different things, just like the docs tell you.