Skip to content

Hypothermia, Hatred, & Human Heat Transfer

Rob Nelson requested to merge pull/7516/hypothermia into Bleeding-Edge

Created by: DrCelt

Hypothermia And Human Heat Transfer

SUMMARY:

  • Addresses #7158 (closed)
  • fixes #7611 (closed)
  • fixes #7746 (closed)
  • Heat transfer Rehaul
  • Hypothermia added
  • changes to things that cause cold damage
  • space blankets
  • ghetto space suits with space blankets
  • thermal homeostasis regulator (when emagged becomes the "mancrowave")
  • changes to cryo

HEAT TRANSFER:

  • removes useless variables heat_protection & cold_protection as these were in 99% of circumstances the exact same as body_parts_covered
  • added a new variable, heat_conductivity to all items, determining how fast they conduct heat away from you
  • added new procs to humans, sweat() & burn_calories() - Now whenever you use up nutriment, you generate heat, but can also expend nutriment to decrease heat.
  • refactored how heat transfer away from humans worked ( see above)

HYPOTHERMIA (REFERENCE ARTICLE: https://en.wikipedia.org/wiki/Hypothermia)

  • added Mild Hypothermia (between 32-35C) - this results in shivering, minor slowdown and messages informing the player that they are cold.
  • added Moderate hypothermia (between 28-32C) - Shivering stops, slowdown increases, may slur/stutter words, chance of dropping items in hand and collapsing temporarily, as well as a 25% chance of "forgetting how to use machines" like when braindamaged
  • added severe hypothermia (24-28C), shivering stops, player is unconcious, pulse decreases to 30BPM and has a 25% chance of taking 5 oxygen damage, which decreases over time as you are still breathing.
  • added profound hypothermia (<24C), pulse stops, player has a 25% chance of taking 5 oxygen damage, does not decrease over time as they are not breathing.

CHANGES THINGS WHICH CAUSE COLD DAMAGE:

(these are only the ones I can remember, I may have missed something out.)

  • coldingtons,
  • cryokinesis,
  • showers,
  • goliaths,
  • temperature gun,
  • chemicals which chill people DISCLAIMER: Foam Fire Extinguishers were not changed.

SPACE BLANKETS:

spaceblankets

  • added space blankets to a first aid kit.
  • you can make an advanced space blanket by applying a bear pelt to one, this looks bitching.
  • space blankets do not conduct heat away from humans, allowing them to heat up, but it slows them down.

GHETTO SPACE SUIT:

ghettorig

  • You can now construct a ghetto space suit with a space blanket, a fire coat and some wire.
  • You can now construct a ghetto space helmet with a space blanket, a gas mask, some wire, & a fire helmet.

THERMAL HOMEOSTASIS REGULATOR:

open off on murder

  • Stabilises body temperature to 37C.
  • When a person is dragged in, it will automatically begin stabilising, there is no need for more buttons to be pressed
  • Takes 5 seconds to heat/cool someone to 37C, which works out as quicker than shaking someone up.
  • Can be emagged to allow for three extra settings - this process is extremely visible, and there is a different sprite for when an emagged function is used
  • Can reenable security features to quickly unemag the device
  • Can bring the device to an emergency stop.
  • Rare: The person inside turns into soylent green - 50 seconds
  • Medium: The person inside turns into burned mess - 60 seconds
  • Well done: The person inside turns into ash. - 70 seconds

CHANGES TO CRYO

  • Cryo now releases someone at 23C instead of -12C (or 25C if they manually eject)
  • Manual eject time brought down from 2 minutes to 30 seconds to make it time-neutral
  • This means that, as the person is ejected below profound hypothermia, they will not breathe until they heat up a wee bit further. This is a positive change, as vox & plasmamen will no longer die from toxin damage/fire immediately after leaving cryo.
  • People inside a cryo cell do not suffer from hypothermia until leaving.

Merge request reports