TG: toxloss is now only referenced via procs. r2875

This commit is contained in:
Ren Erthilo
2012-03-26 23:23:46 +01:00
parent e6b85575f6
commit 81f76406a3
3 changed files with 5 additions and 5 deletions

View File

@@ -305,7 +305,7 @@ proc/airborne_can_reach(turf/source, turf/target)
stage = 4
activate(var/mob/living/carbon/mob,var/multiplier)
mob << "\red You feel something tearing its way out of your stomach..."
mob.toxloss += 10
mob.adjustToxLoss(10)
mob.updatehealth()
if(prob(40))
if(mob.client)
@@ -340,7 +340,7 @@ proc/airborne_can_reach(turf/source, turf/target)
stage = 3
maxm = 3
activate(var/mob/living/carbon/mob,var/multiplier)
mob.toxloss += (2*multiplier)
mob.adjustToxLoss((2*multiplier))
/datum/disease2/effect/greater/drowsness
name = "Automated sleeping syndrome"
@@ -425,7 +425,7 @@ proc/airborne_can_reach(turf/source, turf/target)
name = "Toxification syndrome"
stage = 4
activate(var/mob/living/carbon/mob,var/multiplier)
mob.toxloss += 15
mob.adjustToxLoss(15)
/datum/disease2/effect/greater/sleepy
name = "Resting syndrome"

View File

@@ -36,7 +36,7 @@
if(M.virus2)
M.virus2.cure_added(resistance)
else if(works == 1)
M.toxloss += 60
M.adjustToxLoss(60)
else if(works == 2)
M.gib()
else if(works == 3)

View File

@@ -399,7 +399,7 @@ var/global/list/uneatable = list(
toxmob()
var/toxrange = 10
var/toxdamage = 4 // changed the name to toxdamage from toxloss to prevent further conflicts
var/toxdamage = 4
var/radiation = 5
if (src.energy>200)
toxdamage = round(((src.energy-150)/50)*4,1)