From 9e88a05e8f622f9b036e06421b7f0705e677f6a6 Mon Sep 17 00:00:00 2001 From: SandPoot Date: Sun, 5 May 2024 18:21:42 -0300 Subject: [PATCH] push --- code/modules/mob/living/simple_animal/bot/cleanbot.dm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/living/simple_animal/bot/cleanbot.dm b/code/modules/mob/living/simple_animal/bot/cleanbot.dm index 806fc60156..1282e78cee 100644 --- a/code/modules/mob/living/simple_animal/bot/cleanbot.dm +++ b/code/modules/mob/living/simple_animal/bot/cleanbot.dm @@ -58,15 +58,15 @@ var/ascended = FALSE // if we have all the top titles, grant achievements to living mobs that gaze upon our cleanbot god -/mob/living/simple_animal/bot/cleanbot/proc/deputize(obj/item/W, mob/user) +/mob/living/simple_animal/bot/cleanbot/proc/deputize(obj/item/stab_tool, mob/user) if(in_range(src, user)) - to_chat(user, "You attach \the [W] to \the [src].") - user.transferItemToLoc(W, src) - weapon = W + to_chat(user, "You attach \the [stab_tool] to \the [src].") + user.transferItemToLoc(stab_tool, src) + weapon = stab_tool weapon_orig_force = weapon.force if(!emagged) weapon.force = weapon.force / 2 - add_overlay(image(icon=weapon.lefthand_file,icon_state=weapon.item_state)) + add_overlay(weapon.build_worn_icon(default_layer = layer + 1, default_icon_file = weapon.lefthand_file, isinhands = TRUE)) /mob/living/simple_animal/bot/cleanbot/proc/update_titles() var/working_title = ""