Refactors the examine proc to return a list of strings (#12280)

This commit is contained in:
farie82
2019-09-25 22:05:01 -07:00
committed by variableundefined
parent 40a4cd1b75
commit 0e8ddb2afe
210 changed files with 808 additions and 830 deletions
+2 -3
View File
@@ -369,7 +369,7 @@
////////////////////////////// Feel free to try cleaning it up if you think of a better way to do it.
/obj/machinery/fishtank/examine(mob/user)
..(user)
. = ..()
var/examine_message = ""
//Approximate water level
@@ -474,8 +474,7 @@
//Finally, report the full examine_message constructed from the above reports
to_chat(user, "<span class='notice'>[examine_message]</span>")
return examine_message
. += "<span class='notice'>[examine_message]</span>"
//////////////////////////////
// ATACK PROCS //