Kills off /obj/item/device (#6561)

This commit is contained in:
kevinz000
2018-04-30 00:06:58 -05:00
committed by Poojawa
parent ab3035a4ea
commit 3369c804b2
538 changed files with 6728 additions and 6707 deletions
+4 -4
View File
@@ -40,7 +40,7 @@
/obj/machinery/am_shielding/proc/collapse()
visible_message("<span class='notice'>[src] collapses back into a container!</span>")
new /obj/item/device/am_shielding_container(drop_location())
new /obj/item/am_shielding_container(drop_location())
qdel(src)
/obj/machinery/am_shielding/proc/controllerscan(priorscan = 0)
@@ -231,7 +231,7 @@
/obj/item/device/am_shielding_container
/obj/item/am_shielding_container
name = "packaged antimatter reactor section"
desc = "A small storage unit containing an antimatter reactor section. To use place near an antimatter control unit or deployed antimatter reactor section and use a multitool to activate this package."
icon = 'icons/obj/machines/antimatter.dmi'
@@ -246,8 +246,8 @@
throw_range = 2
materials = list(MAT_METAL=100)
/obj/item/device/am_shielding_container/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/device/multitool) && istype(src.loc, /turf))
/obj/item/am_shielding_container/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/multitool) && istype(src.loc, /turf))
new/obj/machinery/am_shielding(src.loc)
qdel(src)
else