Converts all necessary << outputs into the to_chat() macro. (#6076)

This PR will lead us towards the Promised Day, for in its wake there shall be much celebration and ecstasy as this world becomes a world suitable for developer hegemony. The first strike is thusly;

All << is converted into to_chat().
This commit is contained in:
LordFowl
2019-03-10 17:39:03 -04:00
committed by Erki
parent 3ed56013c5
commit 8d436c4a03
994 changed files with 11356 additions and 11748 deletions
+5 -5
View File
@@ -26,7 +26,7 @@
if (machine)
machine.console = src
else
user << "<span class='warning'>ERROR: Linked machine not found!</span>"
to_chat(user, "<span class='warning'>ERROR: Linked machine not found!</span>")
return machine
@@ -53,7 +53,7 @@
return
if(!allowed(user))
user << "<span class='warning'>Access denied.</span>"
to_chat(user, "<span class='warning'>Access denied.</span>")
return
user.set_machine(src)
@@ -118,15 +118,15 @@
ping( "\The [src] pings, \"Point transfer complete! Transaction total: [points] points!\"" )
points = 0
else
usr << "<span class='warning'>[station_name()]'s mining division is currently indebted to NanoTrasen. Transaction incomplete until debt is cleared.</span>"
to_chat(usr, "<span class='warning'>[station_name()]'s mining division is currently indebted to NanoTrasen. Transaction incomplete until debt is cleared.</span>")
else
usr << "<span class='warning'>Required access not found.</span>"
to_chat(usr, "<span class='warning'>Required access not found.</span>")
else if(href_list["choice"] == "insert")
var/obj/item/weapon/card/id/I = usr.get_active_hand()
if(istype(I))
usr.drop_from_inventory(I,src)
inserted_id = I
else usr << "<span class='warning'>No valid ID.</span>"
else to_chat(usr, "<span class='warning'>No valid ID.</span>")
if(href_list["toggle_smelting"])