Examine Code Refactor

This commit is contained in:
Dip
2020-10-06 23:36:21 -03:00
parent c433514622
commit aa7d47a23b
334 changed files with 1337 additions and 1365 deletions
+5 -5
View File
@@ -38,14 +38,14 @@
return ..()
/obj/structure/displaycase/examine(mob/user)
..()
. = ..()
if(alert)
to_chat(user, "<span class='notice'>Hooked up with an anti-theft system.</span>")
. += "<span class='notice'>Hooked up with an anti-theft system.</span>"
if(showpiece)
to_chat(user, "<span class='notice'>There's [showpiece] inside.</span>")
. += "<span class='notice'>There's [showpiece] inside.</span>"
if(trophy_message)
to_chat(user, "The plaque reads:")
to_chat(user, trophy_message)
. += "The plaque reads:"
. += trophy_message
/obj/structure/displaycase/proc/dump()