mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
The Great Del() Cull of 2015
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user