mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Make Singulo Stable Again (#4521)
* Make Singulo Stable Again * Prevents emitter beam effects from being pulled by singulo. Now watch them hit the field gens. * Prevent singulo from consuming the PA particle effects. It already gets fed by impact, don't try to eat them. * Improve the Setup Singularity debug verb to do more better setup (including PA) * Fix the energy dissipation values so that singularity does not just keep on growing even when setup properly. * Enhance singularity proc/eat() * Use `var/simulated` as a more generic way to ignore lighting overlays etc * Remove redundant code in the rest of the proc body. * Slight optimization: avoiding typecheck in loop over return from orange()
This commit is contained in:
@@ -512,12 +512,25 @@
|
||||
return
|
||||
|
||||
for(var/obj/machinery/power/emitter/E in world)
|
||||
if(E.anchored)
|
||||
E.active = 1
|
||||
if(istype(get_area(E), /area/space))
|
||||
E.anchored = TRUE
|
||||
E.state = 2
|
||||
E.connect_to_network()
|
||||
E.active = TRUE
|
||||
|
||||
for(var/obj/machinery/field_generator/F in world)
|
||||
if(F.anchored)
|
||||
if(istype(get_area(F), /area/space))
|
||||
F.Varedit_start = 1
|
||||
|
||||
for(var/obj/structure/particle_accelerator/PA in world)
|
||||
PA.anchored = TRUE
|
||||
PA.construction_state = 3
|
||||
PA.update_icon()
|
||||
for(var/obj/machinery/particle_accelerator/PA in world)
|
||||
PA.anchored = TRUE
|
||||
PA.construction_state = 3
|
||||
PA.update_icon()
|
||||
|
||||
spawn(30)
|
||||
for(var/obj/machinery/the_singularitygen/G in world)
|
||||
if(G.anchored)
|
||||
@@ -549,10 +562,6 @@
|
||||
if(!Rad.active)
|
||||
Rad.toggle_power()
|
||||
|
||||
for(var/obj/machinery/power/smes/SMES in world)
|
||||
if(SMES.anchored)
|
||||
SMES.input_attempt = 1
|
||||
|
||||
/client/proc/setup_supermatter_engine()
|
||||
set category = "Debug"
|
||||
set name = "Setup supermatter"
|
||||
|
||||
Reference in New Issue
Block a user