mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Merge pull request #8031 from VOREStation/Arokha/drillcell2
Actually fix drill cells for real this time
This commit is contained in:
@@ -54,9 +54,9 @@
|
|||||||
|
|
||||||
/obj/machinery/mining/drill/Initialize()
|
/obj/machinery/mining/drill/Initialize()
|
||||||
. = ..()
|
. = ..()
|
||||||
default_apply_parts()
|
|
||||||
if(ispath(cell))
|
if(ispath(cell))
|
||||||
cell = new cell(src)
|
cell = new cell(src)
|
||||||
|
default_apply_parts()
|
||||||
|
|
||||||
/obj/machinery/mining/drill/loaded
|
/obj/machinery/mining/drill/loaded
|
||||||
cell = /obj/item/weapon/cell/high
|
cell = /obj/item/weapon/cell/high
|
||||||
@@ -241,7 +241,7 @@
|
|||||||
capacity = 200 * P.rating
|
capacity = 200 * P.rating
|
||||||
if(istype(P, /obj/item/weapon/stock_parts/capacitor))
|
if(istype(P, /obj/item/weapon/stock_parts/capacitor))
|
||||||
charge_use -= 10 * P.rating
|
charge_use -= 10 * P.rating
|
||||||
cell = locate(/obj/item/weapon/cell) in component_parts
|
cell = locate(/obj/item/weapon/cell) in src
|
||||||
|
|
||||||
/obj/machinery/mining/drill/proc/check_supports()
|
/obj/machinery/mining/drill/proc/check_supports()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user