From 0dd3e20c75c923e1a18a788a32798ceb0dd642f2 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Wed, 9 Mar 2011 15:53:57 +0000 Subject: [PATCH] Tanks on transfer valves no longer trip the explosive tank rupture logging, since they already have the transfer valve logging. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1171 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/tank.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/objects/tank.dm b/code/game/objects/tank.dm index c11972ddf1c..96b696e4502 100644 --- a/code/game/objects/tank.dm +++ b/code/game/objects/tank.dm @@ -106,6 +106,8 @@ var/pressure = air_contents.return_pressure() if(pressure > TANK_FRAGMENT_PRESSURE) + if(!istype(src.loc,/obj/item/device/transfer_valve)) + message_admins("Explosive tank rupture! last key to touch the tank was [src.fingerprintslast].") //world << "\blue[x],[y] tank is exploding: [pressure] kPa" //Give the gas a chance to build up more pressure through reacting air_contents.react() @@ -118,7 +120,7 @@ var/turf/epicenter = get_turf(loc) //world << "\blue Exploding Pressure: [pressure] kPa, intensity: [range]" - message_admins("Explosive tank rupture! last key to touch the tank was [src.fingerprintslast].") + explosion(epicenter, round(range*0.25), round(range*0.5), round(range), round(range*1.5)) del(src)