Talk:Freezing/@comment-188.36.29.217-20130810124254

"Ambient temperature settles at a midpoint between low air temperature and highest available heat source temperature."

Can you please point me to the piece of code that confirms this? I am looking at the OnUpdate function in temperature.lua and there the game iterates over all heat sources - equipped, carried and in proximity  respectively - and adds ALL deltas where the source is warmer than the subject instead of picking just the strongest.

So for example:

- 0 air temp, 100 c local heat source -> (0-x)+(100-x)=0 -> x=50 c

- 0 air temp, two 100 c local heat sources -> (0-x)+(100-x)2=0 -> x=66 c

- 0 air temp, 100 c and 80 c local heat sources -> (0-x)+(100-x)+(80-x)=0 -> x=60 c

Of course it is perfectly possible I'm missing something.