From b6b54cc8ec6724b26d1a4e59765f716a6faeabce Mon Sep 17 00:00:00 2001 From: Ren Erthilo Date: Mon, 26 Mar 2012 18:10:28 +0100 Subject: [PATCH] TG: Removing some references and replacing with the god procs. oxyloss mostly this time. --- code/game/machinery/Sleeper.dm | 2 +- code/modules/chemical/Chemistry-Reagents.dm | 2 +- code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm | 2 +- code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/machinery/Sleeper.dm b/code/game/machinery/Sleeper.dm index bc8eeff2c38..085541b16cb 100644 --- a/code/game/machinery/Sleeper.dm +++ b/code/game/machinery/Sleeper.dm @@ -244,7 +244,7 @@ var/amount = max(0.15, 1) M.adjustOxyLoss(-amount) else - M.oxyloss = 0 + M.adjustOxyLoss(-12) M.updatehealth() M.AdjustParalysis(-4) M.AdjustWeakened(-4) diff --git a/code/modules/chemical/Chemistry-Reagents.dm b/code/modules/chemical/Chemistry-Reagents.dm index a1602f1192a..8d676aff768 100644 --- a/code/modules/chemical/Chemistry-Reagents.dm +++ b/code/modules/chemical/Chemistry-Reagents.dm @@ -437,7 +437,7 @@ datum M:drowsyness = max(M:drowsyness, 20) if(25 to INFINITY) M.sleeping = 1 - M.oxyloss = 0 + M.adjustOxyLoss(-M.getOxyLoss()) M.SetWeakened(0) M.SetStunned(0) M.SetParalysis(0) diff --git a/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm b/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm index b43dadeaf9f..152e86def59 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/caste/hunter.dm @@ -97,7 +97,7 @@ if(src.health <= 20 && prob(1)) spawn(0) emote("gasp") //if(!src.rejuv) src.oxyloss++ - if(!src.reagents.has_reagent("inaprovaline")) src.oxyloss++ + if(!src.reagents.has_reagent("inaprovaline")) src.adjustOxyLoss(1) if(src.stat != 2) src.stat = 1 Paralyse(5) diff --git a/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm b/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm index 18068790767..ebadc3bb720 100644 --- a/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm +++ b/code/modules/mob/living/carbon/alien/humanoid/caste/sentinel.dm @@ -98,7 +98,7 @@ if(src.health <= 20 && prob(1)) spawn(0) emote("gasp") //if(!src.rejuv) src.oxyloss++ - if(!src.reagents.has_reagent("inaprovaline")) src.oxyloss++ + if(!src.reagents.has_reagent("inaprovaline")) src.adjustOxyLoss(1) if(src.stat != 2) src.stat = 1 Paralyse(5)