vgstation-coders / vgstation13

Butts
GNU General Public License v3.0
264 stars 543 forks source link

Hypothermia & Human Heat Transfer #7158

Closed ghost closed 8 years ago

ghost commented 8 years ago

TO BEGIN, OUR AIM IS TO:

make cold deadly in form of hypothermia when completely unprotected BUT don't pull a cancer, rather buff deadliness later than have it be too deadly now. Please give your input/ideas. exceptions may need to be made for cryo & space

Two issues need to be addressed to make hypothermia real.

First: Heat transfer Second: Hypothermia

Heat Transfer

My intention is fairly simple with this one, as opposed to playing with lots of different flags and other such things right now, simply focus on these aims right now.

Aims

That's fairly simple to code, I think (though likely I will be editing this sentence out later), as all of the flags and variables required for this are already in the game (I hope)

Hypothermia

I've been researching all around for any information on this I can find, and while I will not bore you with everything I've discovered, I will warn you I'm not a biologist (or a doctor) so I've not a fucking clue what I'm doing on this, though I found http://www.nhs.uk/Conditions/Hypothermia/Pages/Symptoms.aspx to be fairly well presented, and have used this to come up with how I believe it should be implemented

3 stages-

35-32C mild

-shivering (release energy) -nutriment goes down way faster, make more energy

32-28C moderate

ihadtoregisterforthis commented 8 years ago
FudgePucker commented 8 years ago

Oh boy cold loop to distro traitor here I come!

ghost commented 8 years ago

so, I read into life code. Did you know, even at absolute 0, so long as you wear a helmet and have internals (no need for ANYTHING else) you won't take damage

Killette2 commented 8 years ago

Can this make cuddling a feature?

FudgePucker commented 8 years ago

L-lude You know erp is banned What's next, hand holding? You disgust me degenerate.

Killette2 commented 8 years ago

It's for survival I swear!

ghost commented 8 years ago

here have something I found when researching:

When rewarming the body of a hypothermic person with the body of another person, first-aid experts often recommend that both the victim and the "rewarmer" be naked or barely dressed. This facilitates the transfer of heat from the warm person to the person with hypothermia.

PJB3005 commented 8 years ago

:+1: for more realistic spess

ghost commented 8 years ago

Hello friends. I'm digging through life code to work on this. Don't worry, I've got a harness and shouldn't get lost. Here, have a little something I found.

    if(loc_temp < 310.15) // a cold place
        bodytemperature += adjust_body_temperature(bodytemperature, loc_temp, 1)
    else // a hot place
        bodytemperature += adjust_body_temperature(bodytemperature, loc_temp, 1)
ghost commented 8 years ago

When you hug somebody, the warmer shares heat with the colder, but not an increase of temperature between the two or have an upper limit else you'll have assistants hugging each other till they set themselves on fire

FudgePucker commented 8 years ago

Upper limit should be the temp of the hotter person

NigglyWiggly commented 8 years ago

He doesn't want to hug people until they burst into flames

FudgePucker commented 8 years ago

You can still hug someone to catch them on fire, you just have to be on fire.

Senaat1 commented 8 years ago

Things you need to keep in mind: Heat generated by fires or hot gas Temperature guns Hot peppers/ice peppers Plasmamen taking off their suits Cold showers and hot showers Cryo in general Virus effects that affect temperatures

Senaat1 commented 8 years ago

Frost oil in general

ghost commented 8 years ago

love you senaat

Senaat1 commented 8 years ago

cryo beams from genetics

self-ignition from genetics

ghost commented 8 years ago

Basilisk stares

NigglyWiggly commented 8 years ago

Chili, coffee, and various other warm foods/drinks.

Reminder that drinking alcohol will make you feel warmer as your blood flows more or whatever, but it'll end up killing you quicker!

TheEliminator16 commented 8 years ago

https://www.mediafire.com/?n8scagfdkfkhmiw mancrowave Here's my contribution. Celt asked me for a sprite of a man sized microwave that will quickly warm you up after coming out of cryo. I give you: THE MANCROWAVE

Killette2 commented 8 years ago

Will there be a version for women?

ghost commented 8 years ago

Why not just an electric heat blanket and a cup of coffee, instead of adding new container machines?

icantthinkofanameritenow commented 8 years ago

Now we need a third issue which I mentioned in the pull request but has yet to be memtioned here: Frostbite.

The average unprotected person who dies in a cold environment only succumbs to hypothermia if the temperature drop is relatively gradual, but in SS13 very little that has to do with temperature is gradual. As a result, hypothermia proper should be relatively rare even when it is cold, perhaps due to only being partially protected from cold.

We're more likely to see sudden temperature changes, which in the real world would be much more likely to lead to death by gangrene as a complication of frostbite. Obviously limb damage would be the main way of working this in, and for obvious reasons cryo or medicine.should be unable to fix it in its late stages (given that there's no living tissue in the frostbitten limb left to rejuvenate).

Instead, amputation will have to be performed or the person's life will be in danger even after they're properly warmed (constant high toxin damage as long as the limb is not removed, maybe?).

ihadtoregisterforthis commented 8 years ago

Warned you about the treadmills bro!!!!

I told you, dog!

ghost commented 8 years ago

this should've been closed, feature fulfilled.

Killette2 commented 8 years ago

Wait

<28c = death?

I though the standard stations temp was 20c

ghost commented 8 years ago

you're a buck eejit, @Killette2, body temperature =/= ambient temperature, or you'd die every time you walked outside.

Killette2 commented 8 years ago

Well explain why if you go in a 20c vent @DrCelt and die/suffer 3rd degree hypothermia. Why is this a thing?

ghost commented 8 years ago

Christ, how behind are you?

Killette2 commented 8 years ago

Very, but after it's been so long I will always have my doubts that everything is fixed in spaghetti code.

ghost commented 8 years ago

Hey man there's been a fair few months since I left and only two outstanding bugs had to be fixed after I returned: when dealing with lifecode, that's an achievement.