adds suport for <hr> tags, makes examining use 'em!

This commit is contained in:
deathride58
2022-06-06 16:51:51 -04:00
parent 04a0a3b869
commit b14c534b37
7 changed files with 24 additions and 2 deletions
@@ -18,4 +18,7 @@
else if (!shunted && !client)
. += "[src]Core.exe has stopped responding! NTOS is searching for a solution to the problem..."
if(LAZYLEN(.) > 1)
.[2] = "<hr>[.[2]]"
. += ..()
@@ -1,5 +1,4 @@
/mob/living/silicon/examine(mob/user) //Displays a silicon's laws to ghosts
. = ..()
if(laws && isobserver(user))
. += "<b>[src] has the following laws:</b>"
for(var/law in laws.get_law_list(include_zeroth = TRUE))
@@ -49,6 +49,9 @@
if(DEAD)
. += "<span class='deadsay'>It looks like its system is corrupted and requires a reset.</span>"
if(LAZYLEN(.) > 1)
.[2] = "<hr>[.[2]]"
SEND_SIGNAL(src, COMSIG_PARENT_EXAMINE, usr, .)
. += ..()