CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.32k stars 4.14k forks source link

Add tests for frostbite threshold. #35860

Open kevingranade opened 4 years ago

kevingranade commented 4 years ago

Is your feature request related to a problem? Please describe.
A user pointed out a potential problem with how we handle frostbite, innthat frostbite evidently does not occur in ambient temperatures above 28F. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4923033/

Describe the solution you'd like
With such a clear threshold, I'd like to add a test that places a NPC in an environment either above or below this threshold (with various wind conditions) and assert they do or do nor develop frostbite.

If course, once this test is established code should be adjusted to make it pass.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not \'bump\' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.