converts ex_act to legacy_ex_act, plants the seeds for new explosions (#4662)

Co-authored-by: VM_USER <VM_USER>
This commit is contained in:
silicons
2022-11-02 20:45:16 +01:00
committed by GitHub
co-authored by VM_USER <VM_USER>
parent e5af5346f6
commit a90d92df2b
169 changed files with 346 additions and 273 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
/obj/singularity_act()
if(flags & ATOM_ABSTRACT)
return
ex_act(1)
legacy_ex_act(1)
if(!QDELETED(src))
qdel(src)
return 2
+1 -1
View File
@@ -101,7 +101,7 @@ var/global/list/rad_collectors = list()
. = ..()
. += "The meter indicates that \the [src] is collecting [last_power] W."
/obj/machinery/power/rad_collector/ex_act(severity)
/obj/machinery/power/rad_collector/legacy_ex_act(severity)
switch(severity)
if(2, 3)
eject()
@@ -38,7 +38,7 @@
if(isliving(bumped_atom))
shock(bumped_atom)
/obj/machinery/containment_field/ex_act(severity)
/obj/machinery/containment_field/legacy_ex_act(severity)
return 0
/obj/machinery/containment_field/shock(mob/living/user as mob)
@@ -72,7 +72,7 @@
Bump(A)
/obj/effect/accelerated_particle/ex_act(severity)
/obj/effect/accelerated_particle/legacy_ex_act(severity)
qdel(src)
/obj/effect/accelerated_particle/singularity_act()
@@ -140,7 +140,7 @@ So, hopefully this is helpful if any more icons are to be added/changed/wonderin
log_game("PACCEL([x],[y],[z]) Was moved while active and turned off.")
investigate_log("was moved whilst active; it <font color='red'>powered down</font>.","singulo")
/obj/structure/particle_accelerator/ex_act(severity)
/obj/structure/particle_accelerator/legacy_ex_act(severity)
switch(severity)
if(1.0)
qdel(src)
@@ -311,7 +311,7 @@ So, hopefully this is helpful if any more icons are to be added/changed/wonderin
..()
return
/obj/machinery/particle_accelerator/ex_act(severity)
/obj/machinery/particle_accelerator/legacy_ex_act(severity)
switch(severity)
if(1.0)
qdel(src)
@@ -50,7 +50,7 @@ GLOBAL_LIST_BOILERPLATE(all_singularities, /obj/singularity)
consume(user)
return 1
/obj/singularity/ex_act(severity, target)
/obj/singularity/legacy_ex_act(severity, target)
switch(severity)
if(1)
if(current_size <= STAGE_TWO)