Show Held Item

This commit is contained in:
Enric Gabriel
2020-08-12 11:30:55 -03:00
parent 6fa0249fbc
commit 3fbf8d71f4
5 changed files with 42 additions and 3 deletions
@@ -516,6 +516,13 @@
to_chat(usr, "<span class='notice'>Successfully added comment.</span>")
return
to_chat(usr, "<span class='warning'>Unable to locate a data core entry for this person.</span>")
if(href_list["lookitem"]) //It's for the show item at sandcode/code/modules/mob/living/carbon/show.dm
var/obj/item/I = locate(href_list["lookitem"])
if(I in view(4))
src.examinate(I)
else
to_chat(usr, "<span class='warning'>You need to get closer to examine that!</span>")
/mob/living/carbon/human/proc/canUseHUD()
return CHECK_MOBILITY(src, MOBILITY_UI)