Adds a to_chat() proc, to pave the way to a non shit chat.

This commit is contained in:
PJB3005
2015-11-25 15:05:25 +01:00
parent 1709a73bdc
commit 99bf59d80e
1110 changed files with 9473 additions and 9348 deletions

View File

@@ -85,7 +85,7 @@
if("[id]" in cached_books)
var/datum/cachedbook/CB = cached_books["[id]"]
if(CB.programmatic)
user << "<span class='danger'>That book cannot be removed from the system, as it does not actually exist in the database.</span>"
to_chat(user, "<span class='danger'>That book cannot be removed from the system, as it does not actually exist in the database.</span>")
return
var/sqlid = text2num(id)
@@ -142,7 +142,7 @@ var/global/list/library_section_names = list("Any", "Fiction", "Non-Fiction", "A
/obj/machinery/libraryscanner/attack_hand(var/mob/user as mob)
if(istype(user,/mob/dead))
user << "<span class='danger'>Nope.</span>"
to_chat(user, "<span class='danger'>Nope.</span>")
return
usr.set_machine(src)
var/dat = "<HEAD><TITLE>Scanner Control Interface</TITLE></HEAD><BODY>\n" // <META HTTP-EQUIV='Refresh' CONTENT='10'>