mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-22 04:38:21 +01:00
Show Held Item
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user