From 09d47409a23d079d22d8ca9811fb30cd1ba00581 Mon Sep 17 00:00:00 2001 From: Ryal Date: Wed, 20 Jan 2021 02:10:08 -0800 Subject: [PATCH] Allows Janitor borg's EMAG lube to refill in a charger (#15278) * Allows Janitor borg's EMAG lube to refill in a charger * Update code/modules/mob/living/silicon/robot/robot_modules.dm Co-authored-by: Farie82 Co-authored-by: Farie82 --- code/modules/mob/living/silicon/robot/robot_modules.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/mob/living/silicon/robot/robot_modules.dm b/code/modules/mob/living/silicon/robot/robot_modules.dm index a50d37c1a59..006573b018f 100644 --- a/code/modules/mob/living/silicon/robot/robot_modules.dm +++ b/code/modules/mob/living/silicon/robot/robot_modules.dm @@ -295,6 +295,12 @@ fix_modules() +/obj/item/robot_module/janitor/respawn_consumable(mob/living/silicon/robot/R) + if(emag) + var/obj/item/reagent_containers/spray/S = emag + S.reagents.add_reagent("lube", 5) + ..() + /obj/item/robot_module/butler name = "service robot module" module_type = "Service"