teslas now fizzle at 0 energy and adds admin log for fizzles
fixing the tesla engine 100% speedrun world record
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#define INVESTIGATE_GRAVITY "gravity"
|
||||
#define INVESTIGATE_RECORDS "records"
|
||||
#define INVESTIGATE_SINGULO "singulo"
|
||||
#define INVESTIGATE_TESLA "tesla"
|
||||
#define INVESTIGATE_SUPERMATTER "supermatter"
|
||||
#define INVESTIGATE_TELESCI "telesci"
|
||||
#define INVESTIGATE_WIRES "wires"
|
||||
|
||||
@@ -148,6 +148,10 @@
|
||||
else if(orbiting_balls.len)
|
||||
dissipate() //sing code has a much better system.
|
||||
|
||||
if(energy<=0)
|
||||
investigate_log("fizzled.", INVESTIGATE_TESLA)
|
||||
qdel(src)
|
||||
|
||||
/obj/singularity/energy_ball/proc/new_mini_ball()
|
||||
if(!loc)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user