From 99e2894d0106d3375c9187358db4428e709f5675 Mon Sep 17 00:00:00 2001 From: Head Date: Sun, 11 Dec 2011 02:21:51 +0100 Subject: [PATCH] Made the blob take damage from fire. --- code/game/gamemodes/blob/theblob.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/game/gamemodes/blob/theblob.dm b/code/game/gamemodes/blob/theblob.dm index 7c5458fe500..94bbc4a31df 100644 --- a/code/game/gamemodes/blob/theblob.dm +++ b/code/game/gamemodes/blob/theblob.dm @@ -158,9 +158,12 @@ return 1 if(special_action()) return 1 + return 0 - + temperature_expose(datum/gas_mixture/air, temperature, volume) + if(temperature > T0C+200) + health -= 0.01 * temperature proc/expand(var/turf/T = null) if(!prob(health)) return//TODO: Change this to prob(health + o2 mols or such) if(!T)