Talk:Ailments

Jump to navigation Jump to search

About this board

Harakoni (talkcontribs)

Got asked about the accuracy of the math for heatstroke. It seems to imply that at any temp 5.814 °C over the comfy max temp of a pawn (i.e. 31.814 °C or above), severity will increase at the same rate. Testing it at 50 °C and 70 °C definitely says otherwise - heatstroke severity increases much faster in the second room.

Idk if she (and me too, because I read it the same way) is misreading the statement or if just its wrong. maybe User:AncientCentipede could weigh in

Cheldra (talkcontribs)

I just checked and it's max(a, 0.000375), not min(a, 0.000375), so higher numbers override the 0.000375, and it only provides a minimum amount that heatstroke can increase by if it's increasing at all. It seems to only have an affect when the ambient temperature is less than 5 degrees above the max safe temperature.

I fixed the incorrect line now, and I'll rewrite this section to improve it in a little bit.

Harakoni (talkcontribs)

Thanks for that Cheldra. Might be worth looking at hypothermia as well and seeing if a similar mistake was made there.

AncientCentipede (talkcontribs)

Indeed, I misread the code and incorrectly intepreted it as capping the severity growth speed instead of ensuring it's at least a certain amount. Thanks for correcting it!

Reply to "Heatstroke"
There are no older topics