More chemical updates.

This commit is contained in:
SkyMarshal
2012-02-29 17:38:10 -07:00
parent e8bd665e76
commit e574bf251a
+15 -19
View File
@@ -451,13 +451,9 @@ datum
on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
if(!data) data = 1
data++
if(M.losebreath >= 10)
M.losebreath = max(10, M.losebreath-5)
holder.remove_reagent(src.id, 0.2)
if(data >= 50)
M:adjustToxLoss(0.1)
return
space_drugs
@@ -478,7 +474,7 @@ datum
if(prob(7)) M:emote(pick("twitch","drool","moan","giggle"))
holder.remove_reagent(src.id, 0.2)
if(data >= 50)
M:adjustToxLoss(0.2)
M:adjustToxLoss(min(((data-50)/10),3))
return
serotrotium
@@ -870,7 +866,7 @@ datum
M.disabilities = 0
switch(data)
if(50 to INFINITY)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1178,7 +1174,7 @@ datum
else if(M.bodytemperature < 311)
M.bodytemperature = min(310, M.bodytemperature+20)
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1198,7 +1194,7 @@ datum
M.confused = max(M.confused, 20)
holder.remove_reagent(src.id, 0.2)
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1235,7 +1231,7 @@ datum
data++
M:heal_organ_damage(0,2)
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1254,7 +1250,7 @@ datum
data++
M:heal_organ_damage(0,3)
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1275,7 +1271,7 @@ datum
if(holder.has_reagent("lexorin"))
holder.remove_reagent("lexorin", 2)
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1296,7 +1292,7 @@ datum
if(holder.has_reagent("lexorin"))
holder.remove_reagent("lexorin", 2)
if(data >= 50)
M:adjustToxLoss(0.2)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1426,7 +1422,7 @@ datum
if(prob(50)) M:drowsyness = max(M:drowsyness, 3)
if(prob(10)) M:emote("drool")
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1441,7 +1437,7 @@ datum
if(!M) M = holder.my_atom
M:radiation = max(M:radiation-3,0)
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1464,7 +1460,7 @@ datum
M.take_organ_damage(1, 0)
..()
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
return
alkysine
@@ -1496,7 +1492,7 @@ datum
M:eye_blind = max(M:eye_blind-5 , 0)
M:disabilities &= ~1
if(data >= 50)
M:adjustToxLoss(0.1)
M:adjustToxLoss(min(((data-50)/10),3))
..()
return
@@ -1533,7 +1529,7 @@ datum
if(prob(5)) M:emote(pick("twitch","blink_r","shiver"))
holder.remove_reagent(src.id, 0.2)
if(data >= 50)
M:adjustToxLoss(0.3)
M:adjustToxLoss(min(((data-50)/5),3))
..()
return
@@ -1585,7 +1581,7 @@ datum
data++
holder.remove_reagent(src.id, 0.1)
if(data >= 50)
M:adjustToxLoss(0.2)
M:adjustToxLoss(min(((data-50)/10),3))
return
carpotoxin
@@ -1651,7 +1647,7 @@ datum
data++
M:hallucination += 5
if(data >= 50)
M:adjustToxLoss(0.2)
M:adjustToxLoss(0.1)
..()
return