Add examine_block to all examined mobs

This commit is contained in:
ShadowLarkens
2024-09-09 17:16:44 -07:00
parent 7ddba46758
commit 37a0b30a2e
6 changed files with 15 additions and 9 deletions
+4 -1
View File
@@ -112,7 +112,10 @@
var/list/results = A.examine(src)
if(!results || !results.len)
results = list("You were unable to examine that. Tell a developer!")
to_chat(src, "<span class='infoplain'>[jointext(results, "<br>")]</span>")
var/final_string = "<span class='infoplain'>[jointext(results, "<br>")]</span>"
if(ismob(A)) // mob descriptions matter more than others
final_string = examine_block(final_string)
to_chat(src, final_string)
update_examine_panel(A)
/mob/proc/update_examine_panel(var/atom/A)