Open ATH1909 opened 3 years ago
hhhhhhh this is not an easy fix, this will need a refactor of how the flamethrower is built (also other part of it need to be done). This is because the condenser is a subtype of the igniter so this allows you to build a flamethrower with the condenser but the item will ignore the fact that those two are different. To fix this you'd need to differentiate the two types of flamethrowers and to set the condenser to its own path. Maybe i'll get to it but not now
hhhhhhh this is not an easy fix, this will need a refactor of how the flamethrower is built (also other part of it need to be done). This is because the condenser is a subtype of the igniter so this allows you to build a flamethrower with the condenser but the item will ignore the fact that those two are different. To fix this you'd need to differentiate the two types of flamethrowers and to set the condenser to its own path. Maybe i'll get to it but not now
no?
all you would need to do would be to make hotspot_expose((tank_mix.temperature*2) + 380,500)
not add a hardcoded value. just add an extra parameter to default_ignite(), incorporate that parameter in that hotspot_expose() equation, and make ignite_turf() call default_ignite() with the igniter's heat value as the third parameter.
To be more exact you would want the igniter to decide how hot to make it in a reasonably expandable way. Should all be handled by the igniter, tho honestly this should maybe have been dealt with back when condensers were added.
Can confirm this happens, was able to test it as far back as may 2024 with 3 kelvin plasma
"target.hotspot_expose((tank_mix.temperature*2) + 380,500)"
ignite_turf() isn't overridden by anything, so all igniters (including condensers) expose tiles that they expel air onto to a hotspot of the same temperature, regardless of the heat of the igniter.
the only thing that the kind of igniter you use affects in your flamethrower is the temperature that a lit flamethrower's flame passively exposes the air around it to.