Cryo now stops bleeding temporarily.

To be exact, low body temperature in general does.
This commit is contained in:
cib
2012-11-23 15:59:43 +01:00
parent 657ede67c0
commit d52d0c2c88
2 changed files with 8 additions and 4 deletions
@@ -86,6 +86,10 @@
/mob/living/carbon/human/proc/drip(var/amt as num)
if(!amt)
return
if(bodytemperature < 170)
// if the body is cooled enough, the metabolism is basically stopped,
// which will prevent from bleeding out
return
var/amm = 0.1 * amt
var/turf/T = get_turf(src)
@@ -821,7 +825,7 @@
/mob/living/carbon/human/proc/morph()
set name = "Morph"
set category = "Superpower"
if(stat!=CONSCIOUS)
reset_view(0)
remoteview_target = null
@@ -972,7 +976,7 @@
gloves.germ_level += n
else
germ_level += n
/mob/living/carbon/human/revive()
for (var/datum/organ/external/O in organs)
O.status &= ~ORGAN_BROKEN
@@ -1002,7 +1006,7 @@
/mob/living/carbon/human/proc/rupture_lung()
var/datum/organ/external/chest/E = get_organ("chest")
if(E.ruptured_lungs == 0)
src.custom_pain("You feel a stabbing pain in your chest!", 1)
+1 -1
View File
@@ -130,7 +130,7 @@
proc/handle_blood()
// take care of blood and blood loss
if(stat < 2)
if(stat < 2 && bodytemperature >= 170)
var/blood_volume = round(vessel.get_reagent_amount("blood"))
if(blood_volume < 560 && blood_volume)
var/datum/reagent/blood/B = locate() in vessel.reagent_list //Grab some blood