The Great Del() Cull of 2015

This commit is contained in:
Fox-McCloud
2015-07-09 02:48:34 -04:00
parent 656b2c449a
commit 0dbea7621f
342 changed files with 915 additions and 916 deletions
+5 -5
View File
@@ -19,7 +19,7 @@
if(istype(W, /obj/item/weapon/crowbar))
new /obj/machinery/constructable_frame/machine_frame(T)
new /obj/item/stack/sheet/glass(T)
del(src)
qdel(src)
playsound(get_turf(src), 'sound/items/Crowbar.ogg', 50, 1)
return
@@ -33,7 +33,7 @@
C.req_access = circuit.conf_access
C.req_one_access = null
playsound(get_turf(src), 'sound/items/Screwdriver.ogg', 50, 1)
del(src)
qdel(src)
return
if(istype(W, /obj/item/weapon/crowbar))
circuit.loc=T
@@ -123,8 +123,8 @@
if (prob(75))
PoolOrNew(/obj/item/weapon/shard, loc)
if(occupant) dump()
del(src)
qdel(src)
/obj/structure/displaycase/proc/healthcheck()
if (src.health <= 0)
if (!( src.destroyed ))
@@ -194,7 +194,7 @@
C.loc=T
circuit=null
new /obj/machinery/constructable_frame/machine_frame(T)
del(src)
qdel(src)
if(user.a_intent == "harm")
src.health -= W.force
src.healthcheck()