Deprecate the stream operator

This commit is contained in:
Arokha Sieyes
2020-02-12 17:26:44 -05:00
committed by Leshana
parent c8a8987610
commit 47ccc655db
762 changed files with 4492 additions and 4464 deletions

View File

@@ -40,10 +40,10 @@ Note: Must be placed within 3 tiles of the R&D Console
/obj/machinery/r_n_d/destructive_analyzer/attackby(var/obj/item/O as obj, var/mob/user as mob)
if(busy)
user << "<span class='notice'>\The [src] is busy right now.</span>"
to_chat(user, "<span class='notice'>\The [src] is busy right now.</span>")
return
if(loaded_item)
user << "<span class='notice'>There is something already loaded into \the [src].</span>"
to_chat(user, "<span class='notice'>There is something already loaded into \the [src].</span>")
return 1
if(default_deconstruction_screwdriver(user, O))
if(linked_console)
@@ -55,25 +55,25 @@ Note: Must be placed within 3 tiles of the R&D Console
if(default_part_replacement(user, O))
return
if(panel_open)
user << "<span class='notice'>You can't load \the [src] while it's opened.</span>"
to_chat(user, "<span class='notice'>You can't load \the [src] while it's opened.</span>")
return 1
if(!linked_console)
user << "<span class='notice'>\The [src] must be linked to an R&D console first.</span>"
to_chat(user, "<span class='notice'>\The [src] must be linked to an R&D console first.</span>")
return
if(!loaded_item)
if(isrobot(user)) //Don't put your module items in there!
return
if(!O.origin_tech)
user << "<span class='notice'>This doesn't seem to have a tech origin.</span>"
to_chat(user, "<span class='notice'>This doesn't seem to have a tech origin.</span>")
return
if(O.origin_tech.len == 0)
user << "<span class='notice'>You cannot deconstruct this item.</span>"
to_chat(user, "<span class='notice'>You cannot deconstruct this item.</span>")
return
busy = 1
loaded_item = O
user.drop_item()
O.loc = src
user << "<span class='notice'>You add \the [O] to \the [src].</span>"
to_chat(user, "<span class='notice'>You add \the [O] to \the [src].</span>")
flick("d_analyzer_la", src)
spawn(10)
update_icon()

View File

@@ -142,8 +142,8 @@ var/global/list/obj/machinery/message_server/message_servers = list()
/obj/machinery/message_server/attack_hand(user as mob)
// user << "<font color='blue'>There seem to be some parts missing from this server. They should arrive on the station in a few days, give or take a few CentCom delays.</font>"
user << "You toggle PDA message passing from [active ? "On" : "Off"] to [active ? "Off" : "On"]"
// to_chat(user, "<font color='blue'>There seem to be some parts missing from this server. They should arrive on the station in a few days, give or take a few CentCom delays.</font>")
to_chat(user, "You toggle PDA message passing from [active ? "On" : "Off"] to [active ? "Off" : "On"]")
active = !active
update_icon()
@@ -155,7 +155,7 @@ var/global/list/obj/machinery/message_server/message_servers = list()
spamfilter_limit += round(MESSAGE_SERVER_DEFAULT_SPAM_LIMIT / 2)
user.drop_item()
qdel(O)
user << "You install additional memory and processors into message server. Its filtering capabilities been enhanced."
to_chat(user, "You install additional memory and processors into message server. Its filtering capabilities been enhanced.")
else
..(O, user)

View File

@@ -168,7 +168,7 @@
add_fingerprint(usr)
usr.set_machine(src)
if(!allowed(usr) && !emagged)
usr << "<span class='warning'>You do not have the required access level</span>"
to_chat(usr, "<span class='warning'>You do not have the required access level</span>")
return
if(href_list["main"])
@@ -296,7 +296,7 @@
if(!emagged)
playsound(src.loc, 'sound/effects/sparks4.ogg', 75, 1)
emagged = 1
user << "<span class='notice'>You you disable the security protocols.</span>"
to_chat(user, "<span class='notice'>You you disable the security protocols.</span>")
src.updateUsrDialog()
return 1