mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user