diff --git a/code/game/atoms.dm b/code/game/atoms.dm index dca25e937f..fdc9ea757c 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -196,8 +196,18 @@ else f_name += "oil-stained [name][infix]." + var/borg = "" // Borg grippers say if the item can be gripped + if(isrobot(user) && isitem(src)) + borg = "None of your grippers can hold this." + var/mob/living/silicon/robot/R = user + if(R.module?.modules) + for(var/obj/item/gripper/G in R.module.modules) + if(is_type_in_list(src,G.can_hold)) + borg = span_boldnotice("\The [G]") + span_notice(" can hold this.") + break + var/examine_text = replacetext(get_examine_desc(), "||", "") - var/list/output = list("[icon2html(src,user.client)] That's [f_name] [suffix]", examine_text) + var/list/output = list("[icon2html(src,user.client)] That's [f_name] [suffix] [borg]", examine_text) SEND_SIGNAL(src, COMSIG_PARENT_EXAMINE, user, output) return output