From 44718645688d60eb87f3abca7c92084bb96281d9 Mon Sep 17 00:00:00 2001 From: quotefox Date: Fri, 25 Mar 2022 13:54:42 +0000 Subject: [PATCH] Examine window, for atoms. Examine window, for atoms. --- code/game/atoms.dm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 035b75a90..47d61e3a9 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -342,6 +342,25 @@ . += "It's empty." SEND_SIGNAL(src, COMSIG_PARENT_EXAMINE, user, .) + + +////////////////////////////////////////////////////////////// + //Examine Tab stuff - Hyperstation + var/examineTabOutput = "" + examineTabOutput = "
" + examineTabOutput += "[icon2html(icon, world, icon_state)]" + examineTabOutput += " [url_encode(name)]" //url_encode for safty! + examineTabOutput += "
" + examineTabOutput += "
[url_encode(desc)]" + user.client << output(examineTabOutput, "statbrowser:update_examine") //open the examine window + user.client << output(null, "statbrowser:create_mobexamine") //open the examine window + + + + + + +////////////////////////////////////////////////////////// /// Updates the icon of the atom /atom/proc/update_icon() // I expect we're going to need more return flags and options in this proc