mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Refactors the examine proc to return a list of strings (#12280)
This commit is contained in:
committed by
variableundefined
parent
40a4cd1b75
commit
0e8ddb2afe
@@ -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 //
|
||||
|
||||
Reference in New Issue
Block a user