mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
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
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user