From 9d3b9bf3dac08594d1782ffaf31fc5f70da1f419 Mon Sep 17 00:00:00 2001 From: "musketstgstation@gmail.com" Date: Sat, 6 Nov 2010 18:08:41 +0000 Subject: [PATCH] Added a confirmation dialog to BOOM BOOM SHAKE THE ROOM as that is far too easy to set off by accident git-svn-id: http://tgstation13.googlecode.com/svn/trunk@376 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/admin/admin_verbs.dm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index f51f58248e1..01481e61994 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -695,16 +695,16 @@ if(!src.authenticated || !src.holder) src << "Only administrators may use this command." return + if(alert("BLOW EVERYTHING UP?",,"Yes","No")=="Yes") + for(var/turf/simulated/floor/T in world) + if(prob(4) && T.z == 1 && istype(T)) + spawn(50+rand(0,3000)) + explosion(T, rand(1,5), rand(1,6), rand(3,10), 0) - for(var/turf/simulated/floor/T in world) - if(prob(4) && T.z == 1 && istype(T)) - spawn(50+rand(0,3000)) - explosion(T, rand(1,5), rand(1,6), rand(3,10), 0) + usr << "\blue Blowing up station ..." - usr << "\blue Blowing up station ..." - - log_admin("[key_name(usr)] has used boom boom boom shake the room") - message_admins("[key_name_admin(usr)] has used boom boom boom shake the room", 1) + log_admin("[key_name(usr)] has used boom boom boom shake the room") + message_admins("[key_name_admin(usr)] has used boom boom boom shake the room", 1) /client/proc/colorooc() set category = "Fun"