From bd40304cb598d0e7f108dae7193fef192b6d1c9b Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Tue, 19 Mar 2019 10:23:40 +0100 Subject: [PATCH] Power Transmit enabled on Engineneeering drones Only them for now --- .../mob/living/silicon/robot/drone/drone_unify.dm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/silicon/robot/drone/drone_unify.dm b/code/modules/mob/living/silicon/robot/drone/drone_unify.dm index 535a12fb59..654d8df003 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_unify.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_unify.dm @@ -43,8 +43,7 @@ /obj/item/weapon/robot_module/drone/powerbank/New() //Trading in the RCD for a Powergenerating device ..() src.modules += new /obj/item/device/dogborg/sleeper/compactor/drone(src) - cell.maxcharge = 100000 - cell.charge = 100000 + //////////////////////////////////////// //DRONE LAWS @@ -128,6 +127,12 @@ //DRONE PROCS //////////////////////////////////////// //Drone Drone Procs +/mob/living/silicon/robot/drone/unify/powerengineering/New() + ..() + cell.maxcharge = 100000 + cell.charge = 100000 + verbs |= /mob/living/silicon/robot/drone/proc/transmitpower + /mob/living/silicon/robot/drone/unify/powerengineering/updatename() real_name = "engineering drone ([rand(100,999)])" name = real_name