Singularity now releases itself at 1000 energy and EXPLODES at 2000. Coded by Barhandar.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@864 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
crazyclonetheninja
2011-01-16 05:32:27 +00:00
parent 49ba62ab7e
commit 2b27140534

View File

@@ -116,6 +116,14 @@ However people seem to like it for some reason.
else
energy -= 5
switch(energy)
if(1000 to 1999)
for(var/obj/machinery/field_generator/F in orange(5,src))
F.turn_off()
if(2000 to INFINITY)
explosion(src.loc, 4, 8, 15, 0)
src.ex_act(1) //if it survived the explosion
if(prob(15))//Chance for it to run a special event
event()
var/turf/T = get_turf(src)