Can map in cell'd mining drills using the /loaded subtype

This commit is contained in:
Aronai Sieyes
2020-05-21 11:31:00 -04:00
parent 3237ae96d7
commit 264a8340c1
2 changed files with 5 additions and 1 deletions

View File

@@ -55,6 +55,11 @@
/obj/machinery/mining/drill/Initialize()
. = ..()
default_apply_parts()
if(ispath(cell))
cell = new cell(src)
/obj/machinery/mining/drill/loaded
cell = /obj/item/weapon/cell/high
/obj/machinery/mining/drill/process()