Removes meh proc (#26044)

This commit is contained in:
DGamerL
2024-06-26 20:40:10 +00:00
committed by GitHub
parent ed7782ad4c
commit 211fd3c7fb
2 changed files with 3 additions and 16 deletions
-13
View File
@@ -493,19 +493,6 @@ GLOBAL_LIST_EMPTY(do_after_once_tracker)
if(H.dna && istype(H.dna.species, species_datum))
. = TRUE
/proc/spawn_atom_to_turf(spawn_type, target, amount, admin_spawn=FALSE, list/extra_args)
var/turf/T = get_turf(target)
if(!T)
CRASH("attempt to spawn atom type: [spawn_type] in nullspace")
var/list/new_args = list(T)
if(extra_args)
new_args += extra_args
for(var/j in 1 to amount)
var/atom/X = new spawn_type(arglist(new_args))
X.admin_spawned = admin_spawn
/proc/admin_mob_info(mob/M, mob/user = usr)
if(!ismob(M))
to_chat(user, "This can only be used on instances of type /mob")
+3 -3
View File
@@ -1063,7 +1063,7 @@ GLOBAL_LIST_EMPTY(airlock_emissive_underlays)
security_level = AIRLOCK_SECURITY_NONE
modify_max_integrity(normal_integrity)
damage_deflection = AIRLOCK_DAMAGE_DEFLECTION_N
spawn_atom_to_turf(/obj/item/stack/sheet/plasteel, user.loc, 1)
new /obj/item/stack/sheet/plasteel(get_turf(user))
update_icon()
else if(panel_open && security_level == AIRLOCK_SECURITY_PLASTEEL_O_S)
to_chat(user, "<span class='notice'>You start removing outer layer of shielding...</span>")
@@ -1073,7 +1073,7 @@ GLOBAL_LIST_EMPTY(airlock_emissive_underlays)
user.visible_message("<span class='notice'>[user] removes \the [src]'s shielding.</span>",
"<span class='notice'>You remove \the [src]'s shielding.</span>")
security_level = AIRLOCK_SECURITY_PLASTEEL_I
spawn_atom_to_turf(/obj/item/stack/sheet/plasteel, user.loc, 1)
new /obj/item/stack/sheet/plasteel(get_turf(user))
else
try_to_crowbar(user, I)
@@ -1127,7 +1127,7 @@ GLOBAL_LIST_EMPTY(airlock_emissive_underlays)
"<span class='notice'>You cut through \the [src]'s shielding.</span>",
"<span class='italics'>You hear welding.</span>")
security_level = AIRLOCK_SECURITY_NONE
spawn_atom_to_turf(/obj/item/stack/sheet/metal, user.loc, 2)
new /obj/item/stack/sheet/metal(get_turf(user), 2)
if(AIRLOCK_SECURITY_PLASTEEL_O)
to_chat(user, "<span class='notice'>You begin cutting the outer layer of shielding...</span>")
if(!I.use_tool(src, user, 40, volume = I.tool_volume))