Page 1 of 1

[Twinsen][1.1.3] Wrong max consumption shown in tooltip for modded boiler with minimum_temperature

Posted: Thu Dec 03, 2020 10:00 am
by GotLag
The attached (very unfinished) mod adds a boiler that takes 165°C steam as input and heats it to 465°C
Its energy source is a 3.6MW burner with 200% efficiency, so it consumes as much fuel as a normal boiler to raise the steam temperature by twice as much.

When testing in-game it produces 465°C steam at 60 units/second, as it is intended to, but the entity tooltip's maximum consumption is calculated incorrectly:
Image
It appears to not be taking the minimum_temperature into account when calculating the maximum

Re: [Twinsen][1.1.3] Wrong max consumption shown in tooltip for modded boiler with minimum_temperature

Posted: Wed Dec 09, 2020 12:02 pm
by Twinsen
Just to be clear, when you say "the entity tooltip's maximum consumption is calculated incorrectly", you mean the "Consumption 60/s of 40/s" and "Output: 60/s of 40/s" are incorrect and "Consumes Burnable fuel Max. consumption: 1.8 MW" is correct.

If so, then the issue is fixed in Version: 1.1.6.
It now takes into account minimum_temperature when calculating maximum flow.
It still uses prototype value and doesn't account for actual fluid temperature that was inputted, but this is necessary to avoid other problems.

Thanks for the report.

Re: [Twinsen][1.1.3] Wrong max consumption shown in tooltip for modded boiler with minimum_temperature

Posted: Wed Dec 09, 2020 12:05 pm
by GotLag
Ah, yes, sorry for not wording that clearly. I was referring to the fluid consumption/output and not the burnable fuel.

Thank you for fixing it.