Port upstream PR #5761 that standardized TOD and removed any mention of tod from the code, which was causing the time of death display to not work properly.
Ported the defib timer display from timer - now it tells you in big red text when someone's dead X minute ago (except, well, time of death fuckery obviously) and can be revived.
To achieve this DEFIB_TIME_LIMIT was moved up to a file in the non-modular folder (sorry) so that the define can be shared globally.
Added in a display that check for the HUSK mutations and give a message indicating a corpse is husked.
Why It's Good For The Game
Fix timeofdeath not working, indicates clearly when someone can be defibbed (making this more newbie friendly, just a tiny bit), indicates clearly when someone's husked and needed additional processing instead of having to guess.
Changelog
fix: Time of death now display properly on health analyzer. Report if time is very off.
tweak: Health Analyzer now displays husked corpse as "Severe tissue damage detected. Resuscitation not possible."
tweak: Health analyzer now displays in big red text when you can defib someone.
About The Pull Request
Port upstream PR #5761 that standardized TOD and removed any mention of
tod
from the code, which was causing the time of death display to not work properly.Ported the defib timer display from timer - now it tells you in big red text when someone's dead X minute ago (except, well, time of death fuckery obviously) and can be revived.
To achieve this DEFIB_TIME_LIMIT was moved up to a file in the non-modular folder (sorry) so that the define can be shared globally.
Added in a display that check for the HUSK mutations and give a message indicating a corpse is husked.
Why It's Good For The Game
Fix timeofdeath not working, indicates clearly when someone can be defibbed (making this more newbie friendly, just a tiny bit), indicates clearly when someone's husked and needed additional processing instead of having to guess.
Changelog